我正在关注指示(说明包含在 zip 中)来编译 TP-Link ac600 无线适配器的驱动程序,但在执行时出现此错误sudo make
make[3]: *** [/home/jonas/Documents/tplinkac600driver/Archer_T2U_V1_150901 /Driver/UTIL/os/linux/../../os/linux/rt_usb_util.o] Error 1 Makefile:1524: recipe for target '_module_/home/jonas/Documents/tplinkac600driver/Archer_T2U_V1_150901/Driver/UTIL/os/linux' failed make[2]: *** [_module_/home/jonas/Documents/tplinkac600driver/Archer_T2U_V1_150901/Driver/UTIL/os/linux] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-4.10.0-38-generic' Makefile:527: recipe for target 'osutil' failed make[1]: *** [osutil] Error 2 make[1]: Leaving directory '/home/jonas/Documents/tplinkac600driver/Archer_T2U_V1_150901/Driver/UTIL' Makefile:3: recipe for target 'all' failed make: *** [all] Error 2
lsusb
输出:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 174f:14e8 Syntek
Bus 001 Device 006: ID 148f:761a Ralink Technology, Corp.
Bus 001 Device 003: ID 8087:0a2a Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lsmod
输出:
Module Size Used by
mt7610u 638976 0
iwconfig
:
enp9s0 no wireless extensions.
lo no wireless extensions.
wlp8s0 IEEE 802.11 ESSID:"cisco"
Mode:Managed Frequency:2.412 GHz Access Point: 4C:00:82:DF:DF:94
Bit Rate=72.2 Mb/s Tx-Power=22 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=53/70 Signal level=-57 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:76 Missed beacon:0
答案1
根据我的同事@heynnema的建议,让我们尝试一下,使用临时的互联网连接:
sudo apt update && sudo apt install -y git
git clone https://github.com/ulli-kroll/mt7610u.git
cd mt7610u
make
sudo make installfw
sudo insmod mt7610u.ko
我们焦急地等待您的好消息。