RTL8821CE Wireless card fix on Ubuntu (and other Debian/Ubuntu based distros)

Ali AlmasiAli Almasi
1 min read

For some reason, the rtl8821ce WiFi hardware works poorly or not at all on most Linux distros. The driver used in the Linux kernel for this hardware is outdated or for other reasons that I don't know about, it doesn't work properly. The solution to this problem is a driver developed by a friend from Portugal and placed on GitHub.

In this guide, we want to build and install this driver on our Ubuntu.

Warning: Before proceeding, take a snapshot of your system for safety.

Open a Terminal and follow along:

  1. Update your APT: sudo apt update

  2. Install the necessary tools: sudo apt install bc module-assistant build-essential dkms git

  3. Remove the rtl8821ce-dkms if it is present: sudo apt remove rtl8821ce-dkms

  4. Clone the driver and get in the directory of the cloned driver: git clonehttps://github.com/tomaspinho/rtl8821ce.git&& cd rtl8821ce

  5. Prepare/Build the driver: sudo m-a prepare

  6. If the output has Couldn't create the /usr/src/linux symlink!, try again

  7. Install the driver: sudo ./dkms-install.sh

  8. Open a new terminal and run: sudo nano /etc/modprobe.d/blacklist.conf

  9. Add blacklist rtw88_8821ce to the end and save the file

  10. Restart the system and... Done!

0
Subscribe to my newsletter

Read articles from Ali Almasi directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Ali Almasi
Ali Almasi

I'm a beginner web developer, currently living in Tehran. If you’d like to get in touch, you can simply run npx alialmasi on your terminal. من یک توسعه دهنده وب مبتدی هستم و در حال حاضر در تهران زندگی می کنم. اگر مایل به تماس هستید، می توانید به سادگی npx alialmasi را در ترمینال خود اجرا کنید.