Skip to content

Linux support for RTL8812AU based products

Compatibility information

Chipset VID&PID 0bda:8812
Related products AWUS036AC, AWUS036ACH, AWUS036EAC, Tube-UAC, Tube-UACs
Linux Hardware https://linux-hardware.org/index.php?id=usb:0bda-8812

Support status:

Kali 2022.2 Works
Kali 2021.4a Works
Ubuntu 22.04 Need compile driver from source
Ubuntu 20.10 Need compile driver from source
Debian 11.0.3 Need compile driver from source
Debian 10.7.0 Need compile driver from source
Raspberry Pi OS (32-bit) (rev 2022-04-04) Need compile driver from source

Drivers

Linux kernel mainline

LKDDb Not supported by upstream Linux kernel
Support kernel versions Not listed
Linux Wireless Wiki Not listed

GitHub - aircrack-ng/rtl8812au

URL: https://github.com/aircrack-ng/rtl8812au

Note

Test result of aireplay-ng --test -i wlan0 wlan1:

Attach -0 OK
Attach -1 (open) OK
Attach -1 (psk) OK
Attach -2/-3/-4/-6 OK
Attack -5/-7 OK

GitHub - morrownr/8812au-20210629

URL: https://github.com/morrownr/8812au-20210629

Driver installation

Kali

STEP 1 : Open Terminal Emulator

STEP 2 : Run commands

sudo apt update
sudo apt install realtek-rtl88xxau-dkms

STEP 3 (Optional): Check driver existance

Run commands below:

find /lib/modules/`uname -r`/ -name "88XXau.ko"

There should be a file in search result if driver was successfully installed.

Ubuntu

STEP 1 : Open Terminal Emulator

STEP 2 : Run commands

sudo apt update
sudo apt install git build-essential

STEP 3 : Download driver source

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

STEP 4 : Compile and install

cd rtl8812au
make
sudo make install

STEP 5 (Optional): Check driver existance

Run commands below:

find /lib/modules/`uname -r`/ -name "88XXau.ko"

There should be a file in search result if driver was successfully installed.

Note

Remember to plug the dongle out and in once to get the driver reloaded.

Debian

STEP 1 : Open Terminal Emulator

STEP 2 : Run commands

sudo apt update
which dkms || sudo apt install dkms
which rfkill || sudo apt install rfkill
which git || sudo apt install git

STEP 3 : Download driver source

git clone https://github.com/morrownr/8812au-20210629.git

STEP 4 : Compile and install

cd 8812au-20210629
sudo ./install-driver.sh

STEP 5 (Optional): Check driver existance

Run commands below:

find /lib/modules/`uname -r`/ -name "8812au.ko"

There should be a file in search result if driver was successfully installed.

Note

Remember to plug the dongle out and in once to get the driver reloaded.

Raspberry Pi OS

STEP 1 : Open Terminal

STEP 2 : Run commands

sudo apt update
sudo apt upgrade
sudo apt install raspberrypi-kernel-headers

Reboot after commands above finish to have new updates applied.

STEP 3 : Download driver source

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

STEP 4 : Compile and install

cd rtl8812au
make
sudo make install

STEP 5 (Optional): Check driver existance

Run commands below:

find /lib/modules/`uname -r`/ -name "88XXau.ko"

There should be a file in search result if driver was successfully installed.

Note

Remember to plug the dongle out and in once to get the driver reloaded.

References