MX Linux: how to enable wi-fi
by Ranyel from LinuxQuestions.org on (#5QCZY)
I just installed MX 19.4 Patito Feo on a laptop and quickly ran into wireless issues. I was able to connect to my home wi-fi network right away, but after I restarted the computer, NetworkManager displayed wi-fi as "disconnected". There seems to be nothing that I can do to turn networking back on. Here are some of the things that I've tried:
- The GUI for NetworkManager features an "Enable Wi-Fi" check-box, but clicking it does nothing.
Code:sudo lspcitells me that I actually do have a wireless card and that Linux recognizes it. Of course, since I had wi-fi earlier, that's redundant as proof, but it's still useful to know.
Code:sudo nmcli radio wifiyields a result of "disabled", and running
Code:sudo nmcli radio wifi ondoes not change the result.
- One blog suggestion that I found was to enter:
Code:echo "blacklist hp_wmi" | sudo tee /etc/modprobe.d/hp.conf
sudo rfkill unblock allwhich did nothing for me.
- Another suggestion was to modify the /etc/network/interfaces file to contain this:
Code:auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
wpa-essid myssid
wpa-psk mypasscodeand then to run:
Code:sudo ifdown wlan0 && sudo ifup -v wlan0No results there, either, except multiple messages reading "Network is down".
- Entering:
Code:nmcli dev statusyielded:
Code:DEVICE TYPE STATE CONNECTION
eth0 ethernet unavailable --
wlan0 wifi unavailable --
lo loopback unmanaged --I only mention this because I've noticed that the "unavailable" state is very uncommon. The blog that suggested this command showed either "connected" or "disconnected" for most devices, and I noticed the same thing on my other computer.
- The results of
Code:iwconfigare interesting as well:
Code:eth0 no wireless extensions.
lo no wireless extensions.
wlan0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=off
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:offDoes that "Tx-Power" thing mean that the wireless card isn't even receiving power? If so, how can I change that? And if not, is there anything else I might try? Any suggestions would be greatly appreciated.
- The GUI for NetworkManager features an "Enable Wi-Fi" check-box, but clicking it does nothing.
Code:sudo lspcitells me that I actually do have a wireless card and that Linux recognizes it. Of course, since I had wi-fi earlier, that's redundant as proof, but it's still useful to know.
Code:sudo nmcli radio wifiyields a result of "disabled", and running
Code:sudo nmcli radio wifi ondoes not change the result.
- One blog suggestion that I found was to enter:
Code:echo "blacklist hp_wmi" | sudo tee /etc/modprobe.d/hp.conf
sudo rfkill unblock allwhich did nothing for me.
- Another suggestion was to modify the /etc/network/interfaces file to contain this:
Code:auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
wpa-essid myssid
wpa-psk mypasscodeand then to run:
Code:sudo ifdown wlan0 && sudo ifup -v wlan0No results there, either, except multiple messages reading "Network is down".
- Entering:
Code:nmcli dev statusyielded:
Code:DEVICE TYPE STATE CONNECTION
eth0 ethernet unavailable --
wlan0 wifi unavailable --
lo loopback unmanaged --I only mention this because I've noticed that the "unavailable" state is very uncommon. The blog that suggested this command showed either "connected" or "disconnected" for most devices, and I noticed the same thing on my other computer.
- The results of
Code:iwconfigare interesting as well:
Code:eth0 no wireless extensions.
lo no wireless extensions.
wlan0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=off
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:offDoes that "Tx-Power" thing mean that the wireless card isn't even receiving power? If so, how can I change that? And if not, is there anything else I might try? Any suggestions would be greatly appreciated.