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

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

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!