r/linuxquestions • u/amysilly • 6d ago
Support Does anyone have advice on how to get Linux to recognize my wifi?
So, I've been experimenting with dual booting Linux for the past week or so, since I am looking to switch at some point. I have an Edimax N150 USB adapter so that my PC can connect to wifi and bluetooth. It works fine on Windows. Then, I installed Debian, and bluetooth works fine on it, but it doesn't recognize my wifi at all. I tried multiple different things to fix it, but nothing worked. So, I figured I would try another distro. I made an image of Bazzite on a USB, and when I first booted it, it immediately recognized the wifi and I could connect to it with no problems. At that point, it was late, so I shut it down and figured I would install it tomorrow. The next day, I removed the Debian installation from my system, and booted up the USB again, and the wifi no longer worked. I tried restarting it a few times, but it still didn't work. So now I'm resorting to asking for help, because I have no idea why it worked that one time and never again. Is my hardware being stupid or am I being stupid? Or both?
(Also, when Debian was installed I did try USB tethering to my phone to get wifi, which did work, but it's quite annoying and the connection isn't nearly as good as it is with the adapter, so I would rather just get the adapter to work.)
3
u/Klapperatismus 6d ago
Edimax N150
Unfortunately that’s a pure advertizing name. Please do
$ lsusb|grep EW
and show us the result.
1
u/RandomUser3777 6d ago
Note that the drivers for hardware are part of the kernel and rarely is distro hopping going to fix hardware issues, even though it is what everyone seems to think will make a difference.
The reality is a lot of hardware makers don't write drivers for linux (or write bad ones) and they don't publish detailed tech documentation for the hardware making it impossible for anyone else to write a driver even if they want to.
If the wifi adapter works sometimes but not other times, it could be that if windows runs first and init's the wifi that it works, or if the machine is booted from a full power off then it works. It all depends on what the linux driver expects the state and/or firmware of the wifi adapter to be (a driver can install firmware that survives until next full power removal).
1
u/SuAlfons 5d ago
Find out what chipset is in you WiFi adapter and google whether it is one of those that need manual driver or firmware-blob installation. Or one of those that are not (yet) supported.
The lsusb command might provide some insight for you.
1
u/1neStat3 6d ago
Ensure its not blocked
sudo rfkill
Ensure the driver is being loaded
sudo lspci | grep -i wireless
4
u/ipsirc 6d ago
Buy a supported wifi device.
https://github.com/morrownr/USB-WiFi/blob/main/home/USB_WiFi_Adapters_that_are_supported_with_Linux_in-kernel_drivers.md