I have an HP Pavilion 15-n201nr Notebook PC which appears to be stuck in airplane mode under any version of Linux I install. (I have tried Ubuntu 19.04, 18.04, and Fedora Workstation 30.) This is definitely not a hardware issue as Windows 10 is also (necessarily) on the machine in a dual boot configuration. Under Windows 10, the Wifi is fully functional and can be switched on and off, at will, via the F12 key on the keyboard. This is highly perplexing to me because, a couple of years ago, I had a version of Linux Mint installed that was able to utilize the Wifi without any problem.
I have tried several techniques to fix this problem but nothing seems to be working. I am running out of ideas and really need some help.
Based on advice from other posts, here are the approaches I have tried thus far:
Approach 1: Use rfkill to unblock wifi
I tried the following steps.
sudo rfkill list all
I see something like
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
sudo rfkill unblock wifi
or, optionally...
sudo rfkill unblock all
Press wireless button. (On the HP Pavilion, this is F12.)
Whenever I press a function key on the HP Pavilion, it always displays a little black panel with some text annotation referencing the key being pressed. When I press F12, whcih controls Wifi, it does pop up the little panel with the message "Harwdware Airplane...", which indicates it is receiving the keypress, but nothing changes.
Then check the status again with...
sudo rfkill list all
... and, I still have
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
The result is always the same. It still shows as being hardware blocked.
Approach 2: Blacklist hp_wmi
I attempt to see if the hp_wmi module is loaded and then remove (blacklist) the same.
sudo lsmod | grep wmi
On Fedora I got ...
hp_wmi 16384 0
sparse_keymap 16384 1 hp_wmi
rfkill 28672 5 hp_wmi,cfg80211
wmi_bmof 16384 0
wmi 36864 2 hp_wmi,wmi_bmof
On Ubuntu 19.04, I get
snd_rawmidi 36864 1 snd_seq_midi
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
snd 81920 19 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
hp_wmi 16384 0
sparse_keymap 16384 1 hp_wmi
wmi_bmof 16384 0
wmi 28672 2 hp_wmi,wmi_bmof
So, I try to kill the hp_wmi
sudo modprobe -r hp_wmi
Afterwards, I have ...
snd_rawmidi 36864 1 snd_seq_midi
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
snd 81920 19 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
wmi_bmof 16384 0
wmi 28672 1 wmi_bmof
I also added hp_wmi to the /etc/modprobe.d/blacklist.conf
file. (I am recalling the filename from memory, but I did add it to whatever blacklist.conf
file existed.) Blacklisting did not work either.
After rebooting to restart the services, I find the issue is still there, and there is no Wifi.
More Specifics on the Machine
- HP Pavilion 15-n201nr Notebook PC
- Product Number: F5Y75UAR#ABA
- System Board: 216F
- BIOS: F.20 A
- Wifi: Internal Realtek RT3270
https://support.hp.com/us-en/document/c04030181
What can I possibly do to get Wifi working on this laptop? Any help is greatly appreciated.