How to Install RTL8814AU Wireless Driver in Ubuntu 19.10

Last updated: November 23, 2019

wifi hotspot

This quick tutorial shows how to install RTL8814AU and RTL8812AU/21AU drives in Ubuntu 19.10 with Kernel 5.13.

First plug your Ubuntu machine into a wired internet connection. Then open terminal either from application menu or by pressing Ctrl+Alt+T on keyboard. When it opens, run commands:

1. Run command to install dkms, git, and building tools:

sudo apt install git build-essential dkms

Type user password (no asterisk feedback ) when it prompts and hit Enter.

2. Grab the source code via git command:

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

The command will take a few minutes depends on your internet connection.

3. Once the cloning process is done. Navigate to the source folder and install the driver via dkms.

cd rtl8812au && sudo ./dkms-install.sh

When everything’s done. Reboot your machine with the Wifi device inserted and your wireless should be working.

4.(Optional) The source folder also contains an uninstall script. For any reason, you can remove the Wifi driver via command:

cd ~/rtl8812au && sudo ./dkms-remove.sh

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected] Buy me a coffee: https://ko-fi.com/ubuntuhandbook1

19 responses to How to Install RTL8814AU Wireless Driver in Ubuntu 19.10

  1. oops, well in my first comment I saw the problem. I was running an old kernel. Here is why, in case other noobs should be taught about it.

    A while ago virtualbox wasn’t working with 19.10, so I booted to an older kernel so it would work.

    I did not realize that linux would continue booting into the old kernel. Booting to the correct, latest kernel solver my problem.

    Thanks again for making this site, great idea.

  2. Everything installs fine, but then after the reboot and the loaded module, there is no new Wi-Fi interface when running `ifconfig`.

    I have a built-in interface as

    wlp2s0: flags=4163 mtu 1500
    inet 192.168.2.136 netmask 255.255.255.0 broadcast 192.168.2.255
    inet6 fe80::f0bb:e0eb:7400:6d85 prefixlen 64 scopeid 0x20
    ether 18:4f:32:f7:d1:8f txqueuelen 1000 (Ethernet)
    RX packets 1202 bytes 1246113 (1.2 MB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 892 bytes 87055 (87.0 KB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    …But I can’t see the USB one.

    • I have the exact same problem, no solution for me yet. I have a built in Intel (I think 8250) wifi, trying to add on a USB RTL8814AU. Created driver doesn’t see it.

  3. You’re my hero! Thanks!

  4. my rlt8812au 2,4 and 5,0 GHz is working first time

  5. At the time of writing this, I am running Ubuntu 20.04 and found this to be the only method that now works, eliminated 5 or 6 other options i used to use for RTL8814AU

  6. What should be entered as , username and password? feedback not working for me.

  7. another linux noob June 11, 2020 at 6:31 am

    OMFG solved my problem great thx

  8. Works perfect on Ubuntu 20.04, thanks so much!

  9. Omg!This solved my problem in Pop! OS

  10. Guillermo Lopez July 2, 2020 at 8:16 pm

    You are awesome! It’s not the first time you helped me, and probably won’t be the last.
    Thanks a lot.

  11. Thats works fine.
    Thank you very much.

    Do we need to carry out something when we had to update the headers?? It is very important for me, because I need to automate this with no wired access.

    Thanks again

    • The driver is build with DKMS (Dynamic Kernel Module Support). It should work automatically after regular kernel updates.

  12. I was trying to install drivers of USB-AC68 asus stick for Pop Os which is based on Ubuntu 20.04 and I tried the this driver that asus website offers: https://dlcdnets.asus.com/pub/ASUS/wireless/USB-AC68/DR_USB-AC68_v.2.1.4.7.zip with no luck and some errors.

    However your method worked perfectly and my dongle is now working :)

    Thank you very much

  13. it requires username and password,,,sad
    didnt work for me. can someone help me please?

  14. Thank you, worked a treat!

  15. I tried this experimentally to see if it worked with Linux Mint Debian (non Ubuntu Mint) and indeed it does. The fact they are both ultimately Debian did the trick.

    Impressive solution, well done!

  16. I tried this and am going back to windows 2.5Ghz is way too slow.