I bought this generic wifi adapter which has MT7601U wifi chip inside it, it doesn’t work on my Ubuntu server 22.04 OS
But the adapter works fine out of the box on my twisterOS installation
Am i missing something? I found a post online and it says the adapter is supposed to work just fine from 16.04 and onwards since the drivers are included in kernel 4.2+
Does Ubuntu server not include all the wifi adapters drivers in it, or is it removed?
(all related images in the link below)
https://i.stack.imgur.com/VAMy6.jpg
I also tried following this guide Ralink MT7601U (148f:7601) Wi-Fi adapter installation
but when i run the make
command from:
sudo apt-get install linux-headers-generic build-essential git
git clone https://github.com/art567/mt7601usta.git
cd mt7601usta/src
make
sudo make install
sudo mkdir -p /etc/Wireless/RT2870STA/
sudo cp RT2870STA.dat /etc/Wireless/RT2870STA/
sudo modprobe mt7601Usta
i get this error:
/bin/sh: 1: flex: not found
make[3]: *** [scripts/Makefile.host:9: scripts/kconfig/lexer.lex.c] Error 127
make[2]: *** [Makefile:622: syncconfig] Error 2
make[1]: *** [Makefile:735: include/config/auto.conf.cmd] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-1011-raspi'
make: *** [Makefile:419: LINUX] Error 2
is it because i am using an arm device (raspberry pi) than an x86 one?
also by running
uname -srm
i get:
Linux 5.15.0-1011-raspi aarch64
sudo modprobe mt7601u
Welcome to Ask Ubuntu. – chili555 Jul 09 '22 at 20:03modprobe: FATAL: Module mt7601u not found in directory /lib/modules/5.15.0-1011-raspi
– stormfire Jul 10 '22 at 05:22