2

I'm following the instructions(the instructions are included in the zip) to compile the driver for the TP-Link ac600 wireless adapter but I get this error when executing 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 output:

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 output:

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

Ouput of all commands: https://i.stack.imgur.com/I254W.jpg

DreamsInHD
  • 131
  • 1
  • 4
  • 1
    Please note that the download page says: "Linux (Kernel version 2.6~3.16)." You are running the much newer kernel version 4.10. This antique will never compile. Let's see if we can find a better way. Please edit your question to add the result of the terminal command: lsusb. Welcome to Ask Ubuntu. – chili555 Nov 02 '17 at 21:44
  • I didn't know that, thank you! I added the lsusb output to the question. – DreamsInHD Nov 02 '17 at 21:51
  • The driver is mt7610u : https://wikidevi.com/wiki/TP-LINK_Archer_T2U Please see my comments at post #18 here: https://ubuntuforums.org/showthread.php?t=2367163&highlight=mt7610u – chili555 Nov 02 '17 at 22:05
  • Please see my answer at https://askubuntu.com/questions/970548/errors-while-making-driver-for-tp-link-t2uh-in-ubuntu-16-04-lts/970566#970566 – heynnema Nov 02 '17 at 22:44
  • @chili555 please review my previous answer at https://askubuntu.com/questions/970548/errors-while-making-driver-for-tp-link-t2uh-in-ubuntu-16-04-lts/970566#970566 and see if it's helpful for the future. – heynnema Nov 02 '17 at 22:44

1 Answers1

0

At the suggestion of my colleague @heynnema, let's try, with a temporary working internet connection:

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

We anxiously await your good report.

chili555
  • 60,188