How do I install drivers for TP-Link 802.11ac Wi-Fi USB adapter?

Solution 1:

You can install the driver this way. Connect to Internet some other way and run in terminal

sudo apt-get install git dkms
git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
sed -i 's/\#MODULE_VERSION\#/0.1/' rtl8812AU_8821AU_linux/dkms.conf
sudo dkms add ./rtl8812AU_8821AU_linux
sudo dkms install -m 8812au -v 0.1

Then insert your dongle.

Solution 2:

First of all, Pilot6, thank you very much for providing this.

I ran into some challenges while installing the repository. If you experience similar issues, please feel free try the following solution that worked for me (note, this has enabled to install the drivers and I have not tested the functionality yet):

cd /usr/src
sudo cp -r rtl8812au-#MODULE_VERSION# 8812au-1.0
sudo dkms install -m 8812au -v 1.0

Solution 3:

this worked for me:

sudo apt purge rtl8812au-dkms
sudo apt install git
git clone https://github.com/gnab/rtl8812au.git
sudo cp -r rtl8812au  /usr/src/rtl8812au-4.2.2
sudo dkms add -m rtl8812au -v 4.2.2
sudo dkms build -m rtl8812au -v 4.2.2
sudo dkms install -m rtl8812au -v 4.2.2