You are not logged in.
Hello! I installed Beryllium today and had some trouble on startup, as it seems like the OS can't detect my laptop's built-in wifi. I know it works fine since Ubuntu saw it when I was using MATE, but when attempting an install it said it couldn't see my ethernet interface. This laptop doesn't have an ethernet port at all, so after I dug out an old USB wifi adapter it was able to connect and do the standard install. The problem is, running lspci will list the card itself, but the OS seemingly refuses to load a driver to get it running. Any ideas how I can fix this?
Last edited by Gnollhide (2023-05-31 15:16:23)
Offline
I should mention, the output of rfkill is
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy1: Wireless LAN
Soft blocked: no
Hard blocked: no
and the output of inxi -SMNxx is
System: Host: bunsentop Kernel: 5.10.0-23-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1 Desktop: Openbox 3.6.1 dm: LightDM
Distro: BunsenLabs GNU/Linux 11 (Beryllium) base: Debian GNU/Linux 11
Machine: Type: Laptop System: HP product: HP Laptop 15-dy2xxx v: N/A serial: <superuser required> Chassis: type: 10
serial: <superuser required>
Mobo: HP model: 87FE v: 57.20 serial: <superuser required> UEFI: AMI v: F.21 date: 03/21/2022
Network: Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter vendor: Hewlett-Packard driver: N/A port: 3000
bus ID: 0000:01:00.0 chip ID: 10ec:c821
Device-2: 802.11g Adapter [Linksys WUSB54GC v3] WUSB100 v1 RangePlus Wireless Network Adapter [Ralink RT2870]
type: USB driver: rt2800usb bus ID: 1-2:5 chip ID: 1737:0070
it's specifically Device 1, the Realtek wifi chip, that's giving me problems.
Offline
So it should be this driver...
https://wiki.debian.org/rt2800usb
Connect to the Internet via ethernet, then confirm you have this package...
apt-cache policy firmware-misc-nonfree
..and if not, install it...
sudo apt install firmware-misc-nonfree
... and reboot. Post back if that doesn't work.
I don't care what you do at home. Would you care to explain?
Offline
it seems like the OS can't detect my laptop's built-in wifi.
The wifi was not detected by neither debian-installer, nor in live session?
According to the Linux hardware database]: https://linux-hardware.org/?id=pci:10ec-c821-103c-831a, the device should be supported from kernel 5.9...
The device should work with rtw8821ce.c, rtw88 and rtl8821ce drivers. The rt2800usb, is for your usb-dongle.
Have you done an hw-probe?
What happens after command (as root) "modprobe rtw88"?
And, just for the sake of it, have you installed the driver package "firmware-realtek", from backports?
Have you tested live session from standard Debian?
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
apt-cache policy reports this
firmware-misc-nonfree:
Installed: 20210315-3
Candidate: 20210315-3
Version table:
20230210-4~bpo11+1 100
100 https://deb.debian.org/debian bullseye-backports/non-free amd64 Packages
*** 20210315-3 500
500 https://deb.debian.org/debian bullseye/non-free amd64 Packages
100 /var/lib/dpkg/status
and if I try to install it just in case anything's missing, it tells me it's already installed. I'll go ahead and reboot just in case it helps, but I'll most likely be right back here in a minute.
Offline
Yep, no difference. Network manager says no network devices available. No wifi at all until I plug in the USB adapter.
Offline
Sounds like a package may be missing?
sudo apt update && sudo apt install iw isc-dhcp-client wireless-regdb net-tools wpasupplicant
* fyi - A couple of these are not really needed, like net-tools and maybe wireless-regdb.
Last edited by sleekmason (2023-05-30 14:28:16)
Offline
The rt2800usb, is for your usb-dongle.
Oops, shouldn't have posted quickly while very tired. Thanks for the correction, @rbh!
I don't care what you do at home. Would you care to explain?
Offline
No dice. Here's the terminal output.
gnoll@bunsentop:~$ sudo apt update && sudo apt install iw isc-dhcp-client wireless-regdb net-tools wpasupplicant
Hit:1 https://deb.debian.org/debian bullseye InRelease
Hit:2 https://deb.debian.org/debian-security bullseye-security InRelease
Hit:3 https://deb.debian.org/debian bullseye-updates InRelease
Hit:4 https://deb.debian.org/debian bullseye-backports InRelease
Hit:5 https://pkg.bunsenlabs.org/debian bullseye-backports InRelease
Hit:6 https://pkg.bunsenlabs.org/debian beryllium InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
isc-dhcp-client is already the newest version (4.4.1-2.3+deb11u2).
iw is already the newest version (5.9-3).
net-tools is already the newest version (1.60+git20181103.0eebece-1).
wireless-regdb is already the newest version (2022.04.08-2~deb11u1).
wpasupplicant is already the newest version (2:2.9.0-21).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Offline
Oh, progress, I was trying the suggestions left while I was sleeping, and noticed something. Trying to install firmware-realtek just says it's already installed, BUT a modprobe provided this.
gnoll@bunsentop:~$ sudo modprobe rtw88
[sudo] password for gnoll:
modprobe: FATAL: Module rtw88 not found in directory /lib/modules/5.10.0-23-amd64
Offline
Install the package
sudo apt install isenkram-cli
and then
sudo isenkram-autoinstall-firmware
If that doesn't help either, try an older kernel.
Offline
Here's the output of isenkram-autoinstall-firmware
gnoll@bunsentop:~$ sudo isenkram-autoinstall-firmware
info: some kernel driver requested extra firmware files: rtl_bt/rtl8723b_config.bin rtl_bt/rtl8723bs_config.bin rtl_bt/rtl8723ds_config.bin rtl_bt/rtl8723ds_fw.bin rtl_bt/rtl8761a_config.bin rtl_bt/rtl8821a_config.bin
info: locating packages with the requested firmware files
info: determining whether enabling other components is required
info: No new firmware package with requested firmware detected.
How would I go about trying an older kernel? I really wouldn't want to have to reinstall, but if I have to then it is what it is.
Offline
Some searching recommended checking boot logs with journalctl -b and the only two groups of errors I'd think would be involved with this is
May 30 08:03:12 bunsentop systemd[1]: Started File System Check Daemon to report status.
May 30 08:03:12 bunsentop kernel: rtw_8821ce 0000:01:00.0: rfe 2 isn't supported
May 30 08:03:12 bunsentop kernel: rtw_8821ce 0000:01:00.0: failed to setup chip efuse info
May 30 08:03:12 bunsentop kernel: rtw_8821ce 0000:01:00.0: failed to setup chip information
May 30 08:03:12 bunsentop kernel: proc_thermal 0000:00:04.0: Creating sysfs group for PROC_THERMAL_PCI
as well as
May 30 17:13:54 bunsentop kernel: ieee80211 phy2: rt2800usb_fill_rxdone: Error - Bad frame size 9342, forcing to 0
May 30 17:13:54 bunsentop kernel: ieee80211 phy2: rt2x00lib_rxdone: Error - Wrong frame size 0 max 3840
though the second one I'm not as certain is related.
Offline
Please check again if the package is installed.
Forget about my older kernel.
If you have to reinstall, use boron instead of beryllium (you can see the connection on the page above -->bookworm and the firmware packages with the new order).
Offline
I can confirm that it says the firmware-realtek package is installed. I went ahead and passed it with --reinstall to see if it makes any difference, will report back after a reboot.
Offline
Nope, no change.
Offline
But rtl8723b, is present in bullseye backports realtek-firmware... see https://packages.debian.org/bullseye-ba … re-realtek.
I think that rtl_bt/rtl8723b_, is for the bluetooth-part.
For the wifi-part sytstem should load driver from /lib/firmware/rtlwifi/
Just for the fun of it, have you looked what wifi drivers is loaded? Like:
$ lsmod | grep wifi
I asked you before: "have you installed the driver package "firmware-realtek", from backports?". You newer answered. But, I see from post #5, that you have not done so.
I advice you to do that. And latest kernel from backports.
Often, when problems with non-free drivers, it is best to install latest firmware/kernel.
But, if you have functional system and there is problem after upgrading, it can be wise to back to older packages and wait until newer packages comes.
To install from backports, you have to tell apt to get package from backports (More info about backports on https://backports.debian.org/):
$ sudo apt install linux-image-amd64/bullseye-backports firmware-realtek/bullseye-backports
Or if you prefer synaptic:
* Mark package to install
* Go to menu "Package" => Force version
* From drop down menu, choose the backported version and klick on "Force Version".
I think that should solve your problem.
Did you ever test if there was same problem with Lithium Live session?
Can you test wit live Boron, when it arrives?
Instead if installing from backport, you can test migrate to Bookworm/Boron.
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
But rtl8723b, is present in bullseye backports realtek-firmware... see https://packages.debian.org/bullseye-ba … re-realtek.
I think that rtl_bt/rtl8723b_, is for the bluetooth-part.
For the wifi-part sytstem should load driver from /lib/firmware/rtlwifi/Just for the fun of it, have you looked what wifi drivers is loaded? Like:
$ lsmod | grep wifi
I asked you before: "have you installed the driver package "firmware-realtek", from backports?". You newer answered. But, I see from post #5, that you have not done so.
I advice you to do that. And latest kernel from backports.
Often, when problems with non-free drivers, it is best to install latest firmware/kernel.
But, if you have functional system and there is problem after upgrading, it can be wise to back to older packages and wait until newer packages comes.To install from backports, you have to tell apt to get package from backports (More info about backports on https://backports.debian.org/):
$ sudo apt install linux-image-amd64/bullseye-backports firmware-realtek/bullseye-backports
Or if you prefer synaptic:
* Mark package to install
* Go to menu "Package" => Force version
* From drop down menu, choose the backported version and klick on "Force Version".I think that should solve your problem.
Did you ever test if there was same problem with Lithium Live session?
Can you test wit live Boron, when it arrives?Instead if installing from backport, you can test migrate to Bookworm/Boron.
Oh my apologies, I hadn't tried installing realtek firmware from backports specifically, I just assumed whatever apt would grab would be good enough. I did have the same problem in the Lithium Live session, it was the amd64 hybrid iso direct download listed on the website and it couldn't connect to my wifi card either. I'm very willing to help test Boron when it goes live to see if I can connect to wifi in the live session, since when it gets rolled out to beryllium I'll just do a normal upgrade (if that works well enough). I'll go ahead and pull the realtek firmware from backports with the code you posted, reboot, and let you know if I can get any life from the card.
Offline
Oh, and the output of lsmod is
gnoll@bunsentop:~$ lsmod | grep wifi
rtlwifi 106496 0
mac80211 995328 6 rtw88_pci,rt2x00lib,rtlwifi,rtw88_core,rt2x00usb,rt2800lib
cfg80211 983040 4 rt2x00lib,rtlwifi,rtw88_core,mac80211
Offline
Well I'll be. It was entirely because I hadn't thought to pull the realtek-firmware from backports and thought the default would work. My wifi card is working and can connect to my 5G network instead of the 2G that the ancient wifi dongle could. Thank you so much for your help everyone, I'll mark this problem as resolved.
Offline