Ubuntu – How to install TP-LINK T2UH Wireless adapter Driver (Ralink mt7610u)

adapterdriversralinkusbwireless

I recently got a wireless adapter (TP-Link Archer T2UH V1). After plugging it in, I found out that the drivers for Linux are not native on Ubuntu. They do, however, have the drivers available for download (in the form of compilable/ makefile). What I am not sure of is how to install these drivers. I know that I need to build the drivers, place things where they need to be, and tie things together with the kernel. I am not sure how to do this, however, and need some help.

TL;DR: I need to know the terminal commands to install these drivers.

Driver/Device info:
http://www.tp-link.com/en/download/Archer-T2UH.html#Driver

Output of lsusb:

Bus 003 Device 004: ID 148f:761a Ralink Technology, Corp.

Best Answer

Connect to internet by wire, then run in terminal

sudo apt-get install git build-essential
git clone https://github.com/Myria-de/mt7610u_wifi_sta_v3002_dpo_20130916.git
cd mt7610u_wifi_sta_v3002_dpo_20130916
make
sudo make install
sudo mkdir -p /etc/Wireless/RT2870STA
sudo cp RT2870STA.dat  /etc/Wireless/RT2870STA/RT2870STA.dat

Reboot.

The dongle should work. The only problem is that you will have to re-install it after each kernel upgrade.

But if you keep the driver folder mt7610u_wifi_sta_v3002_dpo_20130916, then it will be quite easy.

You will need to run only

cd mt7610u_wifi_sta_v3002_dpo_20130916
make
sudo make install

after a kernel upgrade.

It is also possible to install it using DKMS. In this case it will rebuild automatically on kernel upgrades.

Related Question