[SOLVED] Wifi is disabled or possibly hard blocked on Lenovo - RHEL 7

Latest response

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