Install the Realtek rtl8812au Wifi Driver in Linux

Video is ready, Click Here to View ×


In this video I show you how to install the Realtek rtl8812au driver in your Debian, Ubuntu, Arch, or Manjaro Linux install Hope you enjoy!
Show Notes:
Install and configure rtl8812au in Debian:

sudo apt-get install linux-headers-$(uname -r) build-essential git

git clone

cd rtl8812AU_8821AU_linux

make

sudo make install

sudo modprobe rtl8812au

reboot

In Ubuntu:

Use Driver Manager
If Driver Manager is not avail or fails:
Use Debian…

42 Comments

  1. Sorry linux newbie here.. Im running Xubuntu 17.10. where can I find the driver manager? btw, I did the first method but it failed at make. Appreciate if you could guide me on this. Cheers!

  2. THANK YOU!!! I am new to Linux and have been trying to install the driver for my wireless adapter on Linux Mint for several days. There were millions of complicated solutions I couldn't understand, but yours has been by far the easiest, clearest, and most reliable tutorial by far.

  3. Hi trying to make my wn722n v2 dongle work with Kali linux kernel 4.13.
    Kali does not detect my wifi adapter at all.
    I am running kali linux as a vm.
    Can any one please guide me as to how i can make kali detect my dongle

  4. hello I have a problem

    -git clone https://github.com/scrivy/rtl8812AU_8...

    -cd rtl8812AU_8821AU_linux

    -make
    ———————————————————————————————————-
    root@root:~/rtl8812au# make
    make -j 2 ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.9.0-kali3-amd64/build M=/root/rtl8812au modules
    make[1]: * /lib/modules/4.9.0-kali3-amd64/build: No such file or directory. Stop.
    Makefile:1871: recipe for target 'modules' failed
    make: * [modules] Error 2

    ————————————————————————————————————–

  5. OMG thank you! this worked for me on Linux mint 17.2. Only difference I had to go to the github project site and use the clone link they provided there. Otherwise worked just as you had it in your video notes.

  6. Thank you very much for your contribution! I have a problem, just when I do the make, I see all those errors, can you help me?

    root@kali:~/rtl8812AU_8821AU_linux# make
    make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.14.0-kali1-amd64/build M=/root/rtl8812AU_8821AU_linux modules
    make[1]: Entering directory '/usr/src/linux-headers-4.14.0-kali1-amd64'
    CC [M] /root/rtl8812AU_8821AU_linux/core/rtw_cmd.o
    In file included from /root/rtl8812AU_8821AU_linux/include/drv_types.h:32:0,
    from /root/rtl8812AU_8821AU_linux/core/rtw_cmd.c:22:
    /root/rtl8812AU_8821AU_linux/include/osdep_service.h: In function ‘thread_enter’:
    /root/rtl8812AU_8821AU_linux/include/osdep_service.h:343:2: error: implicit declaration of function ‘allow_signal’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
    allow_signal(SIGTERM);
    ^~~~~~~~~~~~
    do_signal
    /root/rtl8812AU_8821AU_linux/include/osdep_service.h: In function ‘flush_signals_thread’:
    /root/rtl8812AU_8821AU_linux/include/osdep_service.h:353:6: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
    if (signal_pending (current)) {
    ^~~~~~~~~~~~~~
    timer_pending
    /root/rtl8812AU_8821AU_linux/include/osdep_service.h:354:3: error: implicit declaration of function ‘flush_signals’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
    flush_signals(current);
    ^~~~~~~~~~~~~
    do_signal
    cc1: all warnings being treated as errors
    /usr/src/linux-headers-4.14.0-kali1-common/scripts/Makefile.build:319: recipe for target '/root/rtl8812AU_8821AU_linux/core/rtw_cmd.o' failed
    make[4]: * [/root/rtl8812AU_8821AU_linux/core/rtw_cmd.o] Error 1
    /usr/src/linux-headers-4.14.0-kali1-common/Makefile:1520: recipe for target '_module_/root/rtl8812AU_8821AU_linux' failed
    make[3]: * [_module_/root/rtl8812AU_8821AU_linux] Error 2
    Makefile:146: recipe for target 'sub-make' failed
    make[2]: * [sub-make] Error 2
    Makefile:8: recipe for target 'all' failed
    make[1]: * [all] Error 2
    make[1]: Leaving directory '/usr/src/linux-headers-4.14.0-kali1-amd64'
    Makefile:1570: recipe for target 'modules' failed
    make: * [modules] Error 2

  7. THank you for the tutorial, issue i am having now is that after installing it successfully on my manjaro-deepin, everything worked had my regular card and the usb as well no issues, however this all changed when i went out and try to connect to a different network, it seems i never get the chance to authenticate it connectes to mine because it was already saved but i cannot connect to a new wifi. any suggestions.

  8. I have a wireless adaptor that just stopped working after I did a factory reset I tried deleting reinstalling the drivers but its still wont connect to wifi it shows all the wifi sources but when I try to connect with password its says there was a problem unknown reason

  9. Thank you so much. You are a true magician. Your instructions worked like a charm on my older desktop Dell Optiplex 780 with no build in wifi. I purchaced a wifi dongle and now I have dual wifi speed. Thanks again 🙂

  10. Please help me as it has taken some time for me to get to this point. Kali Linux 2.0 nook trying to install Alfa Networks running rtl8812au chipset. Great video. All goes really well until "make" and i get the following implicit function declaration errors: I am a kali linux noob

    root@bad:~/rtl8812AU_8821AU_linux# make
    make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.12.0-kali1-amd64/build M=/root/rtl8812AU_8821AU_linux modules
    make[1]: Entering directory '/usr/src/linux-headers-4.12.0-kali1-amd64'
    CC [M] /root/rtl8812AU_8821AU_linux/core/rtw_cmd.o
    In file included from /root/rtl8812AU_8821AU_linux/include/drv_types.h:32:0,
    from /root/rtl8812AU_8821AU_linux/core/rtw_cmd.c:22:
    /root/rtl8812AU_8821AU_linux/include/osdep_service.h: In function ‘thread_enter’:
    /root/rtl8812AU_8821AU_linux/include/osdep_service.h:343:2: error: implicit declaration of function ‘allow_signal’ [-Werror=implicit-function-declaration]
    allow_signal(SIGTERM);
    ^~~~~~~~~~~~
    /root/rtl8812AU_8821AU_linux/include/osdep_service.h: In function ‘flush_signals_thread’:
    /root/rtl8812AU_8821AU_linux/include/osdep_service.h:353:6: error: implicit declaration of function ‘signal_pending’ [-Werror=implicit-function-declaration]
    if (signal_pending (current)) {
    ^~~~~~~~~~~~~~
    /root/rtl8812AU_8821AU_linux/include/osdep_service.h:354:3: error: implicit declaration of function ‘flush_signals’ [-Werror=implicit-function-declaration]
    flush_signals(current);
    ^~~~~~~~~~~~~
    Many many thanks in advance.

  11. the commad give me in kali linux
    —————————————————————-:
    root@root:~# sudo apt-get install linux-headers-$(uname -r) build-essential git
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    E: Unable to locate package linux-headers-4.9.0-kali3-amd64
    E: Couldn't find any package by glob 'linux-headers-4.9.0-kali3-amd64'
    E: Couldn't find any package by regex 'linux-headers-4.9.0-kali3-amd64'

    -*——————————————————————————————————————
    can you help me please please

  12. Hi, sorry to bother, every time I restart my computer, in order to have wi-fi I have to unplug the usb dongle and plug-it in again, then it works. How can I solve that?
    Thank you for your help

  13. God bless you! I spent hours yesterday and could not get my adapter to work. Your method worked like a charm. My adapter is from Amazon here's the listing text:

    Zoweetek 600Mbps 802.11ac Dual Band 2.4GHz (150Mbps) /5GHz (433Mbps) WiFi Dongle, Wireless Network USB Adapter with 2dBi External Antenna

  14. I have a an Asus usb wifi adapter AC56 , I have installed the driver but I'm getting very low signal although I'm next to the router ?! anybody can help?

Leave a Reply

Your email address will not be published.


*