RTL8821CE Wireless : lspci on dom0 see it but never worked

@Migui

From your recent github issue:
https://github.com/QubesOS/qubes-issues/issues/8472

Expert behaviour :
Please integrate RTL8821CE in the new rc3 and final 4.2 release. I really have to, and want because I like it so much, stay using qubesos.

As mentioned, it’s not a Qubes issue, the driver is in the kernel, but for some reason, it doesn’t work.
Not only in Qubes OS, others have the same issue with Linux distribution as well.

Also as suggest in this thread and here, if the default kernel doesn’t work (and it doesn’t), switch to to the ‘provide by qube’ kernel.

You don’t need to switch to PV mode.

To resume what you need to do:

  • for sys-net, select provided by qube kernel
  • shutdown your sys-net qube (if running)
  • download the github repository in a disposable qube
  • copy the content to your sys-net template
  • in the template, install the driver with sudo ./dkms-install.sh
    make sure the script is executable, if not use sudo chmod +x dkms-install.sh
  • in the template, blacklist the original kernel driver:
    echo "blacklist rtw88_8821ce" | sudo tee -a /etc/modprobe.d/blacklist.conf
    
  • shutdown your template
  • start your sys-net qube

It should works, it does for others.
I hope it will work for you too.