Score:1

Rasberry Pi 4B: Wifi adapter is detected in lsusb but not shows up as wlan1 (mt7612u)

co flag

The USB connection is detected as shown in dmesg belows:

[ 1106.391415] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
[ 1106.416995] usb 2-1: New USB device found, idVendor=0e8d, idProduct=7612, bcdDevice= 1.00
[ 1106.417027] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 1106.417041] usb 2-1: Product: Wireless 
[ 1106.417053] usb 2-1: Manufacturer: MediaTek Inc.
[ 1106.417064] usb 2-1: SerialNumber: 000000000

However in iwconfig, it is not there:

lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11  Mode:Master  Tx-Power=31 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on

Here is my uname -a: Linux pi 5.15.0-1023-raspi #25-Ubuntu SMP PREEMPT Fri Jan 6 17:33:55 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

FYI, It was working properly in 18.04 before I upgraded it to 22.04.

Edited:

sudo modprobe mt76x2u && sudo dmesg | grep mt76:

modprobe: FATAL: Module mt76x2u not found in directory /lib/modules/5.15.0-1023-raspi

sudo dpkg -s linux-modules-extra-$(uname -r) | grep Status:

dpkg-query: package 'linux-modules-extra-5.15.0-1023-raspi' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
chili555 avatar
cn flag
Please edit your question to add the result of the terminal command: `sudo modprobe mt76x2u && sudo dmesg | grep mt76` Welcome to Ask Ubuntu.
Adisorn Panasawatwong avatar
co flag
@chili555 I have added the result of that command.
chili555 avatar
cn flag
Please reboot and then add: `sudo dpkg -s linux-modules-extra-$(uname -r) | grep Status`
Adisorn Panasawatwong avatar
co flag
@chili555 Done, it seems I need to install that extra modules?
chili555 avatar
cn flag
Yes. Do you have any connectivity at all? Ethernet? Tethering??
Adisorn Panasawatwong avatar
co flag
@chili555 I have the Ethernet. I used `sudo apt-get install linux-modules-extra-raspi` and now in iwconfig it shows `wlx00c0cab0216d`. I will try to see if I can put that up to work.
Adisorn Panasawatwong avatar
co flag
@chili55 I used `sudo ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules` to fix the name to wlan1. I hope that that is okay to do? Besides that everthing works now. Thank you!
chili555 avatar
cn flag
I am unsure about the rules question. If it is working as expected, that's all you need. Glad it's working.
Score:2
co flag

according to @chili555 's help

To solve the problem, just use sudo apt-get install linux-modules-extra-raspi to install the modules that contain drivers for the wifi adapter.

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.