akash-karnatak
February 8th, 2021, 01:10 PM
I have been using Ubuntu and Windows dual boot for over an year now on my HP laptop with Ralink RT3290 wireless card. My wifi worked out of the box on both Windows and Ubuntu. A few days back I decided to update my BIOS from F.18 to F.45 version. After this update my wifi was hard blocked on Ubuntu, although it still worked on Windows. It was even hard blocked on other linux live usbs.
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
I have tried almost every possible solution that have been posted on the internet. Things that I have tried:-
Toggling physical wifi switch.
sudo rfkill unblock all
Disabling fast boot on windows.
Turning on/off wifi on windows and then trying it on linux.
Disabling `turn off wifi to save power` in windows.
Checking `sudo dmesg` for any errors related to the wifi and wifi driver `rt2800pci`
All these things on Ubuntu 16.04, 18.04, 20.4 and Arch linux live usb.
Resetting the BIOS. Also my BIOS does not have any option to enable/disable wifi.
Updating the kernel to 5.9.0
Black listing hp_wireless and toggling physical wifi switch, black listing hp_wmi and then toggling physical wifi switch. And all possible combination of black listing the above two modules.
After power off, removing battery, power cord and then holding power button for 1 min. Then putting back the battery, power cord and trying wifi on linux.
Pray to the lord to do a miracle.
But nothing worked. What should I do now?
Some useful information,
$ sudo lshw -C network
*-network
description: Ethernet interface
product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:08:00.0
logical name: enp8s0
version: 07
serial: 34:64:a9:7c:f9:c3
size: 10Mbit/s
capacity: 100Mbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8106e-1_0.0.1 06/29/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:18 ioport:4000(size=256) memory:b5600000-b5600fff memory:b5400000-b5403fff
*-network DISABLED
description: Wireless interface
product: RT3290 Wireless 802.11n 1T/1R PCIe
vendor: Ralink corp.
physical id: 0
bus info: pci@0000:0a:00.0
logical name: wlp10s0f0
version: 00
serial: 38:b1:db:0e:c2:49
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rt2800pci driverversion=4.18.0-15-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:16 memory:b5510000-b551ffff
*-network
description: Ethernet interface
physical id: 3
logical name: enp0s20u1
serial: e6:10:d3:c4:ce:c1
capabilities: ethernet physical
configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device link=yes multicast=yes
$ ifconfig
enp0s20u1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 2402:3a80:915:c061:bd59:fca6:7c0e:f4ba prefixlen 64 scopeid 0x0<global>
inet6 2402:3a80:915:c061:847b:1ace:7982:c38b prefixlen 64 scopeid 0x0<global>
inet6 fe80::8a40:3adf:c7b3:4023 prefixlen 64 scopeid 0x20<link>
ether e6:10:d3:c4:ce:c1 txqueuelen 1000 (Ethernet)
RX packets 69289 bytes 55005112 (55.0 MB)
RX errors 30 dropped 0 overruns 0 frame 30
TX packets 58525 bytes 11380820 (11.3 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp8s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 34:64:a9:7c:f9:c3 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 7850 bytes 934318 (934.3 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 7850 bytes 934318 (934.3 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
$ iwconfig
lo no wireless extensions.
wlp10s0f0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=off
Retry short long limit:2 RTS thr:off Fragment thr:off
Power Management:off
enp0s20u1 no wireless extensions.
enp8s0 no wireless extensions.
$ sudo uname -a
Linux ubuntu 4.18.0-15-generic #16~18.04.1-Ubuntu SMP Thu Feb 7 14:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
$ sudo dmesg
https://paste.ubuntu.com/p/tSwhQ2XW2G/
I am speculating that rt2800pci is not compatible with my new BIOS version and I need a different driver. I tried building rt3290sta driver but coundn't do it.
Help :'(
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
I have tried almost every possible solution that have been posted on the internet. Things that I have tried:-
Toggling physical wifi switch.
sudo rfkill unblock all
Disabling fast boot on windows.
Turning on/off wifi on windows and then trying it on linux.
Disabling `turn off wifi to save power` in windows.
Checking `sudo dmesg` for any errors related to the wifi and wifi driver `rt2800pci`
All these things on Ubuntu 16.04, 18.04, 20.4 and Arch linux live usb.
Resetting the BIOS. Also my BIOS does not have any option to enable/disable wifi.
Updating the kernel to 5.9.0
Black listing hp_wireless and toggling physical wifi switch, black listing hp_wmi and then toggling physical wifi switch. And all possible combination of black listing the above two modules.
After power off, removing battery, power cord and then holding power button for 1 min. Then putting back the battery, power cord and trying wifi on linux.
Pray to the lord to do a miracle.
But nothing worked. What should I do now?
Some useful information,
$ sudo lshw -C network
*-network
description: Ethernet interface
product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:08:00.0
logical name: enp8s0
version: 07
serial: 34:64:a9:7c:f9:c3
size: 10Mbit/s
capacity: 100Mbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8106e-1_0.0.1 06/29/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:18 ioport:4000(size=256) memory:b5600000-b5600fff memory:b5400000-b5403fff
*-network DISABLED
description: Wireless interface
product: RT3290 Wireless 802.11n 1T/1R PCIe
vendor: Ralink corp.
physical id: 0
bus info: pci@0000:0a:00.0
logical name: wlp10s0f0
version: 00
serial: 38:b1:db:0e:c2:49
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rt2800pci driverversion=4.18.0-15-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:16 memory:b5510000-b551ffff
*-network
description: Ethernet interface
physical id: 3
logical name: enp0s20u1
serial: e6:10:d3:c4:ce:c1
capabilities: ethernet physical
configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device link=yes multicast=yes
$ ifconfig
enp0s20u1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 2402:3a80:915:c061:bd59:fca6:7c0e:f4ba prefixlen 64 scopeid 0x0<global>
inet6 2402:3a80:915:c061:847b:1ace:7982:c38b prefixlen 64 scopeid 0x0<global>
inet6 fe80::8a40:3adf:c7b3:4023 prefixlen 64 scopeid 0x20<link>
ether e6:10:d3:c4:ce:c1 txqueuelen 1000 (Ethernet)
RX packets 69289 bytes 55005112 (55.0 MB)
RX errors 30 dropped 0 overruns 0 frame 30
TX packets 58525 bytes 11380820 (11.3 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp8s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 34:64:a9:7c:f9:c3 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 7850 bytes 934318 (934.3 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 7850 bytes 934318 (934.3 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
$ iwconfig
lo no wireless extensions.
wlp10s0f0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=off
Retry short long limit:2 RTS thr:off Fragment thr:off
Power Management:off
enp0s20u1 no wireless extensions.
enp8s0 no wireless extensions.
$ sudo uname -a
Linux ubuntu 4.18.0-15-generic #16~18.04.1-Ubuntu SMP Thu Feb 7 14:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
$ sudo dmesg
https://paste.ubuntu.com/p/tSwhQ2XW2G/
I am speculating that rt2800pci is not compatible with my new BIOS version and I need a different driver. I tried building rt3290sta driver but coundn't do it.
Help :'(