networking – ‘Wi-Fi adapter not found please make sure your Wi-Fi adapter is plugged in”

So I once installed ubuntu on my laptop as a dual boot with windows 10. But when I open ubuntu for some reason I can’t connect to Wi-Fi… It says “No Wi-Fi adapter found please make sure you have a Wi-Fi adapter plugged in and turned on”. But when I open Windows Wi-Fi works perfectly fine. So if anybody could help that would be great.

                  -Things I tried-
           1. Disabling secure boot
           2. Updating drivers/reinstalling (using synaptic)
           3. Running codes through the terminal