路由器重启后桌面 WiFi 停止,但手机不会停止

路由器重启后桌面 WiFi 停止,但手机不会停止

我有:

  • 运行 Xubuntu 22.04 的可爱古老桌面
  • 一台运行 Xubuntu 20.04 的 Dell Latitude E7250(5 年机龄的 12.5 英寸屏幕企业笔记本电脑)
  • 一台运行 Xubuntu 22.04 的联想 P53(3 年前的大型企业笔记本电脑)
  • Linksys AE6000 无线适配器(lsusb报告ID 13b1:003e Linksys AE6000 802.11a/b/g/n/ac Wireless Adapter [MediaTek MT7610U]
  • Netgear N900 双频无线路由器
  • Pixel 5

当我重新启动桌面时,它将无法连接到路由器大约一天(或可能正好是 86400 秒),之后它会自行修复并正常连接到路由器。

如果我将手机设置为热点,计算机重启后就可以正常连接到该热点。

我可以在网络管理器下拉菜单中正常看到路由器并使用nmcli device wifi list

至此,我已经束手无策了,我必须宣布自己一无所知。

我不确定这是否相关,但使用 Xubuntu 20.04 的计算机也做了同样的事情。我进行了发行版升级,然后我可能已经从 18.04 完成了发行版升级 - 因此在某个刚刚被延续下来的配置文件中可能会存在一些残留的混乱。

安装了 Xubuntu 20.04 的 Dell Latitude E7250 也出现了同样的外部症状,但它们不要发生使用联想 P53。

就戴尔而言,它可以在我家的路由器上正常运行。

因此,该问题与硬件或安装有关。

这是来自 syslog 的一段代码,其中系统正在尝试连接到我的无线路由器timshop24。很抱歉数据转储量巨大,但我不确定哪些是相关的。

Jul 26 09:57:48 Servo avahi-daemon[1279]: Joining mDNS multicast group on interface wlxc4411e38b694.IPv6 with address fe80::b70b:15f7:6694:16ac.
Jul 26 09:57:48 Servo avahi-daemon[1279]: Registering new address record for fe80::b70b:15f7:6694:16ac on wlxc4411e38b694.*.
Jul 26 09:57:48 Servo avahi-daemon[1279]: Withdrawing address record for fe80::b70b:15f7:6694:16ac on wlxc4411e38b694.
Jul 26 09:57:48 Servo avahi-daemon[1279]: Leaving mDNS multicast group on interface wlxc4411e38b694.IPv6 with address fe80::b70b:15f7:6694:16ac.
Jul 26 09:57:48 Servo avahi-daemon[1279]: Interface wlxc4411e38b694.IPv6 no longer relevant for mDNS.
Jul 26 09:57:48 Servo avahi-daemon[1279]: Withdrawing address record for 192.168.97.165 on wlxc4411e38b694.
Jul 26 09:57:48 Servo avahi-daemon[1279]: Leaving mDNS multicast group on interface wlxc4411e38b694.IPv4 with address 192.168.97.165.
Jul 26 09:57:48 Servo avahi-daemon[1279]: Interface wlxc4411e38b694.IPv4 no longer relevant for mDNS.
Jul 26 09:57:48 Servo systemd-resolved[1267]: wlxc4411e38b694: Bus client set default route setting: no
Jul 26 09:57:48 Servo systemd-resolved[1267]: wlxc4411e38b694: Bus client reset DNS server list.
Jul 26 09:57:48 Servo wpa_supplicant[1317]: wlxc4411e38b694: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
Jul 26 09:57:48 Servo wpa_supplicant[1317]: wlxc4411e38b694: Reject scan trigger since one is already pending
Jul 26 09:57:51 Servo wpa_supplicant[1317]: message repeated 2 times: [ wlxc4411e38b694: Reject scan trigger since one is already pending]
Jul 26 09:57:52 Servo wpa_supplicant[1317]: wlxc4411e38b694: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
Jul 26 09:57:57 Servo wpa_supplicant[1317]: wlxc4411e38b694: Reject scan trigger since one is already pending
Jul 26 09:57:58 Servo systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Jul 26 09:57:59 Servo NetworkManager[1282]: <info>  [1690390679.5419] device (wlxc4411e38b694): Activation: starting connection 'timshop24' (02b8accc-8883-4c46-ad85-579c5e66ae3e)
Jul 26 09:57:59 Servo NetworkManager[1282]: <info>  [1690390679.5421] audit: op="connection-activate" uuid="02b8accc-8883-4c46-ad85-579c5e66ae3e" name="timshop24" pid=3345 uid=1000 result="success"
Jul 26 09:57:59 Servo NetworkManager[1282]: <info>  [1690390679.5423] device (wlxc4411e38b694): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Jul 26 09:57:59 Servo NetworkManager[1282]: <info>  [1690390679.5430] manager: NetworkManager state is now CONNECTING
Jul 26 09:57:59 Servo NetworkManager[1282]: <info>  [1690390679.5436] device (wlxc4411e38b694): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Jul 26 09:57:59 Servo NetworkManager[1282]: <info>  [1690390679.5440] device (wlxc4411e38b694): Activation: (wifi) access point 'timshop24' has security, but secrets are required.
Jul 26 09:57:59 Servo NetworkManager[1282]: <info>  [1690390679.5441] device (wlxc4411e38b694): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Jul 26 09:57:59 Servo NetworkManager[1282]: <info>  [1690390679.5444] sup-iface[aeadb2a6d65ec424,0,wlxc4411e38b694]: wps: type pbc start...
Jul 26 09:57:59 Servo NetworkManager[1282]: <info>  [1690390679.5477] device (wlxc4411e38b694): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
Jul 26 09:57:59 Servo NetworkManager[1282]: <info>  [1690390679.5484] device (wlxc4411e38b694): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Jul 26 09:57:59 Servo NetworkManager[1282]: <info>  [1690390679.5489] device (wlxc4411e38b694): Activation: (wifi) connection 'timshop24' has security, and secrets exist.  No new secrets needed.
Jul 26 09:57:59 Servo NetworkManager[1282]: <info>  [1690390679.5489] Config: added 'ssid' value 'timshop24'
Jul 26 09:57:59 Servo NetworkManager[1282]: <info>  [1690390679.5489] Config: added 'scan_ssid' value '1'
Jul 26 09:57:59 Servo NetworkManager[1282]: <info>  [1690390679.5490] Config: added 'bgscan' value 'simple:30:-70:86400'
Jul 26 09:57:59 Servo NetworkManager[1282]: <info>  [1690390679.5490] Config: added 'key_mgmt' value 'WPA-PSK WPA-PSK-SHA256 FT-PSK SAE FT-SAE'
Jul 26 09:57:59 Servo NetworkManager[1282]: <info>  [1690390679.5490] Config: added 'auth_alg' value 'OPEN'
Jul 26 09:57:59 Servo NetworkManager[1282]: <info>  [1690390679.5491] Config: added 'psk' value '<hidden>'
Jul 26 09:57:59 Servo wpa_supplicant[1317]: wlxc4411e38b694: WPS-CANCEL 
Jul 26 09:58:01 Servo NetworkManager[1282]: <info>  [1690390681.5958] device (wlxc4411e38b694): supplicant interface state: disconnected -> scanning
Jul 26 09:58:01 Servo NetworkManager[1282]: <info>  [1690390681.5959] device (p2p-dev-wlxc4411e38b694): supplicant management interface state: disconnected -> scanning
Jul 26 09:58:06 Servo wpa_supplicant[1317]: wlxc4411e38b694: SME: Trying to authenticate with 04:a1:51:cc:ea:9e (SSID='timshop24' freq=2462 MHz)
Jul 26 09:58:06 Servo kernel: [ 4089.669891] wlxc4411e38b694: authenticate with 04:a1:51:cc:ea:9e
Jul 26 09:58:07 Servo NetworkManager[1282]: <info>  [1690390687.1337] device (wlxc4411e38b694): supplicant interface state: scanning -> authenticating
Jul 26 09:58:07 Servo NetworkManager[1282]: <info>  [1690390687.1337] device (p2p-dev-wlxc4411e38b694): supplicant management interface state: scanning -> authenticating
Jul 26 09:58:07 Servo kernel: [ 4090.162091] wlxc4411e38b694: send auth to 04:a1:51:cc:ea:9e (try 1/3)
Jul 26 09:58:07 Servo wpa_supplicant[1317]: wlxc4411e38b694: Trying to associate with 04:a1:51:cc:ea:9e (SSID='timshop24' freq=2462 MHz)
Jul 26 09:58:07 Servo NetworkManager[1282]: <info>  [1690390687.1405] device (wlxc4411e38b694): supplicant interface state: authenticating -> associating
Jul 26 09:58:07 Servo NetworkManager[1282]: <info>  [1690390687.1405] device (p2p-dev-wlxc4411e38b694): supplicant management interface state: authenticating -> associating
Jul 26 09:58:07 Servo kernel: [ 4090.169771] wlxc4411e38b694: authenticated
Jul 26 09:58:07 Servo kernel: [ 4090.176804] wlxc4411e38b694: associate with 04:a1:51:cc:ea:9e (try 1/3)
Jul 26 09:58:07 Servo kernel: [ 4090.181443] wlxc4411e38b694: RX AssocResp from 04:a1:51:cc:ea:9e (capab=0x1411 status=0 aid=1)
Jul 26 09:58:07 Servo wpa_supplicant[1317]: wlxc4411e38b694: Associated with 04:a1:51:cc:ea:9e
Jul 26 09:58:07 Servo wpa_supplicant[1317]: wlxc4411e38b694: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Jul 26 09:58:07 Servo kernel: [ 4090.197523] wlxc4411e38b694: associated
Jul 26 09:58:07 Servo NetworkManager[1282]: <info>  [1690390687.1735] device (wlxc4411e38b694): supplicant interface state: associating -> 4way_handshake
Jul 26 09:58:07 Servo NetworkManager[1282]: <info>  [1690390687.1735] device (p2p-dev-wlxc4411e38b694): supplicant management interface state: associating -> 4way_handshake
Jul 26 09:58:07 Servo wpa_supplicant[1317]: wlxc4411e38b694: WPA: Key negotiation completed with 04:a1:51:cc:ea:9e [PTK=CCMP GTK=CCMP]
Jul 26 09:58:07 Servo wpa_supplicant[1317]: wlxc4411e38b694: CTRL-EVENT-CONNECTED - Connection to 04:a1:51:cc:ea:9e completed [id=0 id_str=]
Jul 26 09:58:07 Servo NetworkManager[1282]: <info>  [1690390687.2331] device (wlxc4411e38b694): supplicant interface state: 4way_handshake -> completed
Jul 26 09:58:07 Servo NetworkManager[1282]: <info>  [1690390687.2332] device (wlxc4411e38b694): Activation: (wifi) Stage 2 of 5 (Device Configure) successful. Connected to wireless network "timshop24"
Jul 26 09:58:07 Servo NetworkManager[1282]: <info>  [1690390687.2332] device (p2p-dev-wlxc4411e38b694): supplicant management interface state: 4way_handshake -> completed
Jul 26 09:58:07 Servo NetworkManager[1282]: <info>  [1690390687.2334] device (wlxc4411e38b694): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Jul 26 09:58:07 Servo NetworkManager[1282]: <info>  [1690390687.2340] dhcp4 (wlxc4411e38b694): activation: beginning transaction (timeout in 45 seconds)
Jul 26 09:58:07 Servo kernel: [ 4090.260948] IPv6: ADDRCONF(NETDEV_CHANGE): wlxc4411e38b694: link becomes ready
Jul 26 09:58:07 Servo avahi-daemon[1279]: Joining mDNS multicast group on interface wlxc4411e38b694.IPv6 with address fe80::7bf7:9cb5:8453:53bf.
Jul 26 09:58:07 Servo avahi-daemon[1279]: New relevant interface wlxc4411e38b694.IPv6 for mDNS.
Jul 26 09:58:07 Servo avahi-daemon[1279]: Registering new address record for fe80::7bf7:9cb5:8453:53bf on wlxc4411e38b694.*.
Jul 26 09:58:07 Servo wpa_supplicant[1317]: wlxc4411e38b694: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-24 noise=9999 txrate=14400
Jul 26 09:58:52 Servo NetworkManager[1282]: <info>  [1690390732.7128] device (wlxc4411e38b694): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed')
Jul 26 09:58:52 Servo NetworkManager[1282]: <info>  [1690390732.7136] manager: NetworkManager state is now CONNECTED_LOCAL
Jul 26 09:58:52 Servo NetworkManager[1282]: <warn>  [1690390732.7142] device (wlxc4411e38b694): Activation: failed for connection 'timshop24'
Jul 26 09:58:52 Servo NetworkManager[1282]: <info>  [1690390732.7146] device (wlxc4411e38b694): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Jul 26 09:58:52 Servo avahi-daemon[1279]: Withdrawing address record for fe80::7bf7:9cb5:8453:53bf on wlxc4411e38b694.
Jul 26 09:58:52 Servo avahi-daemon[1279]: Leaving mDNS multicast group on interface wlxc4411e38b694.IPv6 with address fe80::7bf7:9cb5:8453:53bf.
Jul 26 09:58:52 Servo avahi-daemon[1279]: Interface wlxc4411e38b694.IPv6 no longer relevant for mDNS.
Jul 26 09:58:52 Servo NetworkManager[1282]: <info>  [1690390732.7469] dhcp4 (wlxc4411e38b694): canceled DHCP transaction
Jul 26 09:58:52 Servo kernel: [ 4135.778156] wlxc4411e38b694: deauthenticating from 04:a1:51:cc:ea:9e by local choice (Reason: 3=DEAUTH_LEAVING)
Jul 26 09:58:52 Servo wpa_supplicant[1317]: wlxc4411e38b694: CTRL-EVENT-DISCONNECTED bssid=04:a1:51:cc:ea:9e reason=3 locally_generated=1
Jul 26 09:58:52 Servo wpa_supplicant[1317]: wlxc4411e38b694: CTRL-EVENT-DSCP-POLICY clear_all
Jul 26 09:58:52 Servo NetworkManager[1282]: <info>  [1690390732.9365] device (wlxc4411e38b694): supplicant interface state: completed -> disconnected
Jul 26 09:58:52 Servo NetworkManager[1282]: <info>  [1690390732.9365] device (p2p-dev-wlxc4411e38b694): supplicant management interface state: completed -> disconnected
Jul 26 09:58:52 Servo wpa_supplicant[1317]: wlxc4411e38b694: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Jul 26 09:58:53 Servo wpa_supplicant[1317]: wlxc4411e38b694: Reject scan trigger since one is already pending
Jul 26 09:58:54 Servo wpa_supplicant[1317]: wlxc4411e38b694: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
Jul 26 09:58:56 Servo wpa_supplicant[1317]: wlxc4411e38b694: Reject scan trigger since one is already pending
Jul 26 09:58:57 Servo wpa_supplicant[1317]: wlxc4411e38b694: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
Jul 26 09:59:17 Servo wpa_supplicant[1317]: wlxc4411e38b694: Reject scan trigger since one is already pending

答案1

如果您运行以下命令重新启动网络管理器,会发生什么情况?

“sudo systemctl 重启网络管理器”

这里有一些建议:https://ubuntu-mate.community/t/network-connection-needs-restarting-in-20-04/24302

答案2

这是 DHCP 问题。我设置了无线连接以查看 Google DHCP 服务器,问题似乎已经消失。

在此处输入图片描述

相关内容