我正在尝试扩展我的无线覆盖范围使用 VersaLink 327W 作为无线范围扩展器和 AP。
我按照以下说明进行操作:
- 已禁用 DSL。
- 使用 WEP 密钥启用无线访问(设备不支持 WPA 和 WPA2)。
- 已禁用 DHCP。
- 将 IP 地址设置为
192.168.7.2
(因为此路由器要通过以太网连接到的主路由器是192.168.7.1
)。
唉,我无法从 Linux 机器通过 WiFi 连接到该设备:
kernel: [run timestamp] wlan0: authenticated0
kernel: [run timestamp] iwlwifi 0000:03:00.0 wlan0: disabling HT/VHT due to WEP/TKIP use
kernel: [run timestamp] iwlwifi 0000:03:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
kernel: [run timestamp] iwlwifi 0000:03:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
kernel: [run timestamp] wlan0: associate with <<6*hex>> (try 1/3)
NetworkManager[pid]: <info> [wall timestamp] device (wlan0): supplicant interface state: scanning -> authenticating
NetworkManager[pid]: <info> [wall timestamp] device (wlan0): supplicant interface state: authenticating -> associating
kernel: [run timestamp] wlan0: associate with <<6*hex>> (try 2/3)
kernel: [run timestamp] wlan0: associate with <<6*hex>> (try 3/3)
kernel: [run timestamp] wlan0: association with <<6*hex>> timed out
IE,验证有效,但是协会(无论它是什么)都不是。
这不太可能是 Linux 的问题,因为我也无法从 Mac 和 Android 手机连接。
那么,我现在能做什么?
谢谢。
附言:@Twisty 要求提供的其他信息:
我设置了localhost
IP /etc/hosts
,然后
# service network-manager restart
并观察这一点:
wpa_supplicant[pid]: wlan0: SME: Trying to authenticate with <<6*hex>> (SSID='sgv' freq=2437 MHz)
kernel: [run timestamp] wlan0: authenticate with <<6*hex>>
kernel: [run timestamp] wlan0: send auth to <<6*hex>> (try 1/3)
NetworkManager[pid]: <info> [wall timestamp] device (wlan0): supplicant interface state: scanning -> authenticating
nm-applet[pid]: Can't set a parent on widget which has a parent
nm-applet[pid]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
kernel: [run timestamp] wlan0: authenticated
kernel: [run timestamp] iwlwifi 0000:03:00.0: No association and the time event is over already...
kernel: [run timestamp] wlan0: Connection to AP <<6*hex>> lost
nm-applet[pid]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
kernel: [run timestamp] wlan0: aborting authentication with <<6*hex>> by local choice (Reason: 3=DEAUTH_LEAVING)
NetworkManager[pid]: <info> [wall timestamp] device (wlan0): supplicant interface state: authenticating -> disconnected
NetworkManager[pid]: <warn> [wall timestamp] device (wlan0): Activation: (wifi) association took too long, failing activation
NetworkManager[pid]: <info> [wall timestamp] device (wlan0): state change: config -> failed (reason 'ssid-not-found') [50 120 53]
NetworkManager[pid]: <info> [wall timestamp] manager: NetworkManager state is now DISCONNECTED
NetworkManager[pid]: <warn> [wall timestamp] device (wlan0): Activation: failed for connection 'sgv'
NetworkManager[pid]: <info> [wall timestamp] device (wlan0): state change: failed -> disconnected (reason 'none') [120 30 0]
请注意,ifconfig
似乎忽略了我的设置。
答案1
我今天遇到了一个非常类似的问题。为我解决这个问题的方法是更改 NetworkManager 的配置:
- 编辑文件
/etc/NetworkManager/NetworkManager.conf
(位置可能有所不同,具体取决于您的发行版) 在该文件中添加以下行:
[device] wifi.scan-rand-mac-address=no
- 重新启动 NetworkManager 服务:
sudo service network-manager restart