Linux noob here. Fresh installed Ubuntu 20.04. Trying to get my wireless adapter to work (https://www.tp-link.com/us/support/download/archer-t2uhp/#Driver).
I tried tons of suggestions found online but none worked, I'm sorry i didn't document them all but a few i did: One of the last thing i found was https://www.myria.de/computer/1308-tp-link-archer-t2u-ac600-unter-linux-nutzen , which if google translator doesn't let me down, says driver should be included in kernel 5.0? although I'm not sure how that works.
I also found Problems configuring my usb ac051 wifi adapter, but after running "sudo dkms install mt7610u/1" (in the last part of the answer) i get.
Building module:
cleaning build area...
'make' all KVER=5.8.0-38-generic...(bad exit status: 2)
ERROR (dkms apport): binary package for mt7610u: 1 not found
Error! Bad return status for module build on kernel: 5.8.0-38-generic (x86_64)
Consult /var/lib/dkms/mt7610u/1/build/make.log for more information.
lsusb
Bus 002 Device 003: ID 0781:5591 SanDisk Corp. Ultra Flair
Bus 002 Device 006: ID 2357:010b TP-Link
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
thanks
after running as suggested by jeremy sudo sed -i 's/0105/010b/' /lib/modules/$(uname -r)/kernel/drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0u.ko
sudo depmod -a
seba@Loldserv:~/src$ sudo sed -i 's/0105/010b/' /lib/modules/$(uname -r)/kernel/drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0u.ko
seba@Loldserv:~/src$ sudo depmod -a
there was no feedback in console and the last command seems to be waiting for another imput. Anyway i tried again the steps in his other post i cited but keep getting the error thats up here.
also checked make.log, content below, not sure if i sould run what is says there,or where to run it.
DKMS make.log for mt7610u-1 for kernel 5.8.0-38-generic (x86_64)
dom 17 ene 2021 19:43:30 -03
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.8.0-38-generic/build M=/var/lib/dkms/mt7610u/1/build modules
make[1]: Entering directory '/usr/src/linux-headers-5.8.0-38-generic'
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
make[1]: *** [Makefile:746: include/config/auto.conf] Error 1
make[1]: Leaving directory '/usr/src/linux-headers-5.8.0-38-generic'
make: *** [Makefile:374: modules] Error 2