我无法连接到我的开放式 wifi,这是一个移动热点。我已经为这个问题苦苦挣扎了很长时间。我可以正常连接到任何安全的 wifi,但当我尝试连接到我的移动热点时,我得到了:
(wifi) connection 'OpenGarden' requires no security. No secrets needed.
(wifi) Ad-Hoc network creation took too long, failing activation
无论我重启所有设备多少次,我都会收到同样的错误。我的 wifi 卡是 Intel 7260。我目前在 Ubuntu 16.10 上运行,我想我已经将其故障排除到驱动程序的版本。
启动时出现以下错误journalctl
:
kernel: iwlwifi 0000:02:00.0: Unsupported splx structure
kernel: iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-19.ucode failed with error -2
kernel: iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-18.ucode failed with error -2
kernel: iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-7265D-17.ucode failed with error -2
kernel: iwlwifi 0000:02:00.0: loaded firmware version 16.242414.0 op_mode iwlmvm
我之前装过 Ubuntu 15.04,我的 wifi 能够很好地连接到不安全的热点。使用该配置启动时,我的日志中有一行内容:
kernel: iwlwifi 0000:02:00.0: Unsupported splx structure
kernel: iwlwifi 0000:02:00.0: loaded firmware version 25.15.12.0 op_mode iwlmvm
那么,如何在 16.10 中加载旧驱动程序?有人听说过这样的问题吗?
编辑
好的,这是一个确定的更新!
我运行lspci -nnk | grep 0280 -A2
后报告了 7265:
Network controller [0280]: Intel Corporation Wireless 7265 [8086:095a] (rev 59)
Subsystem: Intel Corporation Dual Band Wireless-AC 7265 [8086:5110]
Kernel driver in use: iwlwifi
对于之前的错误信息,深感抱歉。
我已经将所有各种 iwlwifi-7265D* 驱动程序从最新到最旧复制,但仍然无法连接到移动热点。
尝试连接后,这是来自 journalctl 的输出:
wpa_supplicant[1822]: wlp2s0: Trying to associate with SSID 'OpenGarden1
wpa_supplicant[1822]: Could not set interface wlp2s0 flags (UP): Device
wpa_supplicant[1822]: nl80211: Failed to set interface into IBSS mode
wpa_supplicant[1822]: wlp2s0: Association request to the driver failed
NetworkManager[723]: <info> [1479746689.7772] device (wlp2s0): supplicant interface state: inactive -> disconnected
wpa_supplicant[1822]: wlp2s0: Trying to associate with SSID 'OpenGarden1'
wpa_supplicant[1822]: wlp2s0: Association request to the driver failed
wpa_supplicant[1822]: wlp2s0: Trying to associate with SSID 'OpenGarden1'
wpa_supplicant[1822]: wlp2s0: Association request to the driver failed
wpa_supplicant[1822]: wlp2s0: Trying to associate with SSID 'OpenGarden1
wpa_supplicant[1822]: wlp2s0: Association request to the driver failed
wpa_supplicant[1822]: wlp2s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="OpenGarden1" auth_failues=1 duration=10 reason=CONN_FAILED
wpa_supplicant[1822]: wlp2s0: Trying to associate with SSID 'OpenGarden1
wpa_supplicant[1822]: wlp2s0: Association request to the driver failed
wpa_supplicant[1822]: wlp2s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="OpenGarden1" auth_failues=2 duration=20 reason=CONN_FAILED
wpa_supplicant[1822]: wlp2s0: Trying to associate with SSID 'OpenGarden1
wpa_supplicant[1822]: wlp2s0: Association request to the driver failed
wpa_supplicant[1822]: wlp2s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="OpenGarden1" auth_failues=3 duration=30 reason=CONN_FAILED
NetworkManager[723]: <warn> [1479746714.6399] device (wlp2s0): Activation: (wifi) Ad-Hoc network creation took too long, failing
NetworkManager[723]: <info> [1479746714.6400] device (wlp2s0): state change: config -> failed (reason 'supplicant-timeout')
NetworkManager[723]: <info> [1479746714.6404] manager: NetworkManager state is now DISCONNECTED
NetworkManager[723]: <warn> [1479746714.6410] device (wlp2s0): Activation: failed for connection 'Auto OpenGarden1'
NetworkManager[723]: <info> [1479746714.6419] device (wlp2s0): state change: failed -> disconnected (reason 'none')
答案1
首先建议你升级固件文件:
wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.161_all.deb
sudo dpkg -i linux*.deb
重启。
其次,我们想知道为什么模式设置为 Ad-Hoc。这是您移动热点中的设置,还是您将网络管理器设置为使用 Ad-Hoc?连接到任何提供互联网连接的热点都是不正确的。Ad-Hoc 用于私人计算机到计算机连接。基础设施或客户端模式用于连接到任何提供互联网连接的无线接入点。请澄清 Ad-Hoc 的来源;如果需要,我会进一步编辑我的问题以添加建议。