I recently updated my ubuntu 16.04 to ubuntu 18.04, but after updating, my TP Link T9UH wifi adapter doesn't work anymore. It didn't work perfectly before (see Install rtl8814AU driver on ubuntu 16.04), but after removing and reinstalling the driver now and then, it would work again. When I enter sudo dkms install rtl8814au/4.3.21 it returns

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make'......(bad exit status: 2)
ERROR (dkms apport): binary package for rtl8814au: 4.3.21 not found
Error! Bad return status for module build on kernel: 4.15.0-22-generic (x86_64)
Consult /var/lib/dkms/rtl8814au/4.3.21/build/make.log for more information. 

How can I get my wifi adapter working again?

When I try the solution given here: How to install an Edimax EW-7833UAC in 18.04 sudo dkms install rtl8814au/4.3.21 returns: enter image description here

  • This link might help: askubuntu.com/questions/1033825/… I'm about to try it myself as I have a similar problem. – Tony Whelan Jun 3 '18 at 5:27
  • Unfortunately that does not work for me. When I try that, my dkms status gives me: rtl8814au, 4.3.21, 4.15.0-22-generic, x86_64: installed (WARNING! Diff between built and installed module!) – Sjoukje___ Jun 5 '18 at 9:34
  • It works! I deleted everything and reloaded the driver and after that it worked again. Very happy now! – Sjoukje___ Jun 5 '18 at 12:57

I installed the following to get my USB WiFi-AC working - not sure if you require 8814 though.

sudo apt-get install dkms
sudo apt-get install rtl8812au-dkms

It worked OK using both netplan settings and through the GUI

  • Any update about 18.04? – gtzinos Aug 7 '18 at 18:46

I personally use (and recommend) the drivers from aircrack-ng. See aircrack-ng/rtl8812au (@ GitHub)
I recommend to use the version 5.2.20 which introduces a very useful feature: A unique module (88XX) to "rules them all" (chipsets 8821AU, 8812au and 8814au).
In order to install the drivers you need first to install the dependencies:

sudo apt install build-essential
sudo apt install bc
sudo apt install linux-headers-`uname -r`
sudo apt install git

Then download the repository

git clone https://github.com/aircrack-ng/rtl8812au.git

Locate your shell in the downloaded repository

cd rtl8812au

Switch to the branch 5.2.20:

git checkout v5.2.20

Finally, compile and install:

sudo make install

Notice that a even more recent version: Branch 5.3.4, But I had some problems to get it works with 8814au. Hopefully it will be fixed in the future (if it is not already done).

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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