How to install Realtek 8811CU Wireless LAN 802.11ac USB NIC on Ubuntu 19.04

Before build this driver make sure make, gcc, linux-header and git have been installed.

Step 1: Clone brektrou repository

mkdir -p ~/build
cd ~/build
git clone https://github.com/brektrou/rtl8821CU.git

Step 2: Build and install

cd ~/build/rtl8821CU
make
sudo make install

Step 3: Check installed driver

If you successfully install the driver, the driver is installed on /lib/modules//kernel/drivers/net/wireless/realtek/rtl8821cu. Check the driver with the ls command:

ls /lib/modules/$(uname -r)/kernel/drivers/net/wireless/realtek/rtl8821cu

Make sure 8821cu.ko file present on that directory.

10 Replies to “How to install Realtek 8811CU Wireless LAN 802.11ac USB NIC on Ubuntu 19.04”

  1. OMG thank you so much! I have been trying to install the driver for this new WiFi dongle that I just got on amazon, for about 4 days now. The stuff that came with the dongle was way out of date, and didnt work at all. Kept giving out errors… but OMG! HERE YOU COME WITH THIS! AND IT WORKS PERFECTLY! Dude, I am forever in your debt. If I could pay you, I would

  2. So this is weird to me: The title says “8811CU” and the driver is for the 8821. So far, so good. I’ve installed the 8821 driver for the 8811CU, restarted, and was pleased to find out that Linux Mint now shows wireless networks in my area.
    I then tried to connect to our home WiFi, but Linux Mint always keeps asking me for the password, as if I would’ve typed it incorrectly. I tried setting up a mobile hotspot with my phone – same problem. I tried 2.4 and 5GHz – same problem. One time it connected successfully, but I didn’t get any internet connectivity, just WiFi. A couple of seconds later I was kicked back out.
    Open WiFi works (incl. internet) but obviously that’s not what I want.

    Any solutions?

  3. Thank you very much indeed. It works with my Realtek 8811CU wireless lan. (0bda:c811 Realtek Semiconductor Corp.) running on AMD Athlon X4 860K, x86_64 GNU/Linux on Ubuntu 18.04.1,

    When the LED on the dongle began to blink, I was relieved and grateful for your guide. Keep up the good work sir.

  4. ake ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.2.9-200.fc30.x86_64/build M=/home/ys/Загрузки/rtl8821CU modules
    make[1]: *** /lib/modules/5.2.9-200.fc30.x86_64/build: No such file or directory.

    Fedora 30

  5. Just installed this and works perfectly. But it stopped working after kernel update. Even tried to install again using the same method but unsuccessful. Do you have any hint on how to make it work again?

  6. Thanks for this. I have been trying to get back my wireless for some time. I am not sure, but at the end of the process I had to put the following command,

    sudo modprobe 8821cu

    Now wireless is working again

Leave a Reply

Your email address will not be published. Required fields are marked *