我在 Ubuntu (16.04) 中定义了一个连接,使用配置为热点的 WiFi 将我的以太网连接共享给其他设备。直到今天,它都运行良好。每次我尝试连接到我的电脑时,WiFi 都会中断,并出现一条消息,提示“已断开连接”并消失,单击网络图标会告诉我 WiFi 网络尚未准备好。谷歌搜索后,我发现我可以使用以下方法重置它:sudo service network-manager restart
。重置(或重新启动)后,WiFi 似乎可以正常工作,但如果我尝试共享我的以太网连接,它又会中断。
可能是周末的更新破坏了该功能。
我该怎么办?我应该运行哪个命令来为您提供更多信息?
执行dmesg
这是我所知道的唯一检查 Linux 问题的命令,它告诉我一个分段错误:
[ 41.416701] wlo1: deauthenticating from 00:1f:ca:83:2e:a0 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 41.429457] cfg80211: World regulatory domain updated:
[ 41.429461] cfg80211: DFS Master region: unset
[ 41.429462] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 41.429464] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 41.429466] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 41.429467] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 41.429469] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 41.429471] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 41.429472] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 41.429474] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 41.429475] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 41.910282] iwlwifi 0000:5c:00.0: L1 Enabled - LTR Disabled
[ 41.916941] iwlwifi 0000:5c:00.0: L1 Enabled - LTR Disabled
[ 41.917030] iwlwifi 0000:5c:00.0: Radio type=0x2-0x1-0x0
[ 42.190963] iwlwifi 0000:5c:00.0: L1 Enabled - LTR Disabled
[ 42.197625] iwlwifi 0000:5c:00.0: L1 Enabled - LTR Disabled
[ 42.197714] iwlwifi 0000:5c:00.0: Radio type=0x2-0x1-0x0
[ 42.276119] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
[ 42.284963] IPv6: ADDRCONF(NETDEV_CHANGE): wlo1: link becomes ready
[ 42.290589] iwlwifi 0000:5c:00.0: L1 Enabled - LTR Disabled
[ 42.297254] iwlwifi 0000:5c:00.0: L1 Enabled - LTR Disabled
[ 42.297342] iwlwifi 0000:5c:00.0: Radio type=0x2-0x1-0x0
[ 42.569482] iwlwifi 0000:5c:00.0: L1 Enabled - LTR Disabled
[ 42.576158] iwlwifi 0000:5c:00.0: L1 Enabled - LTR Disabled
[ 42.576264] iwlwifi 0000:5c:00.0: Radio type=0x2-0x1-0x0
[ 42.658173] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
[ 42.660754] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
[ 42.660867] iwlwifi 0000:5c:00.0: L1 Enabled - LTR Disabled
[ 42.667515] iwlwifi 0000:5c:00.0: L1 Enabled - LTR Disabled
[ 42.667604] iwlwifi 0000:5c:00.0: Radio type=0x2-0x1-0x0
[ 42.939971] iwlwifi 0000:5c:00.0: L1 Enabled - LTR Disabled
[ 42.946627] iwlwifi 0000:5c:00.0: L1 Enabled - LTR Disabled
[ 42.946715] iwlwifi 0000:5c:00.0: Radio type=0x2-0x1-0x0
[ 43.033956] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
[ 43.044973] IPv6: ADDRCONF(NETDEV_CHANGE): wlo1: link becomes ready
[ 66.835084] show_signal_msg: 51 callbacks suppressed
[ 66.835089] wpa_supplicant[2446]: segfault at 30 ip 00005582e920d582 sp 00007ffe24d6e440 error 4 in wpa_supplicant[5582e919c000+204000]
[ 66.988456] iwlwifi 0000:5c:00.0: L1 Enabled - LTR Disabled
[ 66.995111] iwlwifi 0000:5c:00.0: L1 Enabled - LTR Disabled
[ 66.995199] iwlwifi 0000:5c:00.0: Radio type=0x2-0x1-0x0
[ 67.267469] iwlwifi 0000:5c:00.0: L1 Enabled - LTR Disabled
[ 67.274324] iwlwifi 0000:5c:00.0: L1 Enabled - LTR Disabled
[ 67.274416] iwlwifi 0000:5c:00.0: Radio type=0x2-0x1-0x0
您可以看到,我断开了之前的 WiFi 连接,并且当我尝试从设备连接时,连接就中断了。
谢谢。