Install Realtek RTL8821CE WiFi Driver

After 5.8.7.20 is installed, Wi-Fi is disabled.
In the past, I always used:

su
sudo dnf update
sudo dnf install dkms make kernel-devel -y
git clone https://github.com/tomaspinho/rtl8821ce.git
cd rtl8821ce
sudo ./dkms-install.sh

[fedora001@localhost ~]$ su
Password:
[root@localhost fedora001]# sudo dnf update
Waiting for process with pid 22599 to finish.
Last metadata expiration check: 0:01:25 ago on Sat 12 Sep 2020 05:34:44 PM +07.
Dependencies resolved.
Nothing to do.
Complete!
[root@localhost fedora001]# sudo dnf install dkms make kernel-devel -y
Last metadata expiration check: 0:03:39 ago on Sat 12 Sep 2020 05:34:44 PM +07.
Package dkms-2.8.3-1.fc32.noarch is already installed.
Package make-1:4.2.1-16.fc32.x86_64 is already installed.
Package kernel-devel-5.7.17-200.fc32.x86_64 is already installed.
Package kernel-devel-5.8.6-201.fc32.x86_64 is already installed.
Package kernel-devel-5.8.7-200.fc32.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@localhost fedora001]# git clone https://github.com/tomaspinho/rtl8821ce.git
Cloning into ‘rtl8821ce’…
remote: Enumerating objects: 28, done.
remote: Counting objects: 100% (28/28), done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 1587 (delta 9), reused 18 (delta 6), pack-reused 1559
Receiving objects: 100% (1587/1587), 5.79 MiB | 244.00 KiB/s, done.
Resolving deltas: 100% (869/869), done.
[root@localhost fedora001]# cd rtl8821ce
[root@localhost rtl8821ce]# sudo ./dkms-install.sh
About to run dkms install steps…
Error! DKMS tree already contains: rtl8821ce-v5.5.2_34066.20200325
You cannot add the same module/version combo more than once.
Module rtl8821ce/v5.5.2_34066.20200325 already built for kernel 5.8.7-200.fc32.x86_64/4
Module rtl8821ce/v5.5.2_34066.20200325 already installed on kernel 5.8.7-200.fc32.x86_64/x86_64
Finished running dkms install steps.
[root@localhost rtl8821ce]#

Wi-Fi is still disabled.
Help me please.

1 Like

Perform cold boot and check the output:

nmcli radio all; rfkill list all
2 Likes

[fedora001@localhost ~]$ su
Password:
[root@localhost fedora001]# nmcli radio all; rfkill list all
WIFI-HW WIFI WWAN-HW WWAN
enabled enabled enabled enabled
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
[root@localhost fedora001]#
Screenshot from 2020-09-12 22-02-00

lspci -n -n -k; lsusb -v -v -t

You can post as text.

1 Like

[fedora001@localhost ~]$ su
Password:
[root@localhost fedora001]# nmcli radio all; rfkill list all
WIFI-HW WIFI WWAN-HW WWAN
enabled enabled enabled enabled
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
[root@localhost fedora001]# lspci -n -n -k; lsusb -v -v -t
00:00.0 Host bridge [0600]: Intel Corporation Gemini Lake Host Bridge [8086:31f0] (rev 03)
Subsystem: Hewlett-Packard Company Device [103c:849e]
00:00.1 Signal processing controller [1180]: Intel Corporation Celeron/Pentium Silver Processor Dynamic Platform and Thermal Framework Processor Participant [8086:318c] (rev 03)
Subsystem: Hewlett-Packard Company Device [103c:849e]
Kernel driver in use: proc_thermal
Kernel modules: processor_thermal_device
00:00.3 System peripheral [0880]: Intel Corporation Device [8086:3190] (rev 03)
Subsystem: Hewlett-Packard Company Device [103c:849e]
00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 605 [8086:3184] (rev 03)
Subsystem: Hewlett-Packard Company Device [103c:849e]
Kernel driver in use: i915
Kernel modules: i915
00:0e.0 Audio device [0403]: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio [8086:3198] (rev 03)
Subsystem: Hewlett-Packard Company Device [103c:849e]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci
00:0f.0 Communication controller [0780]: Intel Corporation Celeron/Pentium Silver Processor Trusted Execution Engine Interface [8086:319a] (rev 03)
Subsystem: Hewlett-Packard Company Device [103c:849e]
Kernel driver in use: mei_me
Kernel modules: mei_me
00:12.0 SATA controller [0106]: Intel Corporation Device [8086:31e3] (rev 03)
Subsystem: Hewlett-Packard Company Device [103c:849e]
Kernel driver in use: ahci
00:13.0 PCI bridge [0604]: Intel Corporation Gemini Lake PCI Express Root Port [8086:31d8] (rev f3)
Kernel driver in use: pcieport
00:13.2 PCI bridge [0604]: Intel Corporation Gemini Lake PCI Express Root Port [8086:31da] (rev f3)
Kernel driver in use: pcieport
00:13.3 PCI bridge [0604]: Intel Corporation Gemini Lake PCI Express Root Port [8086:31db] (rev f3)
Kernel driver in use: pcieport
00:14.0 PCI bridge [0604]: Intel Corporation Gemini Lake PCI Express Root Port [8086:31d6] (rev f3)
Kernel driver in use: pcieport
00:14.1 PCI bridge [0604]: Intel Corporation Gemini Lake PCI Express Root Port [8086:31d7] (rev f3)
Kernel driver in use: pcieport
00:15.0 USB controller [0c03]: Intel Corporation Device [8086:31a8] (rev 03)
Subsystem: Hewlett-Packard Company Device [103c:849e]
Kernel driver in use: xhci_hcd
00:17.0 Signal processing controller [1180]: Intel Corporation Device [8086:31b4] (rev 03)
Subsystem: Hewlett-Packard Company Device [103c:849e]
Kernel driver in use: intel-lpss
00:17.3 Signal processing controller [1180]: Intel Corporation Device [8086:31ba] (rev 03)
Subsystem: Hewlett-Packard Company Device [103c:849e]
Kernel driver in use: intel-lpss
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:31e8] (rev 03)
Subsystem: Hewlett-Packard Company Device [103c:849e]
00:1f.1 SMBus [0c05]: Intel Corporation Celeron/Pentium Silver Processor Gaussian Mixture Model [8086:31d4] (rev 03)
Subsystem: Hewlett-Packard Company Device [103c:849e]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
DeviceName: Hanksville Gbe Lan Connection
Subsystem: Hewlett-Packard Company Device [103c:849e]
Kernel driver in use: r8169
Kernel modules: r8169
05:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
DeviceName: WLAN
Subsystem: Hewlett-Packard Company Device [103c:831a]
Kernel modules: 8821ce
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/7p, 5000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
/sys/bus/usb/devices/usb2 /dev/bus/usb/002/001
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/9p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
/sys/bus/usb/devices/usb1 /dev/bus/usb/001/001
|__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
ID 214b:7250 Huasheng Electronics
/sys/bus/usb/devices/1-3 /dev/bus/usb/001/002
|__ Port 2: Dev 8, If 0, Class=Wireless, Driver=rndis_host, 480M
ID 2717:ff80 Xiaomi Inc. Mi/Redmi series (RNDIS)
/sys/bus/usb/devices/1-3.2 /dev/bus/usb/001/008
|__ Port 2: Dev 8, If 1, Class=CDC Data, Driver=rndis_host, 480M
ID 2717:ff80 Xiaomi Inc. Mi/Redmi series (RNDIS)
/sys/bus/usb/devices/1-3.2 /dev/bus/usb/001/008
|__ Port 3: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
ID 046d:c077 Logitech, Inc. M105 Optical Mouse
/sys/bus/usb/devices/1-3.3 /dev/bus/usb/001/006
|__ Port 1: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
ID 046d:c31c Logitech, Inc. Keyboard K120
/sys/bus/usb/devices/1-3.1 /dev/bus/usb/001/004
|__ Port 1: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
ID 046d:c31c Logitech, Inc. Keyboard K120
/sys/bus/usb/devices/1-3.1 /dev/bus/usb/001/004
|__ Port 7: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M
ID 0408:5310 Quanta Computer, Inc.
/sys/bus/usb/devices/1-7 /dev/bus/usb/001/003
|__ Port 7: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M
ID 0408:5310 Quanta Computer, Inc.
/sys/bus/usb/devices/1-7 /dev/bus/usb/001/003
|__ Port 8: Dev 5, If 1, Class=Wireless, Driver=btusb, 12M
ID 0bda:b00a Realtek Semiconductor Corp. Realtek Bluetooth 4.2 Adapter
/sys/bus/usb/devices/1-8 /dev/bus/usb/001/005
|__ Port 8: Dev 5, If 0, Class=Wireless, Driver=btusb, 12M
ID 0bda:b00a Realtek Semiconductor Corp. Realtek Bluetooth 4.2 Adapter
/sys/bus/usb/devices/1-8 /dev/bus/usb/001/005
[root@localhost fedora001]#
:cry:

1 Like

Remove all old kernels leaving only the latest one and check:

rpm -q -a kernel\* | sort

Then try to reinstall the driver:

cd rtl8821ce
chmod +x dkms-*.sh
sudo ./dkms-remove.sh
sudo ./dkms-install.sh
1 Like

Dear vgaetera,
The Wi-Fi is enabled.
Thank you so much for your assistance.

1 Like