Trying to install tp-link archer T2U wifi adapter

I've just installed Ubuntu and I would like to get my USB wifi adapter working.

Is there anyone who knows where I can get the right drivers for this?

output of lsusb

 Bus 002 Device 004: ID 148f:761a Ralink Technology, Corp. 
 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 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub 
 Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 
 Bus 001 Device 003: ID 064e:c21c Suyin Corp. 
 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 

Solution 1:

NOTE: There are official sources for the drivers - as noted by some other answer here - but those don't (usually(?)) compile/work out of the box. Also, the newest version doesn't work for me (Debian 8 with standard x64 kernel:
3.16.0-4-amd64 #1 SMP Debian 3.16.39-1 (2016-12-30) x86_64 GNU/Linux
) - what does (still) work for me is commit 4606187110b323c272aed504144ee759b31af8ac.

There is an easier solution than trying to use the manufacturer's source (taken from this (German) site):

Just run (with the device being unplugged)

sudo apt-get install git build-essential
mkdir ~/src
cd ~/src
git clone https://github.com/Myria-de/mt7610u_wifi_sta_v3002_dpo_20130916.git
cd mt7610u_wifi_sta_v3002_dpo_20130916
make clean
make
sudo make install

and reboot. As indicated above, you might want to git checkout 4606187110b323c272aed504144ee759b31af8ac before running make and make install. For instance, the newest version

  • Caused it to freeze
  • Didn't integrate with NetworkManager, ...

and who knows what else.

Worked for me, I also have the Archer T2U, with the same USB-device. I run another system ( I used this with LMDE, kernel 3.11, now I'm on Debian (see above)), however the solution I have linked was tried with the following setups:

  • Ubuntu 14.04.2 LTS, linux kernel 3.13.0.49, gcc 4.8.2
  • Ubuntu 15.04, linux kernel 3.19.0-15, gcc 4.9.2

So there might be a good chance, that this will work for you.

The author(s) simply modified the MT7610U linux driver from the MediaTek homepage to compile for your device as well as a couple of other ones based on the same chipset.
If you feel like it, you can probably run some command to diff the linked source and the one from MediaTek since directory trees and source file are probably no different from the MediaTek source.

UPDATE: There is another site that may be helpful, if you want to go into fixing the original source yourself instead of following the above instructions:
http://hprath.com/2014/06/cisco-linksys-ae6000-ac580-media-tek-mt7610u-mt7630u-mt7650u-linux-x64-driver-patch/

Solution 2:

There is now a linux driver for this device on the TP-LINK website: http://www.tp-link.com/lb/download/Archer-T2U_V1.html#Driver