Score:2

No wifi Networks found on Ubuntu 20.04.3 LTS

in flag

Preface : I had "No wifi adapter found" issue on my pc. I asked No wifi adapter found on Ubuntu 20.04.3 LTS, & the answer chili555 given was working fine.

Today after a restart, I am encountering a new issue. Now, wifi is enabled but it can't find any wifi networks. (though USB-Tethering works). The kernel version is 5.13.0-27-generic

  1. Output of iwconfig :
lo        no wireless extensions.
usb0      no wireless extensions.
wlp1s0    IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=3 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
docker0   no wireless extensions.
  1. sudo lshw -C network :
  *-network                 
       description: Wireless interface
       product: MEDIATEK Corp.
       vendor: MEDIATEK Corp.
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: wlp1s0
       version: 00
       serial: c8:94:02:c1:7a:7b
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=mt7921e driverversion=5.13.0-27-generic firmware=____010000-20211014150922 latency=0 link=no multicast=yes wireless=IEEE 802.11
       resources: irq:88 memory:e0300000-e03fffff memory:e0400000-e0403fff memory:e0404000-e0404fff
  *-network
       description: Ethernet interface
       physical id: 1
       bus info: usb@1:2
       logical name: usb0
       serial: 82:75:76:11:9e:70
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=rndis_host driverversion=5.13.0-27-generic duplex=half firmware=RNDIS device ip=192.168.42.130 link=yes multicast=yes port=twisted pair

  1. rfkill list all :
0: hci0: Bluetooth
    Soft blocked: yes
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

  1. sudo iwlist scan:
lo        Interface doesn't support scanning.
usb0      Interface doesn't support scanning.
wlp1s0    No scan results
docker0   Interface doesn't support scanning.

  1. lspci -nnk | grep 0280 -A3:
01:00.0 Network controller [0280]: MEDIATEK Corp. Device [14c3:0608]
    Subsystem: MEDIATEK Corp. Device [14c3:0608]
    Kernel driver in use: mt7921e
    Kernel modules: mt7921e

  1. sudo dmesg | grep mt7:
[    3.629484] mt7921e 0000:01:00.0: enabling device (0000 -> 0002)
[    3.629700] mt7921e 0000:01:00.0: disabling ASPM  L1
[    3.629746] mt7921e 0000:01:00.0: ASIC revision: 79610010
[    3.712374] mt7921e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20211014150838a
[    3.724385] mt7921e 0000:01:00.0: WM Firmware Version: ____010000, Build Time: 20211014150922
[    3.754924] mt7921e 0000:01:00.0: Firmware init done
[    5.326846] mt7921e 0000:01:00.0 wlp1s0: renamed from wlan0

I have also tried sudo apt-get install --reinstall network-manager, sudo systemctl restart network-manager.service, sudo /etc/init.d/network-manager force-reload, Reboot mutiple times. But No luck !!

Someone avatar
my flag
Please post the output of `lspci -nnk | grep 0280 -A3` and `uname -r`. Welcome to Ask Ubuntu!
Arnob Saha avatar
in flag
Hi @Someone, I have added those output on my post.
Someone avatar
my flag
Hmmm, interesting. Seems like your device is new, is it? We've many questions regarding MediaTek 7000+ won't work on 20.04. So, I'd recommend upgrading to Ubuntu 21.10 with kernel 5.16. That's probably the best option there.
Arnob Saha avatar
in flag
Yes, my device is relatively new. Thanks for the recommendation. But, Isn't there any way to solve this issue for now ?
Someone avatar
my flag
Actually, the device only works on kernel 5.15 or above (disclaimer: I have the same card as you). But you won't be able to install 5.15 on 20.04.
chili555 avatar
cn flag
Please verify that *both* of the udev files are present as described in the link you gave to my answer and that htere are no typos. Also, are there any clues in the log? `sudo dmesg | grep mt7`
Jeremy31 avatar
ke flag
In terminal try `sudo iwconfig wlp1s0 power off && sudo iwconfig wlp1s0 txpower 18` or try my answer at https://askubuntu.com/a/1377785/300665
Arnob Saha avatar
in flag
Hi @chili555. I had already checked those files twice before posting this new question here. The output has been added to the post.
Arnob Saha avatar
in flag
@Jeremy31 I have tried the `iwconfig` command you have given, But nothing changes. When I ran `sudo apt install build-essential flex bison` of your link, My terminal outputs `Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 120`. May be this is because , `do-release-upgrade` command is running as `Someone` said in his answer.
Jeremy31 avatar
ke flag
Might need a reboot to be able to get the lock
Arnob Saha avatar
in flag
Hey @Jeremy31 , After following your instructions, now everything gets messed up. Even my USB tethering is not working now. please help
Jeremy31 avatar
ke flag
In terminal `cd backports-5.15-rc6-1 && sudo make uninstall` Then reboot
Arnob Saha avatar
in flag
Let us [continue this discussion in chat](https://chat.stackexchange.com/rooms/133648/discussion-between-arnob-saha-and-jeremy31).
Arnob Saha avatar
in flag
@OliverLau Are you giving my question link to me ? what !!
Score:1
my flag

You are using a relatively new and modern Wi-Fi adapter. As far as I know, this adapter doesn't work with the kernel version lower than 5.14. However, kernel 5.15.7+ is not installable on Ubuntu 20.04 LTS. If we look at kernel 5.14, it's EOL. So unfortunately, you cant use your Wi-Fi adapter with 20.04! You've to perform a fresh install of 21.10 (or upgrade using sudo do-release-upgrade) and follow the steps in my this answer and install kernel 5.16.

I'm using the same Wi-Fi adapter as you.

Pilot6 avatar
cn flag
What do you mean by "kernel 5.15.7+ is not installable on Ubuntu 20.04 LTS"?
Someone avatar
my flag
It's because of the libc6 dependency. @Pilot6 see the link mentioned in my answer
Arnob Saha avatar
in flag
Hello @Someone, I have tried the steps from your given link.. But my kernel version didn't upgrade. Output of the commands :: https://go.dev/play/p/uY_3XaucA-v . When restarting, It enforces me to choose a kernel version between i) 5.16 ii) 5.16 (recovery mode) iii) 5.13 iv) 5.13(recovery mode). Choosing first 2 option does nothing. So I had to choose 5.13 kernel version. Can you please help me in this issue ?
Score:1
ke flag

In terminal do

sudo ifconfig wlp1s0 up
sudo iwconfig wlp1s0 power off
sudo iwconfig wlp1s0 txpower 18

That is what we did in chat to get it running, https://chat.stackexchange.com/rooms/133648/discussion-between-arnob-saha-and-jeremy31

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.