16.04 Realtek RTL8723AE Wifi 最终失去连接,直到重启才能重新连接

16.04 Realtek RTL8723AE Wifi 最终失去连接,直到重启才能重新连接

我并没有真正尝试重现该问题,但它似乎在某种形式的流媒体发生时发生。最终我通过 Realtek RTL8723AE 失去了无线连接。这可能需要几个小时。

启用/禁用 WiFi 和/或网络并重新连接失败。我收到以下警告sudo service network-manager status

错误:无法打开/run/network/ifstate

重新启动network-manager服务没有影响。我通常只是重新启动,但想确定问题的根本原因。我读了一些资料,但还没有从我的搜索中找到解决方案。

我也尝试过sudo iplink set wlp4s0 up,结果

RTNETLINK 回答:由于 RF-kill,无法进行操作

nmcli networking on; nmcli radio wifi on没有效果...操作系统继续尝试连接然后说连接丢失。

我在 Ubuntu 16.0.4 和我的新 Lubuntu 安装 19.0.4(同一台笔记本电脑)上遇到了同样的问题。从 Windows 启动时,WiFi 适配器 Realtek RTL8723AE 没有任何问题。

更新包含来自日志的片段:

-- Logs begin at Sat 2020-02-22 03:42:53 CST, end at Fri 2020-03-20 19:34:51 CDT. --
Mar 17 11:44:26 nolan-pc NetworkManager[834]: <info>  [1584463466.3201] NetworkManager (version 1.16.0) is starting... (for the first time)

## ... Too many characters for AskUbuntu

Mar 18 00:50:12 nolan-pc NetworkManager[834]: <info>  [1584510612.3313] device (wlp4s0): supplicant interface state: 4-way handshake -> completed
Mar 18 00:50:12 nolan-pc NetworkManager[834]: <info>  [1584510612.3317] device (p2p-dev-wlp4s0): supplicant management interface state: 4-way handshake -> completed
Mar 18 08:14:07 nolan-pc NetworkManager[834]: <info>  [1584537247.9004] dhcp4 (wlp4s0):   address 192.168.1.18
Mar 18 08:14:07 nolan-pc NetworkManager[834]: <info>  [1584537247.9005] dhcp4 (wlp4s0):   plen 24 (255.255.255.0)
Mar 18 08:14:07 nolan-pc NetworkManager[834]: <info>  [1584537247.9005] dhcp4 (wlp4s0):   gateway 192.168.1.1
Mar 18 08:14:07 nolan-pc NetworkManager[834]: <info>  [1584537247.9005] dhcp4 (wlp4s0):   lease time 86400
Mar 18 08:14:07 nolan-pc NetworkManager[834]: <info>  [1584537247.9006] dhcp4 (wlp4s0):   nameserver '192.168.1.1'
Mar 18 08:14:07 nolan-pc NetworkManager[834]: <info>  [1584537247.9006] dhcp4 (wlp4s0): state changed bound -> bound
Mar 18 18:34:45 nolan-pc NetworkManager[834]: <info>  [1584574485.2967] dhcp4 (wlp4s0):   address 192.168.1.18
Mar 18 18:34:45 nolan-pc NetworkManager[834]: <info>  [1584574485.2968] dhcp4 (wlp4s0):   plen 24 (255.255.255.0)
Mar 18 18:34:45 nolan-pc NetworkManager[834]: <info>  [1584574485.2968] dhcp4 (wlp4s0):   gateway 192.168.1.1
Mar 18 18:34:45 nolan-pc NetworkManager[834]: <info>  [1584574485.2968] dhcp4 (wlp4s0):   lease time 86400
Mar 18 18:34:45 nolan-pc NetworkManager[834]: <info>  [1584574485.2968] dhcp4 (wlp4s0):   nameserver '192.168.1.1'
Mar 18 18:34:45 nolan-pc NetworkManager[834]: <info>  [1584574485.2968] dhcp4 (wlp4s0): state changed bound -> bound
Mar 19 04:15:35 nolan-pc NetworkManager[834]: <info>  [1584609335.1228] dhcp4 (wlp4s0):   address 192.168.1.18
Mar 19 04:15:35 nolan-pc NetworkManager[834]: <info>  [1584609335.1228] dhcp4 (wlp4s0):   plen 24 (255.255.255.0)
Mar 19 04:15:35 nolan-pc NetworkManager[834]: <info>  [1584609335.1228] dhcp4 (wlp4s0):   gateway 192.168.1.1
Mar 19 04:15:35 nolan-pc NetworkManager[834]: <info>  [1584609335.1228] dhcp4 (wlp4s0):   lease time 86400
Mar 19 04:15:35 nolan-pc NetworkManager[834]: <info>  [1584609335.1228] dhcp4 (wlp4s0):   nameserver '192.168.1.1'
Mar 19 04:15:35 nolan-pc NetworkManager[834]: <info>  [1584609335.1229] dhcp4 (wlp4s0): state changed bound -> bound
Mar 19 15:46:45 nolan-pc NetworkManager[834]: <info>  [1584650805.4661] dhcp4 (wlp4s0):   address 192.168.1.18
Mar 19 15:46:45 nolan-pc NetworkManager[834]: <info>  [1584650805.4662] dhcp4 (wlp4s0):   plen 24 (255.255.255.0)
Mar 19 15:46:45 nolan-pc NetworkManager[834]: <info>  [1584650805.4662] dhcp4 (wlp4s0):   gateway 192.168.1.1
Mar 19 15:46:45 nolan-pc NetworkManager[834]: <info>  [1584650805.4662] dhcp4 (wlp4s0):   lease time 86400
Mar 19 15:46:45 nolan-pc NetworkManager[834]: <info>  [1584650805.4662] dhcp4 (wlp4s0):   nameserver '192.168.1.1'
Mar 19 15:46:45 nolan-pc NetworkManager[834]: <info>  [1584650805.4663] dhcp4 (wlp4s0): state changed bound -> bound
Mar 20 02:23:56 nolan-pc NetworkManager[834]: <info>  [1584689036.2172] dhcp4 (wlp4s0):   address 192.168.1.18
Mar 20 02:23:56 nolan-pc NetworkManager[834]: <info>  [1584689036.2172] dhcp4 (wlp4s0):   plen 24 (255.255.255.0)
Mar 20 02:23:56 nolan-pc NetworkManager[834]: <info>  [1584689036.2172] dhcp4 (wlp4s0):   gateway 192.168.1.1
Mar 20 02:23:56 nolan-pc NetworkManager[834]: <info>  [1584689036.2173] dhcp4 (wlp4s0):   lease time 86400
Mar 20 02:23:56 nolan-pc NetworkManager[834]: <info>  [1584689036.2173] dhcp4 (wlp4s0):   nameserver '192.168.1.1'
Mar 20 02:23:56 nolan-pc NetworkManager[834]: <info>  [1584689036.2173] dhcp4 (wlp4s0): state changed bound -> bound
Mar 20 09:48:33 nolan-pc NetworkManager[834]: <warn>  [1584715713.2455] sup-iface[0x564040d8d930,wlp4s0]: connection disconnected (reason -4)
Mar 20 09:48:33 nolan-pc NetworkManager[834]: <info>  [1584715713.2507] device (wlp4s0): supplicant interface state: completed -> disconnected
Mar 20 09:48:33 nolan-pc NetworkManager[834]: <info>  [1584715713.2508] device (p2p-dev-wlp4s0): supplicant management interface state: completed -> disconnected
Mar 20 09:48:44 nolan-pc NetworkManager[834]: <info>  [1584715724.5730] device (wlp4s0): supplicant interface state: disconnected -> scanning
Mar 20 09:48:44 nolan-pc NetworkManager[834]: <info>  [1584715724.5730] device (p2p-dev-wlp4s0): supplicant management interface state: disconnected -> scanning
Mar 20 09:48:48 nolan-pc NetworkManager[834]: <warn>  [1584715728.6475] device (wlp4s0): link timed out.
Mar 20 09:48:48 nolan-pc NetworkManager[834]: <info>  [1584715728.6482] device (wlp4s0): state change: activated -> failed (reason 'ssid-not-found', sys-iface-state: 'managed')
Mar 20 09:48:48 nolan-pc NetworkManager[834]: <info>  [1584715728.6489] manager: NetworkManager state is now DISCONNECTED
Mar 20 09:48:48 nolan-pc NetworkManager[834]: <warn>  [1584715728.6548] device (wlp4s0): Activation: failed for connection 'NETGEAR11'
Mar 20 09:48:48 nolan-pc NetworkManager[834]: <info>  [1584715728.6566] device (wlp4s0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Mar 20 09:48:48 nolan-pc NetworkManager[834]: <info>  [1584715728.6909] dhcp4 (wlp4s0): canceled DHCP transaction, DHCP client pid 1266
Mar 20 09:48:48 nolan-pc NetworkManager[834]: <info>  [1584715728.6909] dhcp4 (wlp4s0): state changed bound -> done
Mar 20 09:49:03 nolan-pc NetworkManager[834]: <info>  [1584715743.5340] device (wlp4s0): supplicant interface state: scanning -> disconnected
Mar 20 09:49:03 nolan-pc NetworkManager[834]: <info>  [1584715743.5341] device (p2p-dev-wlp4s0): supplicant management interface state: scanning -> disconnected
Mar 20 09:49:04 nolan-pc NetworkManager[834]: <info>  [1584715744.4967] device (wlp4s0): supplicant interface state: disconnected -> inactive
Mar 20 09:49:04 nolan-pc NetworkManager[834]: <info>  [1584715744.4969] device (p2p-dev-wlp4s0): supplicant management interface state: disconnected -> inactive
Mar 20 09:49:39 nolan-pc NetworkManager[834]: <info>  [1584715779.1081] policy: auto-activating connection 'NETGEAR11' (23ebfc7a-1c1c-454b-b366-80a75eaa2b51)
Mar 20 09:49:39 nolan-pc NetworkManager[834]: <info>  [1584715779.1094] device (wlp4s0): Activation: starting connection 'NETGEAR11' (23ebfc7a-1c1c-454b-b366-80a75eaa2b51)
Mar 20 09:49:39 nolan-pc NetworkManager[834]: <info>  [1584715779.1097] device (wlp4s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Mar 20 09:49:39 nolan-pc NetworkManager[834]: <info>  [1584715779.1104] manager: NetworkManager state is now CONNECTING
Mar 20 09:49:39 nolan-pc NetworkManager[834]: <info>  [1584715779.1111] device (wlp4s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Mar 20 09:49:39 nolan-pc NetworkManager[834]: <info>  [1584715779.1116] device (wlp4s0): Activation: (wifi) access point 'NETGEAR11' has security, but secrets are required.
Mar 20 09:49:39 nolan-pc NetworkManager[834]: <info>  [1584715779.1116] device (wlp4s0): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Mar 20 09:49:39 nolan-pc NetworkManager[834]: <info>  [1584715779.1119] sup-iface[0x564040d8d930,wlp4s0]: wps: type pbc start...
Mar 20 09:49:39 nolan-pc NetworkManager[834]: <info>  [1584715779.1138] device (wlp4s0): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
Mar 20 09:49:39 nolan-pc NetworkManager[834]: <info>  [1584715779.1147] device (wlp4s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Mar 20 09:49:39 nolan-pc NetworkManager[834]: <info>  [1584715779.1152] device (wlp4s0): Activation: (wifi) connection 'NETGEAR11' has security, and secrets exist.  No new secrets needed.
Mar 20 09:49:39 nolan-pc NetworkManager[834]: <info>  [1584715779.1154] Config: added 'ssid' value 'NETGEAR11'
Mar 20 09:49:39 nolan-pc NetworkManager[834]: <info>  [1584715779.1154] Config: added 'scan_ssid' value '1'
Mar 20 09:49:39 nolan-pc NetworkManager[834]: <info>  [1584715779.1154] Config: added 'bgscan' value 'simple:30:-80:86400'
Mar 20 09:49:39 nolan-pc NetworkManager[834]: <info>  [1584715779.1154] Config: added 'key_mgmt' value 'WPA-PSK'
Mar 20 09:49:39 nolan-pc NetworkManager[834]: <info>  [1584715779.1155] Config: added 'auth_alg' value 'OPEN'
Mar 20 09:49:39 nolan-pc NetworkManager[834]: <info>  [1584715779.1155] Config: added 'psk' value '<hidden>'
Mar 20 09:49:39 nolan-pc NetworkManager[834]: <info>  [1584715779.1406] device (wlp4s0): supplicant interface state: inactive -> authenticating
Mar 20 09:49:39 nolan-pc NetworkManager[834]: <info>  [1584715779.1407] device (p2p-dev-wlp4s0): supplicant management interface state: inactive -> authenticating
Mar 20 09:49:42 nolan-pc NetworkManager[834]: <info>  [1584715782.6388] device (wlp4s0): supplicant interface state: authenticating -> disconnected
Mar 20 09:49:42 nolan-pc NetworkManager[834]: <info>  [1584715782.6388] device (p2p-dev-wlp4s0): supplicant management interface state: authenticating -> disconnected
Mar 20 09:49:43 nolan-pc NetworkManager[834]: <info>  [1584715783.1392] device (wlp4s0): supplicant interface state: disconnected -> scanning
Mar 20 09:49:43 nolan-pc NetworkManager[834]: <info>  [1584715783.1392] device (p2p-dev-wlp4s0): supplicant management interface state: disconnected -> scanning
Mar 20 09:49:44 nolan-pc NetworkManager[834]: <info>  [1584715784.2058] device (wlp4s0): supplicant interface state: scanning -> authenticating
Mar 20 09:49:44 nolan-pc NetworkManager[834]: <info>  [1584715784.2058] device (p2p-dev-wlp4s0): supplicant management interface state: scanning -> authenticating
Mar 20 09:49:47 nolan-pc NetworkManager[834]: <info>  [1584715787.6586] device (wlp4s0): supplicant interface state: authenticating -> disconnected
Mar 20 09:49:47 nolan-pc NetworkManager[834]: <info>  [1584715787.6586] device (p2p-dev-wlp4s0): supplicant management interface state: authenticating -> disconnected
Mar 20 09:49:48 nolan-pc NetworkManager[834]: <info>  [1584715788.6598] device (wlp4s0): supplicant interface state: disconnected -> scanning
Mar 20 09:49:48 nolan-pc NetworkManager[834]: <info>  [1584715788.6599] device (p2p-dev-wlp4s0): supplicant management interface state: disconnected -> scanning
Mar 20 09:49:49 nolan-pc NetworkManager[834]: <info>  [1584715789.7220] device (wlp4s0): supplicant interface state: scanning -> authenticating
Mar 20 09:49:49 nolan-pc NetworkManager[834]: <info>  [1584715789.7221] device (p2p-dev-wlp4s0): supplicant management interface state: scanning -> authenticating
Mar 20 09:49:52 nolan-pc NetworkManager[834]: <info>  [1584715792.6429] device (wlp4s0): supplicant interface state: authenticating -> disconnected
Mar 20 09:49:52 nolan-pc NetworkManager[834]: <info>  [1584715792.6430] device (p2p-dev-wlp4s0): supplicant management interface state: authenticating -> disconnected
Mar 20 09:49:57 nolan-pc NetworkManager[834]: <info>  [1584715797.6479] device (wlp4s0): supplicant interface state: disconnected -> scanning
Mar 20 09:49:57 nolan-pc NetworkManager[834]: <info>  [1584715797.6480] device (p2p-dev-wlp4s0): supplicant management interface state: disconnected -> scanning
Mar 20 09:50:01 nolan-pc NetworkManager[834]: <info>  [1584715801.6953] device (wlp4s0): supplicant interface state: scanning -> authenticating
Mar 20 09:50:01 nolan-pc NetworkManager[834]: <info>  [1584715801.6953] device (p2p-dev-wlp4s0): supplicant management interface state: scanning -> authenticating
Mar 20 09:50:04 nolan-pc NetworkManager[834]: <info>  [1584715804.6428] device (wlp4s0): supplicant interface state: authenticating -> disconnected
Mar 20 09:50:04 nolan-pc NetworkManager[834]: <info>  [1584715804.6429] device (p2p-dev-wlp4s0): supplicant management interface state: authenticating -> disconnected
Mar 20 09:50:04 nolan-pc NetworkManager[834]: <warn>  [1584715804.6452] device (wlp4s0): Activation: (wifi) association took too long, failing activation
Mar 20 09:50:04 nolan-pc NetworkManager[834]: <info>  [1584715804.6452] device (wlp4s0): state change: config -> failed (reason 'ssid-not-found', sys-iface-state: 'managed')
Mar 20 09:50:04 nolan-pc NetworkManager[834]: <info>  [1584715804.6458] manager: NetworkManager state is now DISCONNECTED
Mar 20 09:50:04 nolan-pc NetworkManager[834]: <warn>  [1584715804.6463] device (wlp4s0): Activation: failed for connection 'NETGEAR11'

在我看来它连接正常?然后续订租约...然后神秘地失败了。

我确实在网上看到了一些东西,但还没有尝试过,因为我不确定这些选项的工作原理:

sudo modprobe -rv rtl8723ae
echo "options swenc=1 ips=0 fwlps=0" | sudo tee /etc/modprobe.d/rtl8723ae.conf

相关内容