Wi-Fi 连接一段时间后丢失(Linux)

Wi-Fi 连接一段时间后丢失(Linux)

我有一台笔记本电脑(HP ProBook 455 G9),我将其连接到 Wi-Fi。我使用 Fedora 39,带有 GNOME、NetworkManager 和内核 6.7.7-200.fc39.x86_64。Wi-Fi 芯片是 RealRek RTL8852BE。我认为我没有进行任何非标准配置(我只尝试过使用 Wi-Fi 省电功能,但这只是我尝试解决此问题的其中一次尝试)。

启动一段时间后(有时几分钟,有时几小时,有时永远不会),系统失去 Wi-Fi 连接并且无法连接到任何 Wi-Fi。Wi-Fi 图标消失,点击“所有网络”时,只显示进度条/圆圈。我试过的每个 Wi-Fi 都会出现这个问题。

打开/关闭 Wi-Fi 没用。关闭 wpa_supplicant 并重新启动 NetworkManager 也没用。唯一有用的是重启 PC。

我正在检查 NetworkManager 日志并发现:

Mar 04 08:22:10 martin NetworkManager[10448]: <info>  [1709536930.8059] manager: (lo): new Loopback device (/org/freedesktop/NetworkManager/Devices/1)
Mar 04 08:22:10 martin NetworkManager[10448]: <info>  [1709536930.8062] device (lo): state change: unmanaged -> unavailable (reason 'connection-assumed', sys-iface-state: 'external')
Mar 04 08:22:10 martin NetworkManager[10448]: <info>  [1709536930.8064] device (lo): state change: unavailable -> disconnected (reason 'connection-assumed', sys-iface-state: 'external')
Mar 04 08:22:10 martin NetworkManager[10448]: <info>  [1709536930.8068] device (lo): Activation: starting connection 'lo' (4aa838cb-a2b0-4b9b-a6c0-22aaafe7bb8e)
Mar 04 08:22:10 martin NetworkManager[10448]: <info>  [1709536930.8073] manager: (enp1s0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
Mar 04 08:22:10 martin NetworkManager[10448]: <info>  [1709536930.8074] device (enp1s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Mar 04 08:22:10 martin NetworkManager[10448]: <info>  [1709536930.8082] device (wlp2s0): driver supports Access Point (AP) mode
Mar 04 08:22:10 martin NetworkManager[10448]: <info>  [1709536930.8086] manager: (wlp2s0): new 802.11 Wi-Fi device (/org/freedesktop/NetworkManager/Devices/3)
Mar 04 08:22:10 martin NetworkManager[10448]: <info>  [1709536930.8087] device (wlp2s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Mar 04 08:22:10 martin NetworkManager[10448]: <warn>  [1709536930.9509] platform-linux: do-change-link[3]: failure 110 (Connection timed out)
Mar 04 08:22:10 martin NetworkManager[10448]: <info>  [1709536930.9511] device (wlp2s0): set-hw-addr: set MAC address to 32:2D:88:52:50:FD (scanning)
Mar 04 08:22:11 martin NetworkManager[10448]: <warn>  [1709536931.0929] platform-linux: do-change-link[3]: failure 110 (Connection timed out)
Mar 04 08:22:11 martin NetworkManager[10448]: <info>  [1709536931.0940] bus-manager: acquired D-Bus service "org.freedesktop.NetworkManager"
Mar 04 08:22:11 martin systemd[1]: Started NetworkManager.service - Network Manager.
Mar 04 08:22:11 martin NetworkManager[10448]: <info>  [1709536931.1000] modem-manager: ModemManager available
Mar 04 08:22:11 martin NetworkManager[10448]: <info>  [1709536931.1024] device (lo): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'external')
Mar 04 08:22:11 martin NetworkManager[10448]: <info>  [1709536931.1026] device (lo): state change: prepare -> config (reason 'none', sys-iface-state: 'external')
Mar 04 08:22:11 martin NetworkManager[10448]: <info>  [1709536931.1028] device (lo): state change: config -> ip-config (reason 'none', sys-iface-state: 'external')
Mar 04 08:22:11 martin NetworkManager[10448]: <info>  [1709536931.1034] device (lo): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'external')
Mar 04 08:22:11 martin NetworkManager[10448]: <info>  [1709536931.1049] device (lo): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'external')
Mar 04 08:22:11 martin NetworkManager[10448]: <info>  [1709536931.1050] device (lo): state change: secondaries -> activated (reason 'none', sys-iface-state: 'external')
Mar 04 08:22:11 martin NetworkManager[10448]: <info>  [1709536931.1053] device (lo): Activation: successful, device activated.
Mar 04 08:22:11 martin NetworkManager[10448]: <error> [1709536931.3851] device (wlp2s0): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Mar 04 08:22:11 martin NetworkManager[10448]: <info>  [1709536931.7962] agent-manager: agent[bcdddf15828c5142,:1.86/org.gnome.Shell.NetworkAgent/1000]: agent registered
Mar 04 08:22:16 martin NetworkManager[10448]: <info>  [1709536936.8117] manager: startup complete
Mar 04 08:22:21 martin NetworkManager[10448]: <warn>  [1709536941.8174] device (wlp2s0): re-acquiring supplicant interface (#1).
Mar 04 08:22:22 martin NetworkManager[10448]: <error> [1709536942.1022] device (wlp2s0): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Mar 04 08:22:32 martin NetworkManager[10448]: <warn>  [1709536952.8196] device (wlp2s0): re-acquiring supplicant interface (#2).
Mar 04 08:22:33 martin NetworkManager[10448]: <error> [1709536953.1055] device (wlp2s0): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Mar 04 08:22:43 martin NetworkManager[10448]: <warn>  [1709536963.8148] device (wlp2s0): re-acquiring supplicant interface (#3).
Mar 04 08:22:44 martin NetworkManager[10448]: <error> [1709536964.1002] device (wlp2s0): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Mar 04 08:22:54 martin NetworkManager[10448]: <warn>  [1709536974.8231] device (wlp2s0): re-acquiring supplicant interface (#4).
Mar 04 08:22:55 martin NetworkManager[10448]: <error> [1709536975.1082] device (wlp2s0): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Mar 04 08:23:05 martin NetworkManager[10448]: <warn>  [1709536985.8151] device (wlp2s0): re-acquiring supplicant interface (#5).
Mar 04 08:23:06 martin NetworkManager[10448]: <error> [1709536986.1002] device (wlp2s0): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Mar 04 08:23:06 martin NetworkManager[10448]: <info>  [1709536986.1002] device (wlp2s0): supplicant interface keeps failing, giving up

有任何想法吗?

相关内容