RTL8821CE - When idle, wifi drops and works only after reconnecting


Disable Wifi power saving:

You can disable Network Manager's power saving features by creating /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf with the following command::

sudo touch /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

Add the following contents to the newly created conf file with your preferred text editor:

[connection]
wifi.powersave = 0

Alternately, you can run the following command to generate the required conf file automatically:

echo -e "[connection]\nwifi.powersave = 0" | sudo tee /etc/modprobe.d/rtl8821ce.conf

Then restart Network Manager, or reboot.


Install the rtw88-dkms-git driver from the Chaotic AUR.

If you have already installed any other driver version then uninstall that driver before proceeding. Once the driver has been uninstalled, then install the rtw88-dkms-git Chaotic AUR driver with the following command:

sudo  pacman -Syu rtw88-dkms-git

Then reboot.


Create /etc/modprobe.d/rtl8821ce.conf:

sudo touch /etc/modprobe.d/rtl8821ce.conf

Add the following contents to the newly created conf file with your preferred text editor:

options rtw_pci disable_aspm=1
blacklist rtw88_8821ce

Alternately, you can run the following command to generate the required conf file automatically:

echo -e "options rtw_pci disable_aspm=1\nblacklist rtw88_8821ce" | sudo tee /etc/modprobe.d/rtl8821ce.conf

Then reboot.


Edited:

To add full completeness.

6 Likes