![每次我连接 wifi 时,它都会自动断开连接并显示“(2)活动连接在初始化之前失败”](https://linux22.com/image/1090136/%E6%AF%8F%E6%AC%A1%E6%88%91%E8%BF%9E%E6%8E%A5%20wifi%20%E6%97%B6%EF%BC%8C%E5%AE%83%E9%83%BD%E4%BC%9A%E8%87%AA%E5%8A%A8%E6%96%AD%E5%BC%80%E8%BF%9E%E6%8E%A5%E5%B9%B6%E6%98%BE%E7%A4%BA%E2%80%9C%EF%BC%882%EF%BC%89%E6%B4%BB%E5%8A%A8%E8%BF%9E%E6%8E%A5%E5%9C%A8%E5%88%9D%E5%A7%8B%E5%8C%96%E4%B9%8B%E5%89%8D%E5%A4%B1%E8%B4%A5%E2%80%9D.png)
我用的是 ubuntu 16.04.2 LTS。我是 Linux 新手,每当我打开系统并连接到 wifi 时,几秒钟后它就会自动断开连接并显示“(2) 活动连接在初始化之前失败”。它永远不会重新连接,直到我重新启动,一旦重新启动,这个过程就会重复。我无法使用 wifi。请有人帮忙。
回应@waltinator
我按照你说的做了,因为我是新用户,所以我在处理日志消息时遇到了很多问题。我粘贴了一些日志消息,希望你能帮助我 – Praveen Ojha
Jul 28 00:52:51 praveen-Lenovo-ideapad-300-15ISK wpa_supplicant[991]: wlp2s0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
Jul 28 00:52:52 praveen-Lenovo-ideapad-300-15ISK wpa_supplicant[991]: wlp2s0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
Jul 28 00:52:53 praveen-Lenovo-ideapad-300-15ISK wpa_supplicant[991]: wlp2s0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
Jul 28 00:52:54 praveen-Lenovo-ideapad-300-15ISK wpa_supplicant[991]: wlp2s0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
当我断开 wifi 连接时,它说,
Jul 28 00:59:01 praveen-Lenovo-ideapad-300-15ISK NetworkManager[848]: <warn> [1501183741.5063] device (wlp2s0): Activation: (wifi) association took too long, failing activation
Jul 28 00:59:01 praveen-Lenovo-ideapad-300-15ISK NetworkManager[848]: <info> [1501183741.5065] device (wlp2s0): state change: config -> failed (reason 'ssid-not-found') [50 120 53]
答案1
我遇到了同样的问题。
我安装了相应无线接口的驱动程序。输入sudo lshw -c network
并查看无线接口的描述。查看您的产品和供应商。
为您的网卡安装正确的驱动程序。就我而言,我点击此链接下载https://medium.com/@elmaxx/rtl8821ae-wifi-drivers-in-ubuntu-16-04-4c1286524afa