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.
The 'driver' available on your website for the TP-Link AC1200 Model T4UH (Version V1.0) is version 150821 and is for
System version: Ubuntu 14.04.1
Kernel version: 3.16.0-30-generic
Gcc version:4.8.2
I have 16.04 Linux version 4.4.0-36-generic and gcc version 5.4.0 20160609
Running 'make' reports -
In file included from /home/a/Driver/include/drv_types.h:95:0,
from /home/a/Driver/core/rtw_cmd.c:22:
/home/a/Driver/include/hal_com.h:412:13: error: ‘file_path’ redeclared as different kind of symbol
extern char file_path[PATH_LENGTH_MAX];
^
In file included from include/linux/compat.h:15:0,
from include/linux/ethtool.h:15,
from include/linux/netdevice.h:42,
from /home/a/Driver/include/osdep_service_linux.h:35,
from /home/a/Driver/include/osdep_service.h:41,
from /home/a/Driver/include/drv_types.h:32,
from /home/a/Driver/core/rtw_cmd.c:22:
include/linux/fs.h:2572:14: note: previous declaration of ‘file_path’ was here
extern char *file_path(struct file *, char *, int);
^
Contacted TP-Link who passed the buck and said that "the chip set for Archer T4UH is Realtek RTL8812AU. Github is one of the popular platforms. Please try to find out the driver from there."
Installed a package from here.
All appears OK
Best Answer
Connect to internet by ethernet, tethered or whatever means possible. Then run in terminal:
Reboot.
You will have to re-install it after each kernel upgrade. Please you keep the driver folder mt7610u_wifi_sta_v3002_dpo_20130916, then it will be quite easy.
You will need to run only: