1. Turn on the laptop and connect it to the internet via LAN wired connection.
1.1 Open terminal either via Ctrl+Alt+T shortcut key or by searching for ‘terminal’ from software launcher.
1.2 type the following command:
sudo apt-get update
Let the system finish, then type:
sudo apt-get upgrade
In case the software asks you what type of packaging to install, choose the default options by pressing ENTER.
1.3 Open the update manager, refresh it and install all available updates.
You can see how to do all the steps it in this video:
Then restart the system, and If Linux Mint still does not recognize your wifi move to step 2:
2. Turn on the laptop and connect it to the internet via LAN wired connection.
2.1 Open terminal either via Ctrl+Alt+T shortcut key or by searching for ‘terminal’ from software launcher.
2.2 type the following command command, in this order, one after the other finish:
sudo apt remove rtl8821ce-dkms sudo apt install git git clone https://github.com/tomaspinho/rtl8821ce.git cd rtl8821ce sudo ./dkms-install.sh
Then restart the system.
If this does not work either, we will need to go the long way, step 3:
Make sure to remove the driver if you have previously unsuccessfully installed it via
sudo ./dkms-install.sh and then the directory
rm -rf rtl8821ce. It may be located in
cd /var/lib/dkms/, delete it there too.
3. Disabled secure boot (you need to reboot after this command and enter the password chars on the blue screen):
sudo mokutil --disable-validation
3.1 Upgraded the Kernel from 4.15 to 4.18, cuz for some reason it wouldn't work with 4.15. Use
uname -a to check your kernel version.
sudo apt install linux-generic-hwe-18.04 sudo apt update && sudo apt upgrade -y
3.2 Then reinstalled the dkms headers:
sudo apt-get install --reinstall git dkms build-essential linux-headers-$(uname -r)
3.3 Pulled the github respiratory:
git clone https://github.com/tomaspinho/rtl8821ce
3.4 Entered the new directory:
3.5 Changed the the file permissions:
chmod +x dkms-install.sh chmod +x dkms-remove.sh
3.6 Synced the driver to the correct kernel version:
make sudo make install
3.7 Installed the driver: