Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] Realtek_wifi.

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
LTL
Posts: 41
Joined: 2018-06-06 01:03
Location: Sacramento, California

[SOLVED] Realtek_wifi.

#1 Post by LTL »

* Realtek RTL8821AE firmware, version 29 (rtlwifi/rtl8821aefw_29.bin). Please see the snapshot attached. Also, you can see those files installed in my system:
/lib/modules/5.10.0-18-amd64/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8821ae
/lib/modules/5.10.0-18-amd64/kernel/drivers/net/wireless/realtek/rtlwifi/rtl_pci.ko
/lib/modules/5.10.0-18-amd64/kernel/drivers/net/wireless/realtek/rtlwifi/rtl_usb.ko
/lib/modules/5.10.0-18-amd64/kernel/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko
However, wifi is no where to be found:
loc@debian:~$ /sbin/iwconfig
lo no wireless extensions.

enp2s0 no wireless extensions.

loc@debian:~$
Attachments
Screenshot from 2022-09-23 10-54-15.png
Screenshot from 2022-09-23 10-54-15.png (42.15 KiB) Viewed 5040 times
Last edited by LTL on 2022-10-12 18:30, edited 1 time in total.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Realtek_wifi.

#2 Post by Head_on_a_Stick »

Please post the output of

Code: Select all

lspci -knn | grep -A3 Network
journalctl | curl -F 'file=@-' 0x0.st
The journalctl command will need to be run as root unless your normal user is a member of the systemd-journal group.
deadbang

LTL
Posts: 41
Joined: 2018-06-06 01:03
Location: Sacramento, California

Re: Realtek_wifi.

#3 Post by LTL »

Head_on_a_Stick wrote: 2022-09-23 19:35 Please post the output of

Code: Select all

lspci -knn | grep -A3 Network
journalctl | curl -F 'file=@-' 0x0.st
The journalctl command will need to be run as root unless your normal user is a member of the systemd-journal group.
Thanks. Here the information you need:
loc@debian:~$ lspci -knn | grep -A3 Network
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
Subsystem: Hewlett-Packard Company RTL8821CE 802.11ac PCIe Wireless Network Adapter [103c:831a]
Kernel modules: rtw_8821ce
loc@debian:~$ su -
Password:
root@debian:~# journalctl | curl -F 'file=@-' 0x0.st
http://0x0.st/oWTI.txt
root@debian:~#
As part of journalctl list, you will see fail to load firmware: rtw88/rtw8821c_fw.bin. This file I downloaded from git hub, and it was not from realtek_20210315-3.deb from Debian 11 non-free packages.
Attachments
Screenshot from 2022-09-23 14-34-50.png
Screenshot from 2022-09-23 14-34-50.png (17.71 KiB) Viewed 5018 times

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Realtek_wifi.

#4 Post by Head_on_a_Stick »

LTL wrote: 2022-09-23 22:06As part of journalctl list, you will see fail to load firmware: rtw88/rtw8821c_fw.bin. This file I downloaded from git hub, and it was not from realtek_20210315-3.deb from Debian 11 non-free packages.
Does it work if you use the firmware from the repositories?

Note that you have an RTL8821CE, which is not the same as an RTL8821AE (the card you claimed to be using in your OP). The driver was only mainlined for kernel 5.9 so linux-image-amd64 from bullseye-backports might be better for that device. There are also some other driver versions available:

https://github.com/tomaspinho/rtl8821ce

https://github.com/lwfinger/rtw88
deadbang

LTL
Posts: 41
Joined: 2018-06-06 01:03
Location: Sacramento, California

Re: Realtek_wifi.

#5 Post by LTL »

Head_on_a_Stick wrote: 2022-09-23 23:02
LTL wrote: 2022-09-23 22:06As part of journalctl list, you will see fail to load firmware: rtw88/rtw8821c_fw.bin. This file I downloaded from git hub, and it was not from realtek_20210315-3.deb from Debian 11 non-free packages.
Does it work if you use the firmware from the repositories?

Note that you have an RTL8821CE, which is not the same as an RTL8821AE (the card you claimed to be using in your OP). The driver was only mainlined for kernel 5.9 so linux-image-amd64 from bullseye-backports might be better for that device. There are also some other driver versions available:

https://github.com/tomaspinho/rtl8821ce

https://github.com/lwfinger/rtw88
Thanks. Firmware: rtw88/rtw8821c_fw.bin is on lib/firmware/rtw88/rtw8821c_fw.bin. This one was clowned from lwfinger github. Do you know why it failed to load?
Attachments
Screenshot from 2022-09-23 17-50-22.png
Screenshot from 2022-09-23 17-50-22.png (54.49 KiB) Viewed 4998 times

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Realtek_wifi.

#6 Post by Head_on_a_Stick »

No, I do not. There have been some reports in the past of buggy firmware releases, I found some links yesterday but I don't have them handy atm.

To be clear: remove the firmware you have downloaded manually and install the firmware-realtek package from the Debian repositories instead.
deadbang

LTL
Posts: 41
Joined: 2018-06-06 01:03
Location: Sacramento, California

Re: Realtek_wifi.

#7 Post by LTL »

Thank you very much for your time to work with me. However, Debian repositories doesn't support 8821ce as yet, only 8822ce. Only options now switching to Ubuntu 20.4, or staying with Debian and wait for new release from Debian's repository. I choose to wait instead.
Attachments
Screenshot from 2022-09-25 16-31-57.png
Screenshot from 2022-09-25 16-31-57.png (15.46 KiB) Viewed 4922 times

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Realtek_wifi.

#8 Post by Scorpion »

Are you on stable?
You can install the firmware from testing or sid, they are just firmware that don't depend on packages.

panpan
Posts: 61
Joined: 2015-09-18 17:07
Has thanked: 3 times

Re: Realtek_wifi.

#9 Post by panpan »

This laptop has a Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter. It is not supported by bullseye's 5.10 kernel, but since 5.13 (I think).
I installed kernel 5.18 from bullseye-backports and now it's working. I haven't made any benchmarks, though.
https://wiki.debian.org/InstallingDebia ... L8821CE%29

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Realtek_wifi.

#10 Post by stevepusser »

Once again, for any beginners that may find this thread, FIRMWARE IS NOT DRIVERS.
MX Linux packager and developer

LTL
Posts: 41
Joined: 2018-06-06 01:03
Location: Sacramento, California

Re: Realtek_wifi.

#11 Post by LTL »

panpan wrote: 2022-10-04 10:21
This laptop has a Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter. It is not supported by bullseye's 5.10 kernel, but since 5.13 (I think).
I installed kernel 5.18 from bullseye-backports and now it's working. I haven't made any benchmarks, though.
https://wiki.debian.org/InstallingDebia ... L8821CE%29
Thank you very much. It works.

LTL
Posts: 41
Joined: 2018-06-06 01:03
Location: Sacramento, California

Re: Realtek_wifi.

#12 Post by LTL »

LTL wrote: 2022-10-05 19:39
panpan wrote: 2022-10-04 10:21
This laptop has a Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter. It is not supported by bullseye's 5.10 kernel, but since 5.13 (I think).
I installed kernel 5.18 from bullseye-backports and now it's working. I haven't made any benchmarks, though.
https://wiki.debian.org/InstallingDebia ... L8821CE%29
Thank you very much. It works.
I forgot to mention that I still needed to install firmware-realtek_20210315-3_all.deb in order to work with kernel 5.18. How can I report this problem was solved?

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: Realtek_wifi.

#13 Post by sunrat »

LTL wrote: 2022-10-12 03:08How can I report this problem was solved?
Edit the title of your first post to add [SOLVED].
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Post Reply