How do I get TP-Link Archer T1U USB wireless dongle working?

I'm brand-new to the world of Ubuntu, and completely clueless. I am trying to install a TP-Link Archer T1U USB wireless adapter, but I can't find an appropriate driver. The TP-Link website only states driver support up to kernel 3.16. I tried following their instructions anyway, but of course it didn't work.

My lsusb report:

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 003 Device 002: ID 046d:c048 Logitech, Inc. G9 Laser Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 002: ID 2357:0105
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

And no proprietary or additional drivers show up under "Software & Updates".

Help!


Solution 1:

I got this wireless adapter working on Ubuntu with kernel 4.4.

I added a driver to my PPA. It can be installed by

sudo add-apt-repository ppa:hanipouspilot/rtlwifi
sudo apt update
sudo apt install mt7610u-dkms

Solution 2:

As stated here

http://forum.tp-link.com/showthread.php?84046-AC-450-Wireless-Nano-USB-Adapter-Archer-T1U-Linux-drivers

the official driver is not compiling anymore.

One workaround (using kernel 4.4.0-45-generic here atm) is to replace all occurrences of "-Wall" with "-Wno-unused-variable -Wno-error=date-time" in MODULE/os/linux/config.mk

After "make install" succeeded, reinsert the stick and check with "iwconfig" if device "ra0" (or similar) shows up.