After a recent upgrade noticing wifi disconnects randomly, speeds vary back and forth from 0.1Mbps to 100Mbps within a few seconds, can be up for a few seconds, or a few hours, not predictable. I'm trying to file a bug report using ubuntu-bug
but I don't know which package is at fault.
This might be some relevant information, but I looked through the modules and don't see anything like rtw_8821ce
, there are rtw88_*
modules which might be relevant, but in any case I can't map these to any packages as far as I can tell.
Distributor ID: Ubuntu
Description: Ubuntu 23.10
Release: 23.10
Codename: mantic
*-network
description: Wireless interface
product: Realtek Semiconductor Co., Ltd.
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 00
serial: b4:b0:24:d4:d7:ea
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtw_8821ce driverversion=6.5.0-15-generic firmware=N/A ip=192.168.2.52 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:33 ioport:e000(size=256) memory:f7c00000-f7c0ffff
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b821
Subsystem: Realtek Semiconductor Co., Ltd. Device b821
Flags: bus master, fast devsel, latency 0, IRQ 33
I/O ports at e000 [size=256]
Memory at f7c00000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [148] Device Serial Number 00-e0-4c-ff-fe-c8-21-01
Capabilities: [158] Latency Tolerance Reporting
Capabilities: [160] L1 PM Substates
Capabilities: [170] Precision Time Measurement
Capabilities: [17c] Vendor Specific Information: ID=0003 Rev=1 Len=054 <?>
Kernel driver in use: rtw_8821ce
Kernel modules: rtw88_8821ce
This was the best reference I can find: WiFi frequently and randomly disconnects, rtw_8821ce driver, but even though it's in the "Newbie Corner" section, I'm not able to follow what they're doing. Like "Have you tried connecting with just wpa_supplicant (and a DHCP client if needed)?" is way over my skill level.
In any case, I'd like to at least fill out a bug report if anyone can help with identifying the relevant package.
As requested, this is the relevant output from iwconfig
, I've just rebooted, as that sometimes helps for a bit, so the stats might not be representative:
wlp2s0 IEEE 802.11 ESSID:"************"
Mode:Managed Frequency:5.785 GHz Access Point: 0E:**:**:**:**:0F
Bit Rate=13 Mb/s Tx-Power=30 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=50/70 Signal level=-60 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:92 Invalid misc:0 Missed beacon:0
And another output a few minutes later:
wlp2s0 IEEE 802.11 ESSID:"************"
Mode:Managed Frequency:2.412 GHz Access Point: 0C:**:**:**:**:0D
Bit Rate=58.5 Mb/s Tx-Power=30 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=62/70 Signal level=-48 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:9 Invalid misc:1 Missed beacon:0
And after a few hours, note the speed looks really good, but the connection isn't working. I'm running off a hot spot now.
wlp2s0 IEEE 802.11 ESSID:"************"
Mode:Managed Frequency:5.785 GHz Access Point: 0E:**:**:**:**:0F
Bit Rate=175.5 Mb/s Tx-Power=30 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=39/70 Signal level=-71 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:146 Invalid misc:66 Missed beacon:0
ubuntu-bug linux
. But before you leave, what's the output ofiwconfig
? – Daniel T Jan 28 '24 at 12:57iwconfig
. – Yimin Rong Jan 28 '24 at 13:20nmcli connection modify YOUR_ESSID 802-11-wireless.bssid 0C:**:**:**:**:0D
(or the same thing by setting the 2.4GHz MAC as the fixed BSSID in the GUI) then reconnecting/rebooting. Does this improve things? – Daniel T Jan 28 '24 at 13:33modinfo rtw_8821ce; dkms status
– Jeremy31 Jan 28 '24 at 14:23$ modinfo rtw_8821ce ; dkms status modinfo: ERROR: Module rtw_8821ce not found.
– Yimin Rong Jan 29 '24 at 02:43