I just bought a wireless adapter USB from ASUS. It's called ASUS USB-AC51 (Wireless-AC600).
I've installed the drivers from https://dlcdnets.asus.com/pub/ASUS/wireless/USB-AC51/DR_USB_AC51_V1013.zip .
I extracted the .tar file, went to Linux folder, extracted again and after following "Quick Start DPO.txt" I just blocked at some point. When I ran Makefile with "make", I got an error which is fixed by changing SUBDIRS with M (I saw this on a forum). This error got fixed.
After this I started to get errors for files. The "make" command was trying to search ".o" files. I went to these directiories and saw the name of the files, but with ".c", so I just renamed them from ".c" to ".o".
Now, I've got to a point where the program is searching for "mt7650u_sta.o" in /os/linux/, but that file is not there. As well, it doesn't recognize a file I changed from ".c" to ".o", more exactly "sta_cfg.o" from /os/linux/.
The error looks like this:
/home/hakju/Documents/AC51/ASUS_USB-AC51_V1.0.1.3_09212015/Linux/mt7610u_wifi_sta_v3001_dpo_20130725/os/linux/../../sta/sta_cfg.o: file not recognized: file format not recognized
make[2]: *** [scripts/Makefile.build:440: /home/hakju/Documents/AC51/ASUS_USB-AC51_V1.0.1.3_09212015/Linux/mt7610u_wifi_sta_v3001_dpo_20130725/os/linux/mt7650u_sta.o] Error 1
make[1]: *** [Makefile:1849: /home/hakju/Documents/AC51/ASUS_USB-AC51_V1.0.1.3_09212015/Linux/mt7610u_wifi_sta_v3001_dpo_20130725/os/linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.11.0-40-generic'
make: *** [Makefile:394: LINUX] Error 2
What should I do?
I have Ubuntu 20.04, kernel 5.11.0-40-generic.
lsusb:
Bus 001 Device 014: ID 0b05:17d1 ASUSTek Computer, Inc. AC51 802.11a/b/g/n/ac Wireless Adapter [Mediatek MT7610U]
modinfo mt76x0u | grep 17D1:
alias: usb:v0B05p17D1d*dc*dsc*dp*ic*isc*ip*in*
sudo dmesg | grep mt7: https://pastebin.com/jnnB75Pu (is too long to be added here)