[SOLVED] Wifi is disabled or possibly hard blocked on Lenovo - RHEL 7
I've spent days on trying to get my wireless to work on my Lenovo Legion Y720. I am unable to understand why it's not working when the drivers are detected at boot using dmesg:
[ 16.089403] iwlwifi 0000:02:00.0: loaded firmware version 21.302800.0 op_mode iwlmvm
[ 16.105606] iwlwifi 0000:02:00.0: Detected Intel(R) Dual Band Wireless AC 8265, REV=0x230
[ 16.107786] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
[ 16.108187] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled
iwconfig
lists:
wlp2s0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
lo no wireless extensions.
virbr0-nic no wireless extensions.
virbr0 no wireless extensions.
enp7s0 no wireless extensions.
I am also running the latest NetworkManager
and NetworkManager-wifi
:
NetworkManager-1.4.0-20.el7_3.x86_64
NetworkManager-wifi-1.4.0-20.el7_3.x86_64
lspci | grep Network :
02:00.0 Network controller: Intel Corporation Device 24fd (rev 78)
The rfkill list all
command shows:
0: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: yes
1: ideapad_bluetooth: Bluetooth
Soft blocked: no
Hard blocked: yes
2: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
3: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
lshw -C network
for the disabled wireless shows the following:
*-network DISABLED
description: Wireless interface
product: Intel Corporation
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 78
serial: 86:2e:60:12:1b:1c
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=3.10.0-514.21.1.el7.x86_64 firmware=21.302800.0 latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:136 memory:94000000-94001fff
cat /var/lib/NetworkManager/NetworkManager.state
gives me:
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
The contents of my /etc/NetworkManager/NetworkManager.conf file are:
[main]
plugins=ifcfg-rh
Any help would be much appreciated,
thx
EDIT: SOLUTION:
Had to blacklist ideapad_laptop
kernel module and reboot:
sudo tee /etc/modprobe.d/blacklist-ideapad.conf <<< "blacklist ideapad_laptop"
I guess a hard block can be caused by multiple modules and/or firmware trying to use the same device.
Original forum where I found the solution: https://askubuntu.com/questions/893384/wifi-doesnt-work-on-fresh-ubuntu-16-04
Responses
I'd guess Hard blocked: yes
means the physical WiFi switch on the laptop is set to disable WiFi.
Some laptops have an actual hardware toggle switch or button. Some laptops make you press the Fn key and another keyboard key. The button might look like some radio signals or a satellite dish or whatever the vendor thinks looks like radio or wireless.
Looking at a picture of the keyboard, how about Fn+F7 which looks to be Airplane Mode?
Do you mean the "Enable Networking" when you right click on the NetworkManager icon? I expect that's a different thing to the physical Airplane Mode switch.
Support for 8265 wireless was added in RHEL 7.3 and tested okay by Red Hat QE and the OEM partner who made the driver update request, so make sure you've got kernel-3.10.0-514.el7
or later and the most recent iwl7265-firmware-22.0.7.0-49.el7
package. The firmware needs to be -46.el7
or later, earlier firmware packages won't work.
If you have no luck there, I'd try either the latest ELRepo kernel-ml
package or a Fedora 26 beta LiveUSB, just to see if the later kernel allows that Airplane Mode switch to change something.