Wifi Issue With Ubuntu (Airplane mode turn off from hardware button )

I can’t use my wi-fi because it is turned off because of airplane mode. And i dual booted ubuntu with windows last week everything in windows os is working fine perfectly

i tried various pressing f12 key with and without combination with fn and n

and things like nmcli radio all on off

os ubuntu 20.04.2 LTS

kernel 5.8.0-55-generic

09:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe

rfkill list all

0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes

I tried a lot of times to unblock all but nothing happened and i couldn’t select Wireless separate

I tried sudo ifonfig wlan0 up although after ifconfig there is no option of wlan0

CPU: Dual Core Intel Core i3-4005U (-MT MCP-)

Network:
Device-1: Realtek RTL810xE PCI Express Fast Ethernet
driver: r8169
Device-2: Ralink RT3290 Wireless 802.11n 1T/1R PCIe
driver: rt2800pci

I tried installing diffrent drivers too but nothing happened
like lwfinger rtw88 and rtl… somthing

I tried resetting my bios to default my disk is mbr and legacy bios

even i tried a trick of removing battery pressing power button for a while and pressing airplane button

my wifi is working perfectly is windows no problem of wireless airplane mode or bluetooth everything is fine

i am frustrated guys please help me out i literally went everywhere

for asking help

Please help me

Had the same issue back in the time i was in unbunun.
I was able to fix that… as far as i remember but how … i don’t remember

share output of the following commands

rfkill list all
rfkill ublock all
lspci -nn | grep 0280
ifconfig

exact terminal outputs please

reinstall the drivers… share each and every possible output… can’t play guessing game… share output we might debug it together

rfkill list all
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes

rfkill unblock all

after doing this

rfkill list all
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes

lspci -nn | grep 0280
09:00.0 Network controller [0280]: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe [1814:3290]

ifconfig

enp8s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 3c:a8:2a:7b:45:bc 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
loop txqueuelen 1000 (Local Loopback)
RX packets 1282 bytes 101734 (101.7 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1282 bytes 101734 (101.7 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

buddy i tried to install driver from lwfinger rtw88 and i installed but nothing happened :frowning: