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 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 at 9:34
  • It works! I deleted everything and reloaded the driver and after that it worked again. Very happy now! – Sjoukje___ Jun 5 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 at 18:46

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.