You are not logged in.

#1 2022-12-03 11:09:10

aks
Member
Registered: 2020-03-17
Posts: 21

[Solved] Random disconnect of wifi 8852BE

I checked few of the other posts on this forum, tried several things but couldn't find out the issue.

The issue is that my laptop would disconnect from Wi-Fi at unknown times (sometimes 1min, sometimes 50min, mostly 10-15min) while I am actively using internet. It will reconnect as well after few seconds.

I am using driver by manually compiling https://github.com/lwfinger/rtw8852be .

On router side, I have two AP's, one for 2.4GHz and other for 5GHz with different names: DIR-825-3111 and DIR-825-5G-3111. My two mobiles stay connected for 15hours+ even in sleep mode (router shows that they are on power saving Active mode) but the max time I have seen for my laptop is 52min. I even turned off either AP to see if 2 AP's are a problem but it isn't.

I am not using any radio functionality from tlp. Issue existed even before that but I waited several months before writing this post with the hope that the Wi-Fi driver would be available in Arch Kernel but it seems like it would still take several weeks.

Some of the command outputs are below, let me know other commands that needs to be run and output to be provided.

uname -a
Linux hp 5.15.80-1-lts #1 SMP Sat, 26 Nov 2022 20:23:30 +0000 x86_64 GNU/Linux
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
bluetooth.service                        | bluetooth.target.wants
chkboot.service                          | multi-user.target.wants
choose-mirror.service                    | multi-user.target.wants
dbus-org.bluez.service                   | system
dbus-org.freedesktop.network1.service    | system
dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.resolve1.service    | system
default.target                           | system
display-manager.service                  | system
gcr-ssh-agent.socket                     | sockets.target.wants
getty@tty1.service                       | getty.target.wants
libvirtd-ro.socket                       | sockets.target.wants
libvirtd.service                         | multi-user.target.wants
libvirtd.socket                          | sockets.target.wants
livecd-alsa-unmuter.service              | sound.target.wants
livecd-talk.service                      | multi-user.target.wants
NetworkManager.service                   | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
p11-kit-server.socket                    | sockets.target.wants
pacman-init.service                      | multi-user.target.wants
pipewire-pulse.socket                    | sockets.target.wants
pipewire-session-manager.service         | user
pipewire.socket                          | sockets.target.wants
reflector.service                        | multi-user.target.wants
remote-fs.target                         | multi-user.target.wants
sshd.service                             | multi-user.target.wants
systemd-networkd.service                 | multi-user.target.wants
systemd-networkd.socket                  | sockets.target.wants
systemd-networkd-wait-online.service     | network-online.target.wants
systemd-resolved.service                 | multi-user.target.wants
tlp.service                              | multi-user.target.wants
virtlockd.socket                         | sockets.target.wants
virtlogd.socket                          | sockets.target.wants
wireplumber.service                      | pipewire.service.wants
xdg-user-dirs-update.service             | default.target.wants
 sudo journalctl -b 
Dec 03 15:36:34 hp rtkit-daemon[3221]: Supervising 1 threads of 1 processes of 1 users.
Dec 03 15:36:34 hp rtkit-daemon[3221]: Supervising 1 threads of 1 processes of 1 users.
Dec 03 15:39:34 hp rtkit-daemon[3221]: Supervising 1 threads of 1 processes of 1 users.
Dec 03 15:39:34 hp rtkit-daemon[3221]: Supervising 1 threads of 1 processes of 1 users.
Dec 03 15:40:07 hp wpa_supplicant[1404]: wlo1: CTRL-EVENT-DISCONNECTED bssid=78:98:e8:38:31:14 reason=0
Dec 03 15:40:07 hp systemd-networkd[369]: wlo1: Lost carrier
Dec 03 15:40:07 hp systemd-networkd[369]: wlo1: DHCP lease lost
Dec 03 15:40:07 hp systemd-networkd[369]: wlo1: DHCPv6 lease lost
Dec 03 15:40:07 hp dbus-daemon[1144]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.0' (uid=980 pid=369 comm="/usr/lib/systemd/systemd-networkd")
Dec 03 15:40:07 hp systemd-resolved[634]: Switching to fallback DNS server 1.1.1.1#cloudflare-dns.com.
Dec 03 15:40:07 hp kernel: rtw8852be: Connection disconnected for reason 0
Dec 03 15:40:07 hp NetworkManager[1161]: <info>  [1670062207.3766] device (wlo1): supplicant interface state: completed -> disconnected
Dec 03 15:40:07 hp NetworkManager[1161]: <info>  [1670062207.3769] device (p2p-dev-wlo1): supplicant management interface state: completed -> disconnected
Dec 03 15:40:07 hp systemd[1]: Starting Hostname Service...
Dec 03 15:40:07 hp dbus-daemon[1144]: [system] Successfully activated service 'org.freedesktop.hostname1'
Dec 03 15:40:07 hp systemd[1]: Started Hostname Service.
Dec 03 15:40:07 hp NetworkManager[1161]: <info>  [1670062207.4749] device (wlo1): supplicant interface state: disconnected -> scanning
Dec 03 15:40:07 hp NetworkManager[1161]: <info>  [1670062207.4750] device (p2p-dev-wlo1): supplicant management interface state: disconnected -> scanning
Dec 03 15:40:11 hp wpa_supplicant[1404]: wlo1: Trying to associate with 78:98:e8:38:31:14 (SSID='DIR-825-3111' freq=2472 MHz)
Dec 03 15:40:11 hp NetworkManager[1161]: <info>  [1670062211.8813] device (wlo1): supplicant interface state: scanning -> associating
Dec 03 15:40:11 hp NetworkManager[1161]: <info>  [1670062211.8813] device (p2p-dev-wlo1): supplicant management interface state: scanning -> associating
Dec 03 15:40:12 hp systemd-networkd[369]: wlo1: Connected WiFi access point: DIR-825-3111 (78:98:e8:38:31:14)
Dec 03 15:40:12 hp wpa_supplicant[1404]: wlo1: Associated with 78:98:e8:38:31:14
Dec 03 15:40:12 hp wpa_supplicant[1404]: wlo1: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Dec 03 15:40:12 hp NetworkManager[1161]: <info>  [1670062212.1780] device (wlo1): supplicant interface state: associating -> 4way_handshake
Dec 03 15:40:12 hp NetworkManager[1161]: <info>  [1670062212.1781] device (p2p-dev-wlo1): supplicant management interface state: associating -> 4way_handshake
Dec 03 15:40:12 hp wpa_supplicant[1404]: wlo1: WPA: Key negotiation completed with 78:98:e8:38:31:14 [PTK=CCMP GTK=CCMP]
Dec 03 15:40:12 hp wpa_supplicant[1404]: wlo1: CTRL-EVENT-CONNECTED - Connection to 78:98:e8:38:31:14 completed [id=0 id_str=]
Dec 03 15:40:12 hp wpa_supplicant[1404]: bgscan simple: Failed to enable signal strength monitoring
Dec 03 15:40:12 hp systemd-networkd[369]: wlo1: Gained carrier
Dec 03 15:40:12 hp NetworkManager[1161]: <info>  [1670062212.1853] device (wlo1): supplicant interface state: 4way_handshake -> completed
Dec 03 15:40:12 hp NetworkManager[1161]: <info>  [1670062212.1858] device (wlo1): ip:dhcp4: restarting
Dec 03 15:40:12 hp NetworkManager[1161]: <info>  [1670062212.1859] dhcp4 (wlo1): canceled DHCP transaction
Dec 03 15:40:12 hp NetworkManager[1161]: <info>  [1670062212.1860] dhcp4 (wlo1): activation: beginning transaction (timeout in 45 seconds)
Dec 03 15:40:12 hp NetworkManager[1161]: <info>  [1670062212.1860] dhcp4 (wlo1): state changed no lease
Dec 03 15:40:12 hp NetworkManager[1161]: <info>  [1670062212.1861] dhcp4 (wlo1): activation: beginning transaction (timeout in 45 seconds)
Dec 03 15:40:12 hp NetworkManager[1161]: <info>  [1670062212.1864] device (wlo1): ip:dhcp6: restarting
Dec 03 15:40:12 hp NetworkManager[1161]: <info>  [1670062212.1866] dhcp6 (wlo1): canceled DHCP transaction
Dec 03 15:40:12 hp NetworkManager[1161]: <info>  [1670062212.1866] dhcp6 (wlo1): activation: beginning transaction (timeout in 45 seconds)
Dec 03 15:40:12 hp NetworkManager[1161]: <info>  [1670062212.1866] dhcp6 (wlo1): state changed no lease
Dec 03 15:40:12 hp NetworkManager[1161]: <info>  [1670062212.1867] dhcp6 (wlo1): activation: beginning transaction (timeout in 45 seconds)
Dec 03 15:40:12 hp NetworkManager[1161]: <info>  [1670062212.1869] device (p2p-dev-wlo1): supplicant management interface state: 4way_handshake -> completed
Dec 03 15:40:12 hp NetworkManager[1161]: <info>  [1670062212.1940] dhcp4 (wlo1): state changed new lease, address=192.168.0.162
Dec 03 15:40:12 hp dbus-daemon[1144]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.6' (uid=0 pid=1161 comm="/usr/bin/NetworkManager --no-daemon")
Dec 03 15:40:12 hp NetworkManager[1161]: <info>  [1670062212.2001] dhcp6 (wlo1): state changed new lease
Dec 03 15:40:12 hp systemd[1]: Starting Network Manager Script Dispatcher Service...
Dec 03 15:40:12 hp dbus-daemon[1144]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Dec 03 15:40:12 hp systemd[1]: Started Network Manager Script Dispatcher Service.
Dec 03 15:40:12 hp systemd-networkd[369]: wlo1: DHCPv4 address 192.168.0.162/24, gateway 192.168.0.1 acquired from 192.168.0.1
Dec 03 15:40:22 hp systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Dec 03 15:40:42 hp systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Dec 03 15:42:34 hp rtkit-daemon[3221]: Supervising 1 threads of 1 processes of 1 users.
Dec 03 15:42:34 hp rtkit-daemon[3221]: Supervising 1 threads of 1 processes of 1 users.
Dec 03 15:44:02 hp pkexec[23610]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
Dec 03 15:44:02 hp pkexec[23610]: adi: Executing command [USER=root] [TTY=unknown] [CWD=/home/adi] [COMMAND=/usr/bin/xfpm-power-backlight-helper --set-brightness 12]
Dec 03 15:44:38 hp wpa_supplicant[1404]: wlo1: CTRL-EVENT-DISCONNECTED bssid=78:98:e8:38:31:14 reason=0
Dec 03 15:44:38 hp systemd-networkd[369]: wlo1: Lost carrier
Dec 03 15:44:38 hp systemd-networkd[369]: wlo1: DHCP lease lost
Dec 03 15:44:38 hp dbus-daemon[1144]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.0' (uid=980 pid=369 comm="/usr/lib/systemd/systemd-networkd")
Dec 03 15:44:38 hp kernel: rtw8852be: Connection disconnected for reason 0
Dec 03 15:44:38 hp NetworkManager[1161]: <info>  [1670062478.1155] device (wlo1): supplicant interface state: completed -> disconnected
Dec 03 15:44:38 hp NetworkManager[1161]: <info>  [1670062478.1156] device (p2p-dev-wlo1): supplicant management interface state: completed -> disconnected
Dec 03 15:44:38 hp systemd[1]: Starting Hostname Service...
Dec 03 15:44:38 hp systemd-networkd[369]: wlo1: DHCPv6 lease lost
Dec 03 15:44:38 hp systemd-resolved[634]: Switching to fallback DNS server 1.1.1.1#cloudflare-dns.com.
Dec 03 15:44:38 hp dbus-daemon[1144]: [system] Successfully activated service 'org.freedesktop.hostname1'
Dec 03 15:44:38 hp systemd[1]: Started Hostname Service.
Dec 03 15:44:38 hp NetworkManager[1161]: <info>  [1670062478.2144] device (wlo1): supplicant interface state: disconnected -> scanning
Dec 03 15:44:38 hp NetworkManager[1161]: <info>  [1670062478.2145] device (p2p-dev-wlo1): supplicant management interface state: disconnected -> scanning
Dec 03 15:44:42 hp wpa_supplicant[1404]: wlo1: Trying to associate with 78:98:e8:38:31:14 (SSID='DIR-825-3111' freq=2472 MHz)
Dec 03 15:44:42 hp NetworkManager[1161]: <info>  [1670062482.7018] device (wlo1): supplicant interface state: scanning -> associating
Dec 03 15:44:42 hp NetworkManager[1161]: <info>  [1670062482.7018] device (p2p-dev-wlo1): supplicant management interface state: scanning -> associating
Dec 03 15:44:42 hp rtkit-daemon[3221]: Supervising 1 threads of 1 processes of 1 users.
Dec 03 15:44:42 hp rtkit-daemon[3221]: Supervising 1 threads of 1 processes of 1 users.
Dec 03 15:44:43 hp systemd-networkd[369]: wlo1: Connected WiFi access point: DIR-825-3111 (78:98:e8:38:31:14)
Dec 03 15:44:43 hp wpa_supplicant[1404]: wlo1: Associated with 78:98:e8:38:31:14
Dec 03 15:44:43 hp wpa_supplicant[1404]: wlo1: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Dec 03 15:44:43 hp NetworkManager[1161]: <info>  [1670062483.0252] device (wlo1): supplicant interface state: associating -> 4way_handshake
Dec 03 15:44:43 hp NetworkManager[1161]: <info>  [1670062483.0252] device (p2p-dev-wlo1): supplicant management interface state: associating -> 4way_handshake
Dec 03 15:44:43 hp wpa_supplicant[1404]: wlo1: WPA: Key negotiation completed with 78:98:e8:38:31:14 [PTK=CCMP GTK=CCMP]
Dec 03 15:44:43 hp wpa_supplicant[1404]: wlo1: CTRL-EVENT-CONNECTED - Connection to 78:98:e8:38:31:14 completed [id=0 id_str=]
Dec 03 15:44:43 hp wpa_supplicant[1404]: bgscan simple: Failed to enable signal strength monitoring
Dec 03 15:44:43 hp systemd-networkd[369]: wlo1: Gained carrier
Dec 03 15:44:43 hp NetworkManager[1161]: <info>  [1670062483.0319] device (wlo1): supplicant interface state: 4way_handshake -> completed
Dec 03 15:44:43 hp NetworkManager[1161]: <info>  [1670062483.0320] device (wlo1): ip:dhcp4: restarting
Dec 03 15:44:43 hp NetworkManager[1161]: <info>  [1670062483.0320] dhcp4 (wlo1): canceled DHCP transaction
Dec 03 15:44:43 hp NetworkManager[1161]: <info>  [1670062483.0321] dhcp4 (wlo1): activation: beginning transaction (timeout in 45 seconds)
Dec 03 15:44:43 hp NetworkManager[1161]: <info>  [1670062483.0321] dhcp4 (wlo1): state changed no lease
Dec 03 15:44:43 hp NetworkManager[1161]: <info>  [1670062483.0322] dhcp4 (wlo1): activation: beginning transaction (timeout in 45 seconds)
Dec 03 15:44:43 hp NetworkManager[1161]: <info>  [1670062483.0323] device (wlo1): ip:dhcp6: restarting
Dec 03 15:44:43 hp NetworkManager[1161]: <info>  [1670062483.0323] dhcp6 (wlo1): canceled DHCP transaction
Dec 03 15:44:43 hp NetworkManager[1161]: <info>  [1670062483.0323] dhcp6 (wlo1): activation: beginning transaction (timeout in 45 seconds)
Dec 03 15:44:43 hp NetworkManager[1161]: <info>  [1670062483.0324] dhcp6 (wlo1): state changed no lease
Dec 03 15:44:43 hp NetworkManager[1161]: <info>  [1670062483.0324] dhcp6 (wlo1): activation: beginning transaction (timeout in 45 seconds)
Dec 03 15:44:43 hp NetworkManager[1161]: <info>  [1670062483.0325] device (p2p-dev-wlo1): supplicant management interface state: 4way_handshake -> completed
Dec 03 15:44:43 hp NetworkManager[1161]: <info>  [1670062483.1457] dhcp6 (wlo1): state changed new lease
Dec 03 15:44:43 hp dbus-daemon[1144]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.6' (uid=0 pid=1161 comm="/usr/bin/NetworkManager --no-daemon")
Dec 03 15:44:43 hp NetworkManager[1161]: <info>  [1670062483.1491] dhcp4 (wlo1): state changed new lease, address=192.168.0.162
Dec 03 15:44:43 hp systemd[1]: Starting Network Manager Script Dispatcher Service...
Dec 03 15:44:43 hp dbus-daemon[1144]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Dec 03 15:44:43 hp systemd[1]: Started Network Manager Script Dispatcher Service.
Dec 03 15:44:43 hp systemd-networkd[369]: wlo1: DHCPv4 address 192.168.0.162/24, gateway 192.168.0.1 acquired from 192.168.0.1
Dec 03 15:44:53 hp systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.

Logs from router side (timestamp may be a minute or two off):

Dec  3 15:41:47 kernel: [16932.380000] wlan1: A wireless client is associated - B4:8C:9D:6F:75:30
Dec  3 15:41:47 kernel: [16932.380000] wlan1: (DIR-825-3111) STA: b4:8c:9d:6f:75:30 Status: Successful[0]
Dec  3 15:41:47 kernel: [16932.380000] wlan1: WPA2-AES PSK authentication in progress...
Dec  3 15:41:47 kernel: [16932.380000] wlan1: A wireless client is associated - B4:8C:9D:6F:75:30 to ssid DIR-825-3111
Dec  3 15:41:47 kernel: [16932.390000] wlan1: Open and authenticated
Dec  3 15:41:47 dnsmasq-dhcp[1042]: DHCPREQUEST(br0) 192.168.0.162 b4:8c:9d:6f:75:30 
Dec  3 15:41:47 dnsmasq-dhcp[1042]: abandoning lease to b4:8c:9d:6f:75:30 of 192.168.0.162
Dec  3 15:41:47 dnsmasq-dhcp[1042]: DHCPACK(br0) 192.168.0.162 b4:8c:9d:6f:75:30 hp
Dec  3 15:41:47 dnsmasq-dhcp[1042]: DHCPINFORMATION-REQUEST(br0) 00:04:cd:3e:5d:64:95:8c:a9:59:50:8d:a9:d1:06:13:71:e9 
Dec  3 15:41:48 dnsmasq-dhcp[1042]: DHCPREQUEST(br0) 192.168.0.162 b4:8c:9d:6f:75:30 
Dec  3 15:41:48 dnsmasq-dhcp[1042]: abandoning lease to b4:8c:9d:6f:75:30 of 192.168.0.162
Dec  3 15:41:48 dnsmasq-dhcp[1042]: DHCPACK(br0) 192.168.0.162 b4:8c:9d:6f:75:30 hp
Dec  3 15:41:48 igmpx[1217]: leave group 224.0.0.251 from 192.168.0.162
Dec  3 15:41:49 dnsmasq-dhcp[1042]: DHCPINFORMATION-REQUEST(br0) 00:02:00:00:ab:11:95:f6:fa:65:6f:3f:d6:b2 
Dec  3 15:41:56 igmpx[1217]: leave group 224.0.0.251 from 192.168.0.162

Last edited by aks (2022-12-13 11:52:37)

Offline

#2 2022-12-03 11:12:58

aks
Member
Registered: 2020-03-17
Posts: 21

Re: [Solved] Random disconnect of wifi 8852BE

I have Windows 11 alongside but Fast Startup is disabled, secure boot disabled (in bios) and bitlocker off.

Last edited by aks (2022-12-03 11:31:29)

Offline

#3 2022-12-03 11:29:52

aks
Member
Registered: 2020-03-17
Posts: 21

Re: [Solved] Random disconnect of wifi 8852BE

 iw reg get 
global
country IN: DFS-UNSET
	(2402 - 2482 @ 40), (N/A, 20), (N/A)
	(5150 - 5250 @ 80), (N/A, 30), (N/A)
	(5250 - 5350 @ 80), (N/A, 24), (N/A)
	(5470 - 5725 @ 160), (N/A, 24), (N/A)
	(5725 - 5875 @ 80), (N/A, 30), (N/A)

phy#0 (self-managed)
country 00: DFS-UNSET
	(2402 - 2472 @ 40), (6, 20), (N/A), NO-80MHZ, NO-160MHZ
	(2457 - 2477 @ 20), (6, 20), (N/A), AUTO-BW, NO-80MHZ, NO-160MHZ, PASSIVE-SCAN
	(2462 - 2482 @ 20), (6, 20), (N/A), AUTO-BW, NO-80MHZ, NO-160MHZ
	(5170 - 5210 @ 40), (6, 20), (N/A), AUTO-BW
	(5210 - 5250 @ 40), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
	(5250 - 5330 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
	(5490 - 5730 @ 160), (6, 20), (N/A), PASSIVE-SCAN
	(5735 - 5755 @ 20), (6, 20), (N/A), AUTO-BW
	(5755 - 5835 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN

Offline

#4 2022-12-03 15:10:17

seth
Member
Registered: 2012-09-03
Posts: 51,779

Re: [Solved] Random disconnect of wifi 8852BE

You've networkmanager and system-networkd enasbled.
Choose one, stop/didsable the other.
Report back on the result.

Online

#5 2022-12-03 15:49:41

aks
Member
Registered: 2020-03-17
Posts: 21

Re: [Solved] Random disconnect of wifi 8852BE

seth wrote:

You've networkmanager and system-networkd enasbled.
Choose one, stop/didsable the other.
Report back on the result.


Thanks, which of these shall I disable?

systemd-networkd.service    
systemd-networkd.socket   
systemd-networkd-wait-online.service

Offline

#6 2022-12-03 16:14:32

seth
Member
Registered: 2012-09-03
Posts: 51,779

Re: [Solved] Random disconnect of wifi 8852BE

If you want to use networkmanager, all of them.

Online

#7 2022-12-03 18:55:25

aks
Member
Registered: 2020-03-17
Posts: 21

Re: [Solved] Random disconnect of wifi 8852BE

seth wrote:

If you want to use networkmanager, all of them.

Thanks a lot, I didn't know they are competing amongst themselves. So far it looks good. Will wait till tomorrow before marking it as solved.

Not sure how https://wiki.archlinux.org/title/Networ … k_managers never appeared in search results. Just now found from another post on this forum.

Offline

#8 2022-12-04 14:25:06

aks
Member
Registered: 2020-03-17
Posts: 21

Re: [Solved] Random disconnect of wifi 8852BE

I am still having troubles. It's better than earlier but disconnects and reconnects after 30min or so.

 sudo journalctl -b 
Dec 04 19:16:57 hp rtkit-daemon[3218]: Supervising 9 threads of 6 processes of 1 users.
Dec 04 19:16:57 hp rtkit-daemon[3218]: Supervising 9 threads of 6 processes of 1 users.
Dec 04 19:19:57 hp rtkit-daemon[3218]: Supervising 9 threads of 6 processes of 1 users.
Dec 04 19:19:57 hp rtkit-daemon[3218]: Supervising 9 threads of 6 processes of 1 users.
Dec 04 19:21:56 hp telegram-desktop[3256]:   OpenType support missing for "DAOpenSansSemibold", script 11
Dec 04 19:21:56 hp telegram-desktop[3256]:   OpenType support missing for "davazirmedium", script 11
Dec 04 19:22:57 hp rtkit-daemon[3218]: Supervising 9 threads of 6 processes of 1 users.
Dec 04 19:22:57 hp rtkit-daemon[3218]: Supervising 9 threads of 6 processes of 1 users.
Dec 04 19:23:31 hp telegram-desktop[3256]:   OpenType support missing for "DAOpenSansRegular", script 11
Dec 04 19:23:31 hp telegram-desktop[3256]:   OpenType support missing for "davazirregular", script 11
Dec 04 19:25:57 hp rtkit-daemon[3218]: Supervising 9 threads of 6 processes of 1 users.
Dec 04 19:25:57 hp rtkit-daemon[3218]: Supervising 9 threads of 6 processes of 1 users.
Dec 04 19:28:57 hp rtkit-daemon[3218]: Supervising 9 threads of 6 processes of 1 users.
Dec 04 19:28:57 hp rtkit-daemon[3218]: Supervising 9 threads of 6 processes of 1 users.
Dec 04 19:31:51 hp wpa_supplicant[1539]: wlo1: CTRL-EVENT-DISCONNECTED bssid=78:98:e8:38:31:14 reason=0
Dec 04 19:31:51 hp kernel: rtw8852be: Connection disconnected for reason 0
Dec 04 19:31:51 hp NetworkManager[1155]: <info>  [1670162511.4354] device (wlo1): supplicant interface state: completed -> disconnected
Dec 04 19:31:51 hp NetworkManager[1155]: <info>  [1670162511.4354] device (p2p-dev-wlo1): supplicant management interface state: completed -> disconnected
Dec 04 19:31:51 hp NetworkManager[1155]: <info>  [1670162511.5360] device (wlo1): supplicant interface state: disconnected -> scanning
Dec 04 19:31:51 hp NetworkManager[1155]: <info>  [1670162511.5361] device (p2p-dev-wlo1): supplicant management interface state: disconnected -> scanning
Dec 04 19:31:55 hp rtkit-daemon[3218]: Supervising 9 threads of 6 processes of 1 users.
Dec 04 19:31:55 hp rtkit-daemon[3218]: Supervising 9 threads of 6 processes of 1 users.
Dec 04 19:31:55 hp wpa_supplicant[1539]: wlo1: Trying to associate with 78:98:e8:38:31:14 (SSID='DIR-825-3111' freq=2472 MHz)
Dec 04 19:31:55 hp NetworkManager[1155]: <info>  [1670162515.9706] device (wlo1): supplicant interface state: scanning -> associating
Dec 04 19:31:55 hp NetworkManager[1155]: <info>  [1670162515.9706] device (p2p-dev-wlo1): supplicant management interface state: scanning -> associating
Dec 04 19:31:56 hp wpa_supplicant[1539]: wlo1: Associated with 78:98:e8:38:31:14
Dec 04 19:31:56 hp wpa_supplicant[1539]: wlo1: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Dec 04 19:31:56 hp NetworkManager[1155]: <info>  [1670162516.2931] device (wlo1): supplicant interface state: associating -> 4way_handshake
Dec 04 19:31:56 hp NetworkManager[1155]: <info>  [1670162516.2932] device (p2p-dev-wlo1): supplicant management interface state: associating -> 4way_handshake
Dec 04 19:31:56 hp wpa_supplicant[1539]: wlo1: WPA: Key negotiation completed with 78:98:e8:38:31:14 [PTK=CCMP GTK=CCMP]
Dec 04 19:31:56 hp wpa_supplicant[1539]: wlo1: CTRL-EVENT-CONNECTED - Connection to 78:98:e8:38:31:14 completed [id=0 id_str=]
Dec 04 19:31:56 hp wpa_supplicant[1539]: bgscan simple: Failed to enable signal strength monitoring
Dec 04 19:31:56 hp NetworkManager[1155]: <info>  [1670162516.2998] device (wlo1): supplicant interface state: 4way_handshake -> completed
Dec 04 19:31:56 hp NetworkManager[1155]: <info>  [1670162516.2999] device (wlo1): ip:dhcp4: restarting
Dec 04 19:31:56 hp NetworkManager[1155]: <info>  [1670162516.4256] dhcp4 (wlo1): canceled DHCP transaction
Dec 04 19:31:56 hp NetworkManager[1155]: <info>  [1670162516.4257] dhcp4 (wlo1): activation: beginning transaction (timeout in 45 seconds)
Dec 04 19:31:56 hp NetworkManager[1155]: <info>  [1670162516.4257] dhcp4 (wlo1): state changed no lease
Dec 04 19:31:56 hp NetworkManager[1155]: <info>  [1670162516.4259] dhcp4 (wlo1): activation: beginning transaction (timeout in 45 seconds)
Dec 04 19:31:56 hp NetworkManager[1155]: <info>  [1670162516.4260] device (wlo1): ip:dhcp6: restarting
Dec 04 19:31:56 hp NetworkManager[1155]: <info>  [1670162516.4261] dhcp6 (wlo1): canceled DHCP transaction
Dec 04 19:31:56 hp NetworkManager[1155]: <info>  [1670162516.4261] dhcp6 (wlo1): activation: beginning transaction (timeout in 45 seconds)
Dec 04 19:31:56 hp NetworkManager[1155]: <info>  [1670162516.4261] dhcp6 (wlo1): state changed no lease
Dec 04 19:31:56 hp NetworkManager[1155]: <info>  [1670162516.4262] dhcp6 (wlo1): activation: beginning transaction (timeout in 45 seconds)
Dec 04 19:31:56 hp NetworkManager[1155]: <info>  [1670162516.4263] device (p2p-dev-wlo1): supplicant management interface state: 4way_handshake -> completed
Dec 04 19:31:56 hp NetworkManager[1155]: <info>  [1670162516.4407] dhcp6 (wlo1): state changed new lease
Dec 04 19:31:56 hp NetworkManager[1155]: <info>  [1670162516.4418] dhcp4 (wlo1): state changed new lease, address=192.168.0.162
Dec 04 19:31:56 hp dbus-daemon[1138]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.5' (uid=0 pid=1155 comm="/usr/bin/NetworkManager --no-daemon")
Dec 04 19:31:56 hp systemd[1]: Starting Network Manager Script Dispatcher Service...
Dec 04 19:31:56 hp dbus-daemon[1138]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Dec 04 19:31:56 hp systemd[1]: Started Network Manager Script Dispatcher Service.
Dec 04 19:32:06 hp systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Dec 04 19:34:57 hp rtkit-daemon[3218]: Supervising 9 threads of 6 processes of 1 users.
Dec 04 19:34:57 hp rtkit-daemon[3218]: Supervising 9 threads of 6 processes of 1 users.
Dec 04 19:37:57 hp rtkit-daemon[3218]: Supervising 9 threads of 6 processes of 1 users.
Dec 04 19:37:57 hp rtkit-daemon[3218]: Supervising 9 threads of 6 processes of 1 users.
Dec 04 19:40:57 hp rtkit-daemon[3218]: Supervising 9 threads of 6 processes of 1 users.
Dec 04 19:40:57 hp rtkit-daemon[3218]: Supervising 9 threads of 6 processes of 1 users.
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
bluetooth.service                        | bluetooth.target.wants
chkboot.service                          | multi-user.target.wants
choose-mirror.service                    | multi-user.target.wants
dbus-org.bluez.service                   | system
dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.resolve1.service    | system
default.target                           | system
display-manager.service                  | system
gcr-ssh-agent.socket                     | sockets.target.wants
getty@tty1.service                       | getty.target.wants
libvirtd-ro.socket                       | sockets.target.wants
libvirtd.service                         | multi-user.target.wants
libvirtd.socket                          | sockets.target.wants
livecd-alsa-unmuter.service              | sound.target.wants
livecd-talk.service                      | multi-user.target.wants
NetworkManager.service                   | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
p11-kit-server.socket                    | sockets.target.wants
pacman-init.service                      | multi-user.target.wants
pipewire-pulse.socket                    | sockets.target.wants
pipewire-session-manager.service         | user
pipewire.socket                          | sockets.target.wants
reflector.service                        | multi-user.target.wants
remote-fs.target                         | multi-user.target.wants
sshd.service                             | multi-user.target.wants
systemd-resolved.service                 | multi-user.target.wants
tlp.service                              | multi-user.target.wants
virtlockd.socket                         | sockets.target.wants
virtlogd.socket                          | sockets.target.wants
wireplumber.service                      | pipewire.service.wants
xdg-user-dirs-update.service             | default.target.wants

Offline

#9 2022-12-04 15:00:19

seth
Member
Registered: 2012-09-03
Posts: 51,779

Re: [Solved] Random disconnect of wifi 8852BE

Dec 04 19:31:51 hp kernel: rtw8852be: Connection disconnected for reason 0

isn't a legit reason.

Try to disable

tlp.service                              | multi-user.target.wants

to see whether it's triggered from there.

Also please post the output of

modinfo rtw8852be

Online

#10 2022-12-04 15:39:12

aks
Member
Registered: 2020-03-17
Posts: 21

Re: [Solved] Random disconnect of wifi 8852BE

seth wrote:

Try to disable

tlp.service                              | multi-user.target.wants

to see whether it's triggered from there.

Ok, disabled.

seth wrote:

Also please post the output of

modinfo rtw8852be

Interesting output.

sudo modinfo rtw8852be
modinfo: ERROR: Module rtw8852be not found.

Offline

#11 2022-12-04 15:48:52

seth
Member
Registered: 2012-09-03
Posts: 51,779

Re: [Solved] Random disconnect of wifi 8852BE

modinfo 8852be

Online

#12 2022-12-04 15:53:49

aks
Member
Registered: 2020-03-17
Posts: 21

Re: [Solved] Random disconnect of wifi 8852BE

seth wrote:
modinfo 8852be

Here is the output:

filename:       /lib/modules/5.15.80-1-lts/kernel/drivers/net/wireless/8852be.ko
version:        v1.15.10.0.2-1-gef8cc86f5.20220223_PC
author:         Realtek Semiconductor Corp.
description:    Realtek Wireless Lan Driver
license:        GPL
srcversion:     26D383D41C2D170D579FCC3
alias:          pci:v000010ECd0000B852sv*sd*bc*sc*i*
depends:        cfg80211
retpoline:      Y
name:           8852be
vermagic:       5.15.80-1-lts SMP mod_unload 
parm:           rtw_wireless_mode:int
parm:           rtw_band_type:int
parm:           rtw_ips_mode:The default IPS mode (int)
parm:           rtw_lps_mode:The default LPS mode (int)
parm:           rtw_lps_cap:The default LPS cap (int)
parm:           rtw_lps_chk_by_tp:int
parm:           rtw_max_bss_cnt:int
parm:           rtw_usb_rxagg_mode:int
parm:           rtw_dynamic_agg_enable:int
parm:           rtw_tx_bw_mode:The max tx bw for 2.4G and 5G. format is the same as rtw_bw_mode (uint)
parm:           rtw_max_amsdu_len:uint
parm:           rtw_rx_ampdu_sz_limit_1ss:RX AMPDU size limit for 1SS link of each BW, 0xFF: no limitation (array of uint)
parm:           rtw_rx_ampdu_sz_limit_2ss:RX AMPDU size limit for 2SS link of each BW, 0xFF: no limitation (array of uint)
parm:           rtw_rx_ampdu_sz_limit_3ss:RX AMPDU size limit for 3SS link of each BW, 0xFF: no limitation (array of uint)
parm:           rtw_rx_ampdu_sz_limit_4ss:RX AMPDU size limit for 4SS link of each BW, 0xFF: no limitation (array of uint)
parm:           rtw_vht_enable:int
parm:           rtw_vht_24g_enable:int
parm:           rtw_vht_rx_mcs_map:VHT RX MCS map (uint)
parm:           rtw_he_enable:int
parm:           rtw_rf_path:int
parm:           rtw_tx_nss:int
parm:           rtw_rx_nss:int
parm:           rtw_country_code:The default country code (in alpha2) (charp)
parm:           rtw_channel_plan:The default chplan ID when rtw_alpha2 is not specified or valid (uint)
parm:           rtw_excl_chs:exclusive channel array (array of uint)
parm:           rtw_btcoex_enable:BT co-existence on/off, 0:off, 1:on, 2:by efuse (int)
parm:           rtw_ant_num:Antenna number setting, 0:by efuse (int)
parm:           rtw_pci_dynamic_aspm_linkctrl:int
parm:           rtw_qos_opt_enable:int
parm:           ifname:The default name to allocate for first interface (charp)
parm:           if2name:The default name to allocate for second interface (charp)
parm:           rtw_vo_edca:uint
parm:           rtw_ap_src_b2u_flags:int
parm:           rtw_ap_fwd_b2u_flags:int
parm:           rtw_wowlan_sta_mix_mode:int
parm:           rtw_pwrtrim_enable:int
parm:           rtw_initmac:charp
parm:           rtw_chip_version:int
parm:           rtw_rfintfs:int
parm:           rtw_lbkmode:int
parm:           rtw_network_mode:int
parm:           rtw_channel:int
parm:           rtw_mp_mode:int
parm:           rtw_wmm_enable:int
parm:           rtw_vrtl_carrier_sense:int
parm:           rtw_vcs_type:int
parm:           rtw_hw_rts_en:int
parm:           rtw_busy_thresh:int
parm:           rtw_ht_enable:int
parm:           rtw_bw_mode:int
parm:           rtw_ampdu_enable:int
parm:           rtw_stbc_cap:int
parm:           rtw_rx_ampdu_amsdu:int
parm:           rtw_tx_ampdu_amsdu:int
parm:           rtw_quick_addba_req:int
parm:           rtw_beamform_cap:int
parm:           rtw_sw_proto_bf_cap_phy0:int
parm:           rtw_sw_proto_bf_cap_phy1:int
parm:           rtw_dyn_txbf:int
parm:           rtw_lowrate_two_xmit:int
parm:           rtw_power_mgnt:int
parm:           rtw_smart_ps:int
parm:           rtw_low_power:int
parm:           rtw_wifi_spec:int
parm:           rtw_full_ch_in_p2p_handshake:int
parm:           rtw_antdiv_cfg:int
parm:           rtw_antdiv_type:int
parm:           rtw_drv_ant_band_switch:int
parm:           rtw_single_ant_path:int
parm:           rtw_switch_usb_mode:int
parm:           rtw_hwpwrp_detect:int
parm:           rtw_hw_wps_pbc:int
parm:           rtw_check_hw_status:int
parm:           rtw_pci_aspm_enable:int
parm:           rtw_max_roaming_times:The max roaming times to try (uint)
parm:           rtw_hiq_filter:0:allow all, 1:allow special, 2:deny all (uint)
parm:           rtw_adaptivity_en:0:disable, 1:enable, 2:auto (uint)
parm:           rtw_adaptivity_mode:0:normal, 1:carrier sense (uint)
parm:           rtw_adaptivity_th_l2h_ini:th_l2h_ini for Adaptivity (int)
parm:           rtw_adaptivity_th_edcca_hl_diff:th_edcca_hl_diff for Adaptivity (int)
parm:           rtw_amsdu_mode:0:non-spp, 1:spp, 2:all drop (uint)
parm:           rtw_amplifier_type_2g:BIT3:2G ext-PA, BIT4:2G ext-LNA (uint)
parm:           rtw_amplifier_type_5g:BIT6:5G ext-PA, BIT7:5G ext-LNA (uint)
parm:           rtw_rfe_type:default init value:64 (uint)
parm:           rtw_powertracking_type:default init value:64 (uint)
parm:           rtw_GLNA_type:default init value:0 (uint)
parm:           rtw_TxBBSwing_2G:default init value:0xFF (uint)
parm:           rtw_TxBBSwing_5G:default init value:0xFF (uint)
parm:           rtw_OffEfuseMask:default open Efuse Mask value:0 (uint)
parm:           rtw_FileMaskEfuse:default drv Mask Efuse value:0 (uint)
parm:           rtw_rxgain_offset_2g:default RF Gain 2G Offset value:0 (uint)
parm:           rtw_rxgain_offset_5gl:default RF Gain 5GL Offset value:0 (uint)
parm:           rtw_rxgain_offset_5gh:uint
parm:           rtw_rxgain_offset_5gm:default RF Gain 5GM Offset value:0 (uint)
parm:           rtw_pll_ref_clk_sel:force pll_ref_clk_sel, 0xF:use autoload value (uint)
parm:           rtw_tx_pwr_by_rate:0:Disable, 1:Enable, 2: Depend on efuse (int)
parm:           rtw_tx_pwr_lmt_enable:0:Disable, 1:Enable, 2: Depend on efuse (int)
parm:           rtw_target_tx_pwr_2g_a:2.4G target tx power (unit:dBm) of RF path A for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_2g_b:2.4G target tx power (unit:dBm) of RF path B for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_2g_c:2.4G target tx power (unit:dBm) of RF path C for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_2g_d:2.4G target tx power (unit:dBm) of RF path D for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_5g_a:5G target tx power (unit:dBm) of RF path A for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_5g_b:5G target tx power (unit:dBm) of RF path B for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_5g_c:5G target tx power (unit:dBm) of RF path C for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_5g_d:5G target tx power (unit:dBm) of RF path D for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_phy_file_path:The path of phy parameter (charp)
parm:           rtw_load_phy_file:PHY File Bit Map (int)
parm:           rtw_decrypt_phy_file:Enable Decrypt PHY File (int)
parm:           rtw_phydm_ability:uint
parm:           rtw_halrf_ability:uint
parm:           rtw_en_napi:int
parm:           rtw_en_gro:int
parm:           rtw_iqk_fw_offload:int
parm:           rtw_ch_switch_offload:int
parm:           rtw_en_dyn_rrsr:int
parm:           rtw_rrsr_value:int
parm:           rtw_scan_interval_thr:Threshold used to judge if scan request comes from scan UI, unit is ms. (uint)
parm:           rtw_roch_min_home_dur:uint
parm:           rtw_roch_max_away_dur:uint
parm:           rtw_roch_extend_dur:uint
parm:           rtw_scan_pch_ex:uint

Offline

#13 2022-12-04 16:16:18

seth
Member
Registered: 2012-09-03
Posts: 51,779

Re: [Solved] Random disconnect of wifi 8852BE

That#s a shitton of undocumented parameters smile
That being said:
https://github.com/lwfinger/rtw8852be/i … 1312366906

Online

#14 2022-12-04 17:34:00

aks
Member
Registered: 2020-03-17
Posts: 21

Re: [Solved] Random disconnect of wifi 8852BE

seth wrote:

That#s a shitton of undocumented parameters smile
That being said:
https://github.com/lwfinger/rtw8852be/i … 1312366906


I did try the other one, it didn't work as it's deleted from that repo.
If I understand this issue https://github.com/lwfinger/rtw89/issues/193 correctly, that repo no more contains 8852be firmware as upstream has caught up. However, it won't work until linux 6.1 is released.

Last edited by aks (2022-12-04 17:38:55)

Offline

#15 2022-12-04 17:54:00

aks
Member
Registered: 2020-03-17
Posts: 21

Re: [Solved] Random disconnect of wifi 8852BE

I am gonna build from old commit where it was not removed. Let's see if it succeeds.

Let me know if you think there could be anything else that might be the cause of disconnection?

Offline

#16 2022-12-04 17:58:44

seth
Member
Registered: 2012-09-03
Posts: 51,779

Re: [Solved] Random disconnect of wifi 8852BE

git clone git@github.com:lwfinger/rtw89.git
cd rtw89
make
sudo insmod rtw89core.ko
sudo insmod rtw89pci.ko
sudo insmod rtw_8852b.ko
sudo insmod rtw_8852be.ko

Works fine here (even w/o installation)

Edit: the firmware should™ be provided by the linux-firmware package, that's not the same.
Apparently the AUR package only builds/installs a subset of the modules.

Last edited by seth (2022-12-04 17:59:45)

Online

#17 2022-12-04 18:55:21

aks
Member
Registered: 2020-03-17
Posts: 21

Re: [Solved] Random disconnect of wifi 8852BE

seth wrote:
git clone git@github.com:lwfinger/rtw89.git
cd rtw89
make
sudo insmod rtw89core.ko
sudo insmod rtw89pci.ko
sudo insmod rtw_8852b.ko
sudo insmod rtw_8852be.ko

Works fine here (even w/o installation)

Edit: the firmware should™ be provided by the linux-firmware package, that's not the same.
Apparently the AUR package only builds/installs a subset of the modules.


Yes, I used a commit before this firmware removal https://github.com/lwfinger/rtw89/commi … e40f29e1be

But now am getting errors on reboot. Typing from phone so providing bare bone logs.

 
sudo dmesg | grep rtw
rtw89core: loading out of tree module taints kernel
rtw89core: module verification failed: signature and/or required key missing - tainting kernel
rtw89_8852be Direct firmware load for rtw89/rtw8852b_fw.bin failed with error -2
rtw89_8852be failed to early request firmware -2
sudo modprobe -v rtw89pci
sudo  modprobe -v rtw_8852b
sudo modprobe -v rtw_8852be
insmod /lib/modules/5.15.80-1-lts/kernel/drivers/net/wireless/realtek/rtw89/rtw_8852be.ko
<it is now stuck here>

What to do now??

Offline

#18 2022-12-04 21:16:39

seth
Member
Registered: 2012-09-03
Posts: 51,779

Re: [Solved] Random disconnect of wifi 8852BE

Did you remove or blacklist the module from https://github.com/lwfinger/rtw8852be ?
Also try the regular (non-lts) kernel and make sure that you've a recent version of linux-firmware (ie. update your system)

I used a commit before this firmware removal

Isn't a good idea at all. Again: the firmware *is* provided by the linux-lts package, ignore the upstream bug that's about the AUR package specifically.

Online

#19 2022-12-13 11:52:05

aks
Member
Registered: 2020-03-17
Posts: 21

Re: [Solved] Random disconnect of wifi 8852BE

Sorry for late reply, was a bit busy. I tried a lot but couldn't make rtw89 work on linux-lts.

On latest kernel 6.0+, it's working. So far I can see it remains connected for more than 75min, so I would close this issue. Thanks for the support!

Offline

Board footer

Powered by FluxBB