Skip to content

Linux support for RTL8812BU based products

Compatibility information

Chipset VID&PID 0bda:b812
Related products AWUS036ACU
Linux Hardware https://linux-hardware.org/index.php?id=usb:0bda-b812

Support status:

Kali 2022.2 Need compile driver from source
Kali 2021.2 Need compile driver from source
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 - morrownr/88x2bu-20210702

URL: https://github.com/morrownr/88x2bu-20210702

GitHub - EntropicEffect/rtl8822bu

URL: https://github.com/EntropicEffect/rtl8822bu

GitHub - kimocoder/rtw88-usb

URL: https://github.com/kimocoder/rtw88-usb

GitHub - github.com/fastoe

URL: https://github.com/fastoe/RTL8812BU

Driver installation

Kali

STEP 1 : Open Terminal Emulator

STEP 2 : Run commands

sudo apt update
which dkms || sudo apt install dkms

STEP 3 : Download driver source

git clone https://github.com/morrownr/88x2bu-20210702.git

STEP 4 : Compile and install

cd 88x2bu-20210702
sudo ./install-driver.sh

STEP 5 (Optional): Check driver existance

Run commands below:

find /lib/modules/`uname -r`/ -name "88x2bu.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.

Ubuntu

STEP 1 : Open Terminal Emulator

STEP 2 : Run commands

sudo apt update
which dkms || sudo apt install dkms

STEP 3 : Download driver source

git clone https://github.com/morrownr/88x2bu-20210702.git

STEP 4 : Compile and install

cd 88x2bu-20210702
sudo ./install-driver.sh

STEP 5 (Optional): Check driver existance

Run commands below:

find /lib/modules/`uname -r`/ -name "88x2bu.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/88x2bu-20210702.git

STEP 4 : Compile and install

cd 88x2bu-20210702
sudo ./install-driver.sh

STEP 5 (Optional): Check driver existance

Run commands below:

find /lib/modules/`uname -r`/ -name "88x2bu.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
sudo apt install bc build-essential dkms git

Reboot after commands above finish to have new updates applied.

STEP 3 : Download driver source

git clone https://github.com/morrownr/88x2bu-20210702.git

STEP 4 : Compile and install

Enter source directory and run commands below:

cd 88x2bu-20210702
./ARM_RPI.sh
sudo ./install-driver.sh

STEP 5 (Optional): Check driver existance

Run commands below:

find /lib/modules/`uname -r`/ -name "88x2bu.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