我在一台全新的 NUC6i3SYH 上下载并安装了 ubuntu 16.04.1,但无线连接出现了问题。经过调试,问题似乎出在 wpa_supplicant 和驱动程序之间。在全新启动时,我在 /var/log/syslog 中看到:
Aug 27 12:45:31 ada-desktop NetworkManager[2675]: <info> [1472316331.3051] supplicant: wpa_supplicant running
Aug 27 12:45:31 ada-desktop NetworkManager[2675]: <info> [1472316331.3051] device (wlp1s0): supplicant interface state: init -> starting
Aug 27 12:45:31 ada-desktop wpa_supplicant[2958]: dbus: wpa_dbus_get_object_properties: failed to get object properties: (none) none
Aug 27 12:45:31 ada-desktop wpa_supplicant[2958]: dbus: Failed to construct signal
Aug 27 12:45:31 ada-desktop wpa_supplicant[2958]: Could not read interface p2p-dev-wlp1s0 flags: No such device
Aug 27 12:45:31 ada-desktop NetworkManager[2675]: <info> [1472316331.3544] device (wlp1s0): supplicant interface state: starting -> ready
Aug 27 12:45:31 ada-desktop NetworkManager[2675]: <info> [1472316331.3545] device (wlp1s0): state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
Aug 27 12:45:31 ada-desktop kernel: [ 6.009626] IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready
有任何想法吗?
其他症状/详情:
当我单击网络图标时,它会显示许多本地无线网络。但是,当我输入家庭无线网络的密码时,它什么也没做。当我查看 /var/log/syslog 时,我看到定期的消息说:
... wpa_supplicant[...]: wlp1s0: Failed to initiate sched scan
当我运行 lspci -nnk 时,我看到:
01:00.0 Network controller [0280]: Intel corporation Wireless 8260 [8086:24f3] (rev 3a)
Subsystem: Intel Corporation Wireless 8260 [8086:9010]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
当我查看 /var/log/kern.log 时,我看到与快乐驱动程序一致的消息。
我从来没有遇到过可以扫描网络但系统无法工作的情况。
更多详细信息:(1) 通过有线网络,我执行了 sudo apt-get upgrade。没有帮助。(2) 我还更新了 bios 固件。没有帮助。
当我 tail /var/log/syslog 时,我看到:
Aug 25 20:10:09 ada-desktop NetworkManager[2747]: <warn> [1472170209.1025] device (wlp1s0): No agents were available for this request.
Aug 25 20:10:09 ada-desktop NetworkManager[2747]: <info> [1472170209.1026] device (wlp1s0): state change: need-auth -> failed (reason 'no-secrets') [60 120 7]
Aug 25 20:10:09 ada-desktop NetworkManager[2747]: <info> [1472170209.1034] manager: NetworkManager state is now DISCONNECTED
Aug 25 20:10:09 ada-desktop NetworkManager[2747]: <warn> [1472170209.1046] device (wlp1s0): Activation: failed for connection '2CNC9'
Aug 25 20:10:09 ada-desktop NetworkManager[2747]: <info> [1472170209.1068] device (wlp1s0): state change: failed -> disconnected (reason 'none') [120 30 0]
Aug 25 20:10:09 ada-desktop kernel: [ 235.762708] IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready
Aug 25 20:10:10 ada-desktop wpa_supplicant[2926]: wlp1s0: Failed to initiate sched scan
关闭网络管理器后,我尝试手动配置,但遇到了问题。以下操作成功:
sudo ifconfig wlp1s0 up
sudo ifconfig wlp1s0 192.168.1.223succeeds.
sudo ifconfig wlp1s0 netmask 255.255.255.255
sudo iwconfig wlp1s0 essid 2CNC9
但这失败了:
sudo iwconfig wlp1s0 key s:longpassphrase
错误:
Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlp1s0 ; Invalid argument.
显然,这是因为我需要担心 wpa_supplicant。