我的 Wi-Fi 一直工作正常,直到几天前我启动时它无法连接到某个特定的网络,并出现错误“激活网络连接失败”。
我已尝试过:
以太网电缆。在这种情况下,网络连接正确。
连接到其他 Wi-Fi 网络。所有其他网络均可正常连接,只有我的家庭 Wi-Fi 无法连接。
重新安装网络管理器。没有变化。
重新启动并将笔记本电脑拔掉电源一天。重新启动时出现同样的问题。
有人能告诉我如何开始解决这个问题吗?例如,是否可以查看网络连接日志?(抱歉,我是 Linux 菜鸟)
好的,从下面的 journalctl 日志记录,显示错误:
Jun 07 17:42:33 hedgehog-X550CL NetworkManager[875]: <info> [1559925753.6176] device (wlp3s0): Activation: starting connection 'BTHub6-P2KG' (d19bdb2b-db85-4002-a776-82e006da179b)
Jun 07 17:42:33 hedgehog-X550CL NetworkManager[875]: <info> [1559925753.6178] audit: op="connection-activate" uuid="d19bdb2b-db85-4002-a776-82e006da179b" name="BTHub6-P2KG" pid=1590 uid=1000 result="success"
Jun 07 17:42:33 hedgehog-X550CL NetworkManager[875]: <info> [1559925753.6180] device (wlp3s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Jun 07 17:42:33 hedgehog-X550CL NetworkManager[875]: <info> [1559925753.6185] manager: NetworkManager state is now CONNECTING
Jun 07 17:42:33 hedgehog-X550CL NetworkManager[875]: <info> [1559925753.6191] device (wlp3s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Jun 07 17:42:33 hedgehog-X550CL NetworkManager[875]: <info> [1559925753.6196] device (wlp3s0): Activation: (wifi) access point 'BTHub6-P2KG' has security, but secrets are required.
Jun 07 17:42:33 hedgehog-X550CL NetworkManager[875]: <info> [1559925753.6196] device (wlp3s0): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Jun 07 17:42:33 hedgehog-X550CL NetworkManager[875]: <info> [1559925753.6199] sup-iface[0x561c7cc99a10,wlp3s0]: wps: type pbc start...
Jun 07 17:42:33 hedgehog-X550CL NetworkManager[875]: <info> [1559925753.6235] device (wlp3s0): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
Jun 07 17:42:33 hedgehog-X550CL NetworkManager[875]: <info> [1559925753.6257] device (wlp3s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Jun 07 17:42:33 hedgehog-X550CL NetworkManager[875]: <info> [1559925753.6267] device (wlp3s0): Activation: (wifi) connection 'BTHub6-P2KG' has security, and secrets exist. No new secrets needed.
Jun 07 17:42:33 hedgehog-X550CL NetworkManager[875]: <info> [1559925753.6270] Config: added 'ssid' value 'BTHub6-P2KG'
Jun 07 17:42:33 hedgehog-X550CL NetworkManager[875]: <info> [1559925753.6270] Config: added 'scan_ssid' value '1'
Jun 07 17:42:33 hedgehog-X550CL NetworkManager[875]: <info> [1559925753.6270] Config: added 'bgscan' value 'simple:30:-80:86400'
Jun 07 17:42:33 hedgehog-X550CL NetworkManager[875]: <info> [1559925753.6271] Config: added 'key_mgmt' value 'WPA-PSK'
Jun 07 17:42:33 hedgehog-X550CL NetworkManager[875]: <info> [1559925753.6271] Config: added 'psk' value '<hidden>'
Jun 07 17:42:33 hedgehog-X550CL NetworkManager[875]: <info> [1559925753.6627] device (wlp3s0): supplicant interface state: ready -> authenticating
Jun 07 17:42:33 hedgehog-X550CL NetworkManager[875]: <info> [1559925753.6627] device (p2p-dev-wlp3s0): supplicant management interface state: ready -> authenticating
Jun 07 17:42:33 hedgehog-X550CL NetworkManager[875]: <info> [1559925753.9235] device (wlp3s0): supplicant interface state: authenticating -> disconnected
Jun 07 17:42:33 hedgehog-X550CL NetworkManager[875]: <info> [1559925753.9236] device (p2p-dev-wlp3s0): supplicant management interface state: authenticating -> disconnected
Jun 07 17:42:34 hedgehog-X550CL NetworkManager[875]: <info> [1559925754.0294] device (wlp3s0): supplicant interface state: disconnected -> scanning
Jun 07 17:42:34 hedgehog-X550CL NetworkManager[875]: <info> [1559925754.0295] device (p2p-dev-wlp3s0): supplicant management interface state: disconnected -> scanning
Jun 07 17:42:35 hedgehog-X550CL NetworkManager[875]: <info> [1559925755.0966] device (wlp3s0): supplicant interface state: scanning -> authenticating
Jun 07 17:42:35 hedgehog-X550CL NetworkManager[875]: <info> [1559925755.0966] device (p2p-dev-wlp3s0): supplicant management interface state: scanning -> authenticating
Jun 07 17:42:35 hedgehog-X550CL NetworkManager[875]: <info> [1559925755.3802] device (wlp3s0): supplicant interface state: authenticating -> disconnected
Jun 07 17:42:35 hedgehog-X550CL NetworkManager[875]: <info> [1559925755.3803] device (p2p-dev-wlp3s0): supplicant management interface state: authenticating -> disconnected
Jun 07 17:42:35 hedgehog-X550CL NetworkManager[875]: <info> [1559925755.8865] device (wlp3s0): supplicant interface state: disconnected -> scanning
Jun 07 17:42:35 hedgehog-X550CL NetworkManager[875]: <info> [1559925755.8866] device (p2p-dev-wlp3s0): supplicant management interface state: disconnected -> scanning
Jun 07 17:42:36 hedgehog-X550CL NetworkManager[875]: <info> [1559925756.9525] device (wlp3s0): supplicant interface state: scanning -> authenticating
Jun 07 17:42:36 hedgehog-X550CL NetworkManager[875]: <info> [1559925756.9526] device (p2p-dev-wlp3s0): supplicant management interface state: scanning -> authenticating
Jun 07 17:42:37 hedgehog-X550CL NetworkManager[875]: <info> [1559925757.2996] device (wlp3s0): supplicant interface state: authenticating -> disconnected
Jun 07 17:42:37 hedgehog-X550CL NetworkManager[875]: <info> [1559925757.2996] device (p2p-dev-wlp3s0): supplicant management interface state: authenticating -> disconnected
Jun 07 17:42:38 hedgehog-X550CL NetworkManager[875]: <info> [1559925758.3066] device (wlp3s0): supplicant interface state: disconnected -> scanning
Jun 07 17:42:38 hedgehog-X550CL NetworkManager[875]: <info> [1559925758.3067] device (p2p-dev-wlp3s0): supplicant management interface state: disconnected -> scanning
Jun 07 17:42:39 hedgehog-X550CL NetworkManager[875]: <info> [1559925759.3729] device (wlp3s0): supplicant interface state: scanning -> authenticating
Jun 07 17:42:39 hedgehog-X550CL NetworkManager[875]: <info> [1559925759.3730] device (p2p-dev-wlp3s0): supplicant management interface state: scanning -> authenticating
Jun 07 17:42:39 hedgehog-X550CL NetworkManager[875]: <info> [1559925759.6801] device (wlp3s0): supplicant interface state: authenticating -> disconnected
Jun 07 17:42:39 hedgehog-X550CL NetworkManager[875]: <info> [1559925759.6803] device (p2p-dev-wlp3s0): supplicant management interface state: authenticating -> disconnected
Jun 07 17:42:44 hedgehog-X550CL NetworkManager[875]: <info> [1559925764.6875] device (wlp3s0): supplicant interface state: disconnected -> scanning
Jun 07 17:42:44 hedgehog-X550CL NetworkManager[875]: <info> [1559925764.6876] device (p2p-dev-wlp3s0): supplicant management interface state: disconnected -> scanning
Jun 07 17:42:49 hedgehog-X550CL NetworkManager[875]: <info> [1559925769.7583] device (wlp3s0): supplicant interface state: scanning -> authenticating
Jun 07 17:42:49 hedgehog-X550CL NetworkManager[875]: <info> [1559925769.7584] device (p2p-dev-wlp3s0): supplicant management interface state: scanning -> authenticating
Jun 07 17:42:50 hedgehog-X550CL NetworkManager[875]: <info> [1559925770.0638] device (wlp3s0): supplicant interface state: authenticating -> disconnected
Jun 07 17:42:50 hedgehog-X550CL NetworkManager[875]: <info> [1559925770.0639] device (p2p-dev-wlp3s0): supplicant management interface state: authenticating -> disconnected
Jun 07 17:42:58 hedgehog-X550CL NetworkManager[875]: <warn> [1559925778.6354] device (wlp3s0): Activation: (wifi) association took too long, failing activation
Jun 07 17:42:58 hedgehog-X550CL NetworkManager[875]: <info> [1559925778.6356] device (wlp3s0): state change: config -> failed (reason 'ssid-not-found', sys-iface-state: 'managed')
Jun 07 17:42:58 hedgehog-X550CL NetworkManager[875]: <info> [1559925778.6388] manager: NetworkManager state is now DISCONNECTED
Jun 07 17:42:58 hedgehog-X550CL NetworkManager[875]: <warn> [1559925778.6403] device (wlp3s0): Activation: failed for connection 'BTHub6-P2KG'
Jun 07 17:42:58 hedgehog-X550CL NetworkManager[875]: <info> [1559925778.6418] device (wlp3s0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Jun 07 17:43:00 hedgehog-X550CL NetworkManager[875]: <info> [1559925780.0644] device (wlp3s0): supplicant interface state: disconnected -> inactive
Jun 07 17:43:00 hedgehog-X550CL NetworkManager[875]: <info> [1559925780.0647] device (p2p-dev-wlp3s0): supplicant management interface state: disconnected -> inactive
因此,它似乎陷入了“请求者管理接口状态:就绪->正在验证”然后“请求者接口状态:正在验证->断开连接”的循环,最终超时。
答案1
哇,我感觉自己真是太愚蠢了。
令我惊讶的是,我的所有其他设备都可以正常连接,所以我认为这不是路由器的问题。
我所要做的就是关闭笔记本电脑上的 wifi,重启路由器,然后重新打开 wifi。我太专注于电脑上的问题了,甚至都没碰路由器本身!不过,奇怪的是,我的其他设备,Windows Android 等,都运行正常。无论如何,谢谢你,我希望这能帮助另一个像我一样的白痴。