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.
share|improve this question
    
Please edit your question and add output of lsusb terminal command. – Pilot6 Sep 14 '15 at 17:00
    
Done, thanks @Pilot6 – Snappawapa Sep 14 '15 at 17:02
up vote 20 down vote accepted

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.

share|improve this answer
1  
It is possible to install the driver using DKMS. This way you will not need to re-install after kernel updates. – Pilot6 May 24 '16 at 7:22
1  
@Pilot6 How do I install w/ DKMS? I tried the above method and it isn't working. Network Manager says device not managed. – TheRoyalTnetennba Aug 25 '16 at 1:02
1  
I still want to know how to get it working with DKMS. Also, thoughts on whether to use the fork you linked, or chenhaiq's repo? – William S Jan 2 '17 at 18:15
1  
sorry this might sound like a silly question (i'm new), how do you guys know that isn't some virus or something that you are installing? ie the driver is written by some random folks and not the manufacturer – Alex Mar 17 '17 at 21:03
1  
@Pilot6 true, but i bet of all the folks who installed this nobody has looked at it.. in theory that's true with all open source but in this case it seems particularly true.. no? – Alex Mar 17 '17 at 21:29

protected by Community Apr 9 '16 at 5:56

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.