Realtek RTL8821CE wifi card is off

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post please read how to get help
Post Reply
madbull
Level 1
Level 1
Posts: 4
Joined: Mon Sep 26, 2022 3:43 am

Realtek RTL8821CE wifi card is off

Post by madbull »

Hi,

I have a problem with my Realtek RTL8821CE wifi card since I upgraded from 5.15.0-47 to 5.15.0-48 kernel but even if I load the system the the 5.15.0-47 kernel I still have the problem.

In Driver Manager I see that the card is using an alternative driver, rtl8821ce-dkms version 5.5.2.1-0ubuntu10.

In System Information I see
Network:
Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter vendor: Hewlett-Packard
driver: N/A pcie: speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 17:00.0 chip-ID: 10ec:c821

In Driver Manager the card has a driver, in System Information the card has not a driver.
Result? The card is off and I have to use a USB Wifi card.

Do you have a solution?
Thank you
User avatar
Pjotr
Level 23
Level 23
Posts: 18147
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Realtek RTL8821CE wifi card is off

Post by Pjotr »

Please generate an overview of your system like this:
- Launch a terminal window (this is how to launch a terminal window);
- Make the terminal window full screen, to avoid chopped lines;
- Copy/paste this command into the terminal:

Code: Select all

inxi -Fxpmrz
(if you type: the letter F is a capital letter, and don't omit the space after inxi!)

Press Enter.

Copy/paste the output in your next message.

Do the same with the following four commands:

Code: Select all

rfkill list all

Code: Select all

iwconfig

Code: Select all

lsusb

Code: Select all

lspci
Tip: 10 things to do after installing Linux Mint 21 Vanessa
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
madbull
Level 1
Level 1
Posts: 4
Joined: Mon Sep 26, 2022 3:43 am

Re: Realtek RTL8821CE wifi card is off

Post by madbull »

Thank you Pjotr for your help.
Here is the output of inxi -Fxpmrz

System:
Kernel: 5.15.0-48-generic x86_64 bits: 64 compiler: gcc v: 11.2.0
Desktop: Cinnamon 5.4.12 Distro: Linux Mint 21 Vanessa
base: Ubuntu 22.04 jammy
Machine:
Type: Desktop System: HP product: HP Pavilion Desktop 590-p0xxx v: N/A
serial: <superuser required>
Mobo: HP model: 8433 v: 11 serial: <superuser required> UEFI: AMI v: F.55
date: 07/11/2022
Memory:
RAM: total: 6.69 GiB used: 3.33 GiB (49.8%)
RAM Report:
permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: quad core model: AMD Ryzen 5 2400G with Radeon Vega Graphics bits: 64
type: MT MCP arch: Zen rev: 0 cache: L1: 384 KiB L2: 2 MiB L3: 4 MiB
Speed (MHz): avg: 1755 high: 2967 min/max: 1600/3600 boost: enabled
cores: 1: 1352 2: 1352 3: 1352 4: 1352 5: 1352 6: 1351 7: 2967 8: 2965
bogomips: 57491
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Mobile Series]
vendor: Hewlett-Packard driver: amdgpu v: kernel bus-ID: 38:00.0
Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: amdgpu,ati
unloaded: fbdev,modesetting,vesa gpu: amdgpu resolution: 1366x768~60Hz
OpenGL: renderer: AMD Radeon Vega 11 Graphics (raven LLVM 13.0.1 DRM 3.42
5.15.0-48-generic)
v: 4.6 Mesa 22.0.5 direct render: Yes
Audio:
Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus-ID: 38:00.1
Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
vendor: Hewlett-Packard driver: snd_pci_acp3x v: kernel bus-ID: 38:00.5
Device-3: AMD Family 17h HD Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus-ID: 38:00.6
Sound Server-1: ALSA v: k5.15.0-48-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
vendor: Hewlett-Packard driver: N/A port: f000 bus-ID: 17:00.0
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Hewlett-Packard driver: r8169 v: kernel port: e000 bus-ID: 2e:00.0
IF: enp46s0 state: down mac: <filter>
Device-3: Realtek RTL8187B Wireless 802.11g 54Mbps Network Adapter
type: USB driver: rtl8187 bus-ID: 1-2:5
IF: wlx0014d16e4ec0 state: up mac: <filter>
Bluetooth:
Device-1: Realtek Bluetooth 4.2 Adapter type: USB driver: btusb v: 0.8
bus-ID: 1-10:4
Report: hciconfig ID: hci0 rfk-id: 0 state: down
bt-service: enabled,running rfk-block: hardware: no software: yes
address: <filter>
Drives:
Local Storage: total: 1.82 TiB used: 1.42 TiB (77.8%)
ID-1: /dev/sda vendor: Hitachi model: HUA723020ALA641 size: 1.82 TiB
Partition:
ID-1: / size: 1.79 TiB used: 724.82 GiB (39.6%) fs: ext4 dev: /dev/sda2
ID-2: /boot/efi size: 511 MiB used: 5.2 MiB (1.0%) fs: vfat
dev: /dev/sda1
ID-3: /home/ste2 size: 1.79 TiB used: 724.82 GiB (39.6%) fs: ecryptfs
source: ERR-102
Swap:
ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) file: /swapfile
Sensors:
System Temperatures: cpu: 27.0 C mobo: N/A gpu: amdgpu temp: 28.0 C
Fan Speeds (RPM): N/A
Repos:
Packages: 2898
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/google-earth-pro.list
1: deb [arch=amd64] http://dl.google.com/linux/earth/deb/ stable main
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http://ftp.sh.cvut.cz/mint vanessa main upstream import backport
2: deb http://ubuntu.lagis.at/ubuntu jammy main restricted universe multiverse
3: deb http://ubuntu.lagis.at/ubuntu jammy-updates main restricted universe multiverse
4: deb http://ubuntu.lagis.at/ubuntu jammy-backports main restricted universe multiverse
5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Active apt repos in: /etc/apt/sources.list.d/opera-stable.list
1: deb https://deb.opera.com/opera-stable/ stable non-free
Info:
Processes: 309 Uptime: 2h 10m Init: systemd runlevel: 5 Compilers:
gcc: 11.2.0 Shell: Bash v: 5.1.16 inxi: 3.3.13
User avatar
Pjotr
Level 23
Level 23
Posts: 18147
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Realtek RTL8821CE wifi card is off

Post by Pjotr »

Nice, but that's only the output of the first command. I asked for the output of four more.
Tip: 10 things to do after installing Linux Mint 21 Vanessa
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
madbull
Level 1
Level 1
Posts: 4
Joined: Mon Sep 26, 2022 3:43 am

Re: Realtek RTL8821CE wifi card is off

Post by madbull »

Sorry Pjotr.
Here you can find the output of four more commands.

ste2@ste2-HP-Pavilion-Desktop-590-p0xxx:~$ rfkill list all
0: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
ste2@ste2-HP-Pavilion-Desktop-590-p0xxx:~$ iwconfig
lo no wireless extensions.

enp46s0 no wireless extensions.

wlx0014d16e4ec0 IEEE 802.11 ESSID:"Redmi 9C NFC"
Mode:Managed Frequency:2.462 GHz Access Point: 1A:22:FF:D7:F1:9E
Bit Rate=54 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=70/70 Signal level=11 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:858 Invalid misc:3320 Missed beacon:0

ste2@ste2-HP-Pavilion-Desktop-590-p0xxx:~$ lsusb
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 046a:0023 Cherry GmbH Keyboard
Bus 001 Device 002: ID 04f2:0923 Chicony Electronics Co., Ltd HP USB Optical Mouse
Bus 001 Device 005: ID 0bda:8189 Realtek Semiconductor Corp. RTL8187B Wireless 802.11g 54Mbps Network Adapter
Bus 001 Device 004: ID 0bda:b00a Realtek Semiconductor Corp. Realtek Bluetooth 4.2 Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ste2@ste2-HP-Pavilion-Desktop-590-p0xxx:~$ lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
00:01.6 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus A
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus B
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 7
15:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset USB 3.1 xHCI Controller (rev 02)
15:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset SATA Controller (rev 02)
15:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b2 (rev 02)
16:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02)
16:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02)
16:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02)
17:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
2e:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
38:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev c6)
38:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
38:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
38:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
38:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
38:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor
38:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
39:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 61)
ste2@ste2-HP-Pavilion-Desktop-590-p0xxx:~$
User avatar
Pjotr
Level 23
Level 23
Posts: 18147
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Realtek RTL8821CE wifi card is off

Post by Pjotr »

Tip: 10 things to do after installing Linux Mint 21 Vanessa
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
madbull
Level 1
Level 1
Posts: 4
Joined: Mon Sep 26, 2022 3:43 am

Re: Realtek RTL8821CE wifi card is off

Post by madbull »

I followed your instructions.
I just disabled Secure Boot and the WiFi card now is ok.
After a reboot the WiFi card is still active and runs regularly.

Thank you Pjotr
Post Reply

Return to “Networking”