我有一台笔记本电脑
- 英特尔公司无线 3160(修订版 83);固件版本 25.17.12.0
我看到 WLAN,我可以输入我的密码。尽管重复输入密码并目视检查密码,但仍未建立连接。
路由器上没有 MAC 过滤,并且允许所有(新)设备。
在使用 Ubuntu 安装的固件测试网络之前,我已经从Linux Wireless安装了固件。
我该如何解决这个问题?
更新 2015-05-30 22:34
我用我的智能手机创建了一个热点。同样的问题。
更新 2015-05-30 23:20
IPv6 禁用,同样的问题
$ cat /proc/sys/net/ipv6/conf/all/disable_ipv6
1
$ ip a | grep inet6
*no output*
更新 2015-05-31 17:26
$ journalctl -u NetworkManager
Mai 31 17:25:11 fizban NetworkManager[692]: <info> Activation (wlan0) starting connection 'Dragonlance'
Mai 31 17:25:11 fizban NetworkManager[692]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Mai 31 17:25:11 fizban NetworkManager[692]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Mai 31 17:25:11 fizban NetworkManager[692]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Mai 31 17:25:11 fizban NetworkManager[692]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Mai 31 17:25:11 fizban NetworkManager[692]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Mai 31 17:25:11 fizban NetworkManager[692]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Mai 31 17:25:11 fizban NetworkManager[692]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
Mai 31 17:25:11 fizban NetworkManager[692]: <info> Activation (wlan0/wireless): access point 'Dragonlance' has security, but secrets are required.
Mai 31 17:25:11 fizban NetworkManager[692]: <info> (wlan0): device state change: config -> need-auth (reason 'none') [50 60 0]
Mai 31 17:25:11 fizban NetworkManager[692]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Mai 31 17:25:11 fizban NetworkManager[692]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Mai 31 17:25:11 fizban NetworkManager[692]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Mai 31 17:25:11 fizban NetworkManager[692]: <info> (wlan0): device state change: need-auth -> prepare (reason 'none') [60 40 0]
Mai 31 17:25:11 fizban NetworkManager[692]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Mai 31 17:25:11 fizban NetworkManager[692]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Mai 31 17:25:11 fizban NetworkManager[692]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Mai 31 17:25:11 fizban NetworkManager[692]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
Mai 31 17:25:11 fizban NetworkManager[692]: <info> Activation (wlan0/wireless): connection 'Dragonlance' has security, and secrets exist. No new secrets needed.
Mai 31 17:25:11 fizban NetworkManager[692]: <info> Config: added 'ssid' value 'Dragonlance'
Mai 31 17:25:11 fizban NetworkManager[692]: <info> Config: added 'scan_ssid' value '1'
Mai 31 17:25:11 fizban NetworkManager[692]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
Mai 31 17:25:11 fizban NetworkManager[692]: <info> Config: added 'psk' value '<omitted>'
Mai 31 17:25:11 fizban NetworkManager[692]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Mai 31 17:25:11 fizban NetworkManager[692]: <warn> Couldn't disconnect supplicant interface: This interface is not connected.
Mai 31 17:25:11 fizban NetworkManager[692]: <warn> Couldn't disconnect supplicant interface: This interface is not connected.
Mai 31 17:25:11 fizban NetworkManager[692]: <info> Config: set interface ap_scan to 1
Mai 31 17:25:36 fizban NetworkManager[692]: <warn> Activation (wlan0/wireless): association took too long, failing activation.
Mai 31 17:25:36 fizban NetworkManager[692]: <info> (wlan0): device state change: config -> failed (reason 'ssid-not-found') [50 120 53]
Mai 31 17:25:36 fizban NetworkManager[692]: <warn> Activation (wlan0) failed for connection 'Dragonlance'
Mai 31 17:25:36 fizban NetworkManager[692]: <info> (wlan0): device state change: failed -> disconnected (reason 'none') [120 30 0]
Mai 31 17:25:36 fizban NetworkManager[692]: <info> (wlan0): deactivating device (reason 'none') [0]
Mai 31 17:25:36 fizban NetworkManager[692]: (NetworkManager:692): GLib-CRITICAL **: Source ID 503 was not found when attempting to remove it
Mai 31 17:25:36 fizban NetworkManager[692]: <info> (wlan0): supplicant interface state: scanning -> disconnected
Mai 31 17:25:36 fizban NetworkManager[692]: <warn> Couldn't disconnect supplicant interface: This interface is not connected.
更多细节:
$ lspci
00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register (rev 0e)
00:02.0 VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0e)
00:13.0 SATA controller: Intel Corporation Device 0f23 (rev 0e)
00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series USB xHCI (rev 0e)
00:1a.0 Encryption controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0e)
00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller (rev 0e)
00:1c.0 PCI bridge: Intel Corporation Device 0f48 (rev 0e)
00:1c.1 PCI bridge: Intel Corporation Device 0f4a (rev 0e)
00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit (rev 0e)
00:1f.3 SMBus: Intel Corporation Device 0f12 (rev 0e)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
02:00.0 Network controller: Intel Corporation Wireless 3160 (rev 83)
固件版本为25.17.12.0
$ dmesg | grep iwlwifi
[ 15.853182] iwlwifi 0000:02:00.0: loaded firmware version 25.17.12.0 op_mode iwlmvm
模块已加载
$ lsmod | grep iwlwifi
iwlwifi 196608 1 iwlmvm
cfg80211 540672 3 iwlwifi,mac80211,iwlmvm
内核版本
$ uname -r
3.19.0-18-generic
我有一个类似的问题:我的 AP(运行 OpenWRT - 与其他 AP 的问题较少)很少出现在扫描中,并且关联尝试大部分时间都失败了,“关联时间太长,激活失败”......“ssid-not-found “,尽管在几分钟/尝试后它通常确实连接了。我有一个 Intel 8265 wifi 卡(虽然我不知道设备是否重要)。
由于我不明白 NetworkManager 的 MAC 地址随机化功能(默认情况下用于扫描)导致问题的原因。要修复它,请创建一个
/etc/NetworkManager/conf.d/30-mac-randomization.conf
禁用该功能的文件:... 其次是
sudo systemctl restart NetworkManager
wifi.scan-rand-mac-address=no
更新:在使用我的 AP运行几天后,有时仍需要多次扫描才能购买。但至少联想总是有效的。在此处找到:https ://blogs.gnome.org/thaller/2016/08/26/mac-address-spoofing-in-networkmanager-1-4-0/ 文档:https ://developer.gnome.org/NetworkManager /stable/NetworkManager.conf.html
从您的无线调试中,我会: