Problems with WLAN Realtek 8821CE

Hi everyone!

I’m Iván, new on this foro, and new neophyte with OPENSUSE I have some problem with my notebook with WIFI adapter and OPENSUSE 15.2

I have a HP Pavilion, WIFI adapter is a Realtek 8821CE but it does not recognize the wlan card(YAST Network manage).But if i use the information of harware I can see the adapter

I have searched and tried various solutions on the web with 0 positive results.
I need help!!
PD: LAN work very well.

Please post:

/sbin/lspci -nnk | grep -i A3 net
uname -a

To see your running kernel and decide, which package/Repo you need.

If you can do, please use temporarily a LAN cable to get Internet.

Use Code-Tags:
https://forums.opensuse.org/showthread.php/536143-Using-Code-Tags-Around-Your-Paste

Hi everyone!!!
below you can find the response knsole

uname -a**response

Linux localhost 5.3.18-lp152.66-preempt #1 SMP PREEMPT Tue Mar 2 13:18:19 UTC 2021 (7393
3a3) x86_64 x86_64 x86_64 GNU/LinuxLinux localhost 5.3.18-lp152.66-preempt #1 SMP PREEMPT Tue Mar 2 13:18:19 UTC 2021 (7393
3a3) x86_64 x86_64 x86_64 GNU/Linux

/sbin/lspci -nnk | grep -i A3 netresponse:
nothing.

**

/sbin/lspci -nnk | grep -i A3 netresponse:
nothing.

My fault, should be:

/sbin/lspci -nnk | grep -iA3 net

So please show:


stephan@hp-laptop:~> /sbin/lspci -nnk | grep -iA3 net
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
        Subsystem: Hewlett-Packard Company Device [103c:84a6]
        Kernel driver in use: r8169
        Kernel modules: r8169
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
        Subsystem: Hewlett-Packard Company Device [103c:831a]
        Kernel driver in use: rtw_8821ce
        Kernel modules: rtw88_8821ce, rtw_8821ce

But this is on kernel 5.11 so I use rtw88.

On Leap with kernel 5.3 you should use rtl8821ce.

Add Repository:

zypper ar -f https://download.opensuse.org/repositories/home:/Sauerland:/hardware/openSUSE_Leap_15.2_Update/ Sauerland-update

Install the driver:

zypper in rtl8821ce-kmp-preempt

Reboot and configure.

Hi everyone!

look, this the response for execute that order

tesla@localhost:~> sudo /sbin/lspci -nnk | grep -iA3 net
01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
        Subsystem: Hewlett-Packard Company Device [103c:831a]
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
        Subsystem: Hewlett-Packard Company Pavilion Laptop 15-cw1xxx [103c:8615]
        Kernel driver in use: r8169
        Kernel modules: r8169

THen, I add that repository, and install but launch error:

 	¿Desea rechazar la clave, confiar en ella temporalmente o confiar en ella siempre? [r/t/a/?] (r): a
La clave de firma gpg 'repomd.xml' expirará en 12 días.
  Repositorio:                 Sauerland-update
  Nombre de la clave:          home:Sauerland OBS Project <home:Sauerland@build.opensuse.org>
  Huella digital de la clave:  574ADCCC 9338C02B 5C4A189A 274389B3 E45195D5
  Clave creada:                dom 03 feb 2019 14:43:18 -03
  La clave caduca:             mar 13 abr 2021 13:43:18 -04 (expira en 12 días)
  Nombre de rpm:               gpg-pubkey-e45195d5-5c572836
Recuperando los metadatos del repositorio 'Sauerland-update' ................[terminado]
Construyendo el caché del repositorio Sauerland-update ......................[terminado]
Recuperando los metadatos del repositorio 'Repositorio principal de actualiza[terminado]
Construyendo el caché del repositorio Repositorio principal de actualizacione[terminado]
Cargando datos del repositorio...
Leyendo los paquetes instalados...
'rtl8821ce-kmp-preempt' no se ha encontrado en los nombres de paquetes. Se realizará la búsqueda en las características.
No se encuentran proveedores de 'rtl8821ce-kmp-preempt'.
Resolviendo dependencias de paquete...
No hay nada que hacer.

My fault, the package does not build with kernel-preempt, you have to install:

zypper in rtl8821ce-kmp-default

So you have to start with this kernel in grub2.

PS:
to get english output:

¿Desea rechazar la clave, confiar en ella temporalmente o confiar en ella siempre? [r/t/a/?] (r): a
La clave de firma gpg ‘repomd.xml’ expirará en 12 días.
Repositorio: Sauerland-update
Nombre de la clave: home:Sauerland OBS Project home:Sauerland@build.opensuse.org
Huella digital de la clave: 574ADCCC 9338C02B 5C4A189A 274389B3 E45195D5
Clave creada: dom 03 feb 2019 14:43:18 -03
La clave caduca: mar 13 abr 2021 13:43:18 -04 (expira en 12 días)

add LANG=C before your command:

LANG=C zypper se -s rtl8821ce-kmp
LANG=C zypper se -s rtl8821ce-kmp
Repository 'Sauerland-15.2' is out-of-date. You can run 'zypper refresh' as root to update it.
Repository 'Sauerland-15.2-Update' is out-of-date. You can run 'zypper refresh' as root to update it.
Repository 'packman-rwth' is out-of-date. You can run 'zypper refresh' as root to update it.
Loading repository data...
Reading installed packages...

S | Name                  | Type    | Version                                | Arch   | Repository
--+-----------------------+---------+----------------------------------------+--------+------------------------
i | rtl8821ce-kmp-default | package | git20210206_k5.11.8_1.g995fe45-6.2     | x86_64 | Sauerland-Kernel-Stable
v | rtl8821ce-kmp-default | package | git20210324_k5.3.18_lp152.66-lp152.5.3 | x86_64 | Sauerland-15.2-Update
v | rtl8821ce-kmp-default | package | git20210324_k5.3.18_lp152.19-lp152.5.1 | x86_64 | Sauerland-15.2

And now without:

zypper se -s rtl8821ce-kmp
Repository 'Sauerland-15.2' ist veraltet. Sie können 'zypper refresh' als root ausführen, um es zu aktualisieren.
Repository 'Sauerland-15.2-Update' ist veraltet. Sie können 'zypper refresh' als root ausführen, um es zu aktualisieren.
Repository 'packman-rwth' ist veraltet. Sie können 'zypper refresh' als root ausführen, um es zu aktualisieren.
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...

S | Name                  | Type  | Version                                | Arch   | Repository
--+-----------------------+-------+----------------------------------------+--------+------------------------
i | rtl8821ce-kmp-default | Paket | git20210206_k5.11.8_1.g995fe45-6.2     | x86_64 | Sauerland-Kernel-Stable
v | rtl8821ce-kmp-default | Paket | git20210324_k5.3.18_lp152.66-lp152.5.3 | x86_64 | Sauerland-15.2-Update
v | rtl8821ce-kmp-default | Paket | git20210324_k5.3.18_lp152.19-lp152.5.1 | x86_64 | Sauerland-15.2

Forgotten:
Please disable secure-boot in Bios/UEFI.
My kmps are not signed for secure-boot.

Hi Sauerland!

Look,

I can install your kpm,without problems. But no work again the wifi card. (reboot my pc after installation). :frowning: I configure with Yast Network Manager but nothig.

again execute de uname and de lspci command.
**lspci **


tesla@localhost:~> sudo /sbin/lspci -nnk | grep -iA3 net
01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
        Subsystem: Hewlett-Packard Company Device [103c:831a]
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
        Subsystem: Hewlett-Packard Company Pavilion Laptop 15-cw1xxx [103c:8615]
        Kernel driver in use: r8169
        Kernel modules: r8169

**uname
**


tesla@localhost:~> uname -a
Linux localhost.localdomain 5.3.18-lp152.66-preempt #1 SMP PREEMPT Tue Mar 2 13:18:19 UTC 2021 (73933a3) x86_64 x86_64 x86_64 GNU/Linux

I want to work with OPENSUSE but I can’t be connected to LAN:(:’(:’(

I want to work with OPENSUSE but I can’t be connected to LAN

Forgotten:

I disable secure-boot in Bios/UEFI.

Once more:
You are running the preempt kernel but my kmps are only build for the default kernel, so you should delete the preempt kernel or switch in the grub2 to the kernel-default.

But I would delete the preempt kernel.

Linux localhost.localdomain 5.3.18-lp152.66-preempt #1 SMP PREEMPT Tue Mar 2 13:18:19 UTC 2021 (73933a3) x86_64 x86_64 x86_64 GNU/Linux

Here:

Linux linux64 5.11.10-lp152.3.gfa5dcf1-default #1 SMP Fri Mar 26 08:43:28 UTC 2021 (fa5dcf1) x86_64 x86_64 x86_64 GNU/Linux

Hi Sauerland!!

I comment to you, who I was probe several options to solved this problem,so I preferred to reinstall the OPENSUSE 15.2 and then install your solution and… WORK!!!rotfl!rotfl!rotfl!

Thanks for you help

No need to install new, only wrong kernel version, could be changed in Yast2—Install Software or with zypper.

But if it now works all is good.