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 2021.2 Need compile driver from source
Kali 2021.1 Need compile driver from source
Ubuntu 20.10 Need compile driver from source
Ubuntu 20.04 Need compile driver from source
Debian 10.7.0 Need compile driver from source
Raspberry Pi OS (32-bit)

Drivers

Linux kernel mainline

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

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

Method 1

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/brektrou/rtl8821CU.git

STEP 4 : Compile and install

cd rtl8821CU
sudo ./dkms-install.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.

Method 2 (using rtw88-usb)

STEP 1 : Open Terminal Emulator

STEP 2 : Download driver source

git clone https://github.com/ulli-kroll/rtw88-usb.git

STEP 3 : Compile and install

cd rtw88-usb
make
sudo make install

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
sudo apt install git build-essential
sudo apt install dkms

STEP 3 : Download driver source

git clone https://github.com/brektrou/rtl8821CU.git

STEP 4 : Compile and install

cd rtl8821CU
sudo ./dkms-install.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
sudo apt install dkms

STEP 3 : Download driver source

git clone https://github.com/brektrou/rtl8821CU.git

STEP 4 : Compile and install

cd rtl8821CU
sudo ./dkms-install.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