ubuntu能搜索wifi,却不能连接部分wifi

使用命令查看系统日志:less /var/log/syslog

  1. May 22 16:20:04 lan-PC console-kit-daemon[7092]: console-kit-daemon[7092]: GLib-CRITICAL: Source ID 16 was not found when attempting to remove it
  2. May 22 16:20:04 lan-PC console-kit-daemon[7092]: GLib-CRITICAL: Source ID 16 was not found when attempting to remove it
  3. May 22 16:20:08 lan-PC NetworkManager[813]: <info> Activation (wlan0) starting connection 'English'
  4. May 22 16:20:08 lan-PC NetworkManager[813]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
  5. May 22 16:20:08 lan-PC NetworkManager[813]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
  6. May 22 16:20:08 lan-PC NetworkManager[813]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
  7. May 22 16:20:08 lan-PC NetworkManager[813]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
  8. May 22 16:20:08 lan-PC NetworkManager[813]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
  9. May 22 16:20:08 lan-PC NetworkManager[813]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
  10. May 22 16:20:08 lan-PC NetworkManager[813]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
  11. May 22 16:20:08 lan-PC NetworkManager[813]: <info> Activation (wlan0/wireless): access point 'English' has security, but secrets are required.
  12. May 22 16:20:08 lan-PC NetworkManager[813]: <info> (wlan0): device state change: config -> need-auth (reason 'none') [50 60 0]
  13. May 22 16:20:08 lan-PC NetworkManager[813]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
  14. May 22 16:20:08 lan-PC NetworkManager[813]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
  15. May 22 16:20:08 lan-PC NetworkManager[813]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
  16. May 22 16:20:08 lan-PC NetworkManager[813]: <info> (wlan0): device state change: need-auth -> prepare (reason 'none') [60 40 0]
  17. May 22 16:20:08 lan-PC NetworkManager[813]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
  18. May 22 16:20:08 lan-PC NetworkManager[813]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
  19. May 22 16:20:08 lan-PC NetworkManager[813]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
  20. May 22 16:20:08 lan-PC NetworkManager[813]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
  21. May 22 16:20:08 lan-PC NetworkManager[813]: <info> Activation (wlan0/wireless): connection 'English' has security, and secrets exist.  No new secrets needed.
  22. May 22 16:20:08 lan-PC NetworkManager[813]: <info> Config: added 'ssid' value 'English'
  23. May 22 16:20:08 lan-PC NetworkManager[813]: <info> Config: added 'scan_ssid' value '1'
  24. May 22 16:20:08 lan-PC NetworkManager[813]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
  25. May 22 16:20:08 lan-PC NetworkManager[813]: <info> Config: added 'auth_alg' value 'OPEN'
  26. May 22 16:20:08 lan-PC NetworkManager[813]: <info> Config: added 'psk' value '<omitted>'
  27. May 22 16:20:08 lan-PC NetworkManager[813]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
  28. May 22 16:20:08 lan-PC NetworkManager[813]: <warn> Couldn't disconnect supplicant interface: This interface is not connected.
  29. May 22 16:20:08 lan-PC NetworkManager[813]: <warn> Couldn't disconnect supplicant interface: This interface is not connected.
  30. May 22 16:20:08 lan-PC NetworkManager[813]: <info> Config: set interface ap_scan to 1
  31. May 22 16:20:34 lan-PC NetworkManager[813]: <warn> Activation (wlan0/wireless): association took too long, failing activation.
  32. May 22 16:20:34 lan-PC NetworkManager[813]: <info> (wlan0): device state change: config -> failed (reason 'ssid-not-found') [50 120 53]
  33. May 22 16:20:34 lan-PC NetworkManager[813]: <warn> Activation (wlan0) failed for connection 'English'
  34. May 22 16:20:34 lan-PC NetworkManager[813]: <info> (wlan0): device state change: failed -> disconnected (reason 'none') [120 30 0]
  35. May 22 16:20:34 lan-PC NetworkManager[813]: <info> (wlan0): deactivating device (reason 'none') [0]
  36. May 22 16:20:34 lan-PC NetworkManager[813]: <info> (wlan0): supplicant interface state: scanning -> disconnected
  37. May 22 16:20:34 lan-PC NetworkManager[813]: <warn> Couldn't disconnect supplicant interface: This interface is not connected.
解决办法:sudo gedit /etc/modprobe.d/iwlwifi.conf
在文件末尾加入:options iwlwifi 11n_disable=1即可

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值