Skip to content

Linux support for RTL8821CU based products

Compatibility information

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

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/8821cu

URL: https://github.com/morrownr/8821cu

GitHub - brektrou/rtl8821CU

URL: https://github.com/brektrou/rtl8821CU

GitHub - ulli-kroll/rtw88-usb

URL: https://github.com/ulli-kroll/rtw88-usb

Driver installation

Kali

STEP 1 : Open Terminal Emulator

STEP 2 : Run commands

sudo apt update
which bc || sudo apt install bc
which dkms || sudo apt install dkms

STEP 3 : Download driver source

git clone https://github.com/morrownr/8821cu-20210118.git

STEP 4 : Compile and install

cd 8821cu-20210118
sudo ./install-driver.sh

STEP 5 (Optional): Check driver existance

Run commands below:

find /lib/modules/`uname -r`/ -name "8821cu.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 bc || sudo apt install bc
which dkms || sudo apt install dkms

STEP 3 : Download driver source

git clone https://github.com/morrownr/8821cu-20210118.git

STEP 4 : Compile and install

cd 8821cu-20210118
sudo ./install-driver.sh

STEP 5 (Optional): Check driver existance

Run commands below:

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

STEP 3 : Download driver source

git clone https://github.com/morrownr/8821cu-20210118.git

STEP 4 : Compile and install

cd 8821cu-20210118
sudo ./install-driver.sh

STEP 5 (Optional): Check driver existance

Run commands below:

find /lib/modules/`uname -r`/ -name "8821cu.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/8821cu-20210118.git

STEP 4 : Compile and install

Enter source directory and run commands below:

cd 8821cu-20210118
./ARM_RPI.sh
sudo ./install-driver.sh

STEP 5 (Optional): Check driver existance

Run commands below:

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