无法连接到无线接入点:关联超时

sds*_*sds 5 networking linux wireless-networking wireless-access-point wireless-router

我正在尝试使用 VersaLink 327W 作为无线范围扩展器和 AP来扩展我的无线覆盖范围

我按照说明操作:

  1. 禁用 DSL。
  2. 使用 WEP 密钥启用无线访问(设备不支持 WPA 和 WPA2)。
  3. 禁用 DHCP。
  4. 将 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
Run Code Online (Sandbox Code Playgroud)

即,身份验证有效,但关联(无论是什么)无效。

这不太可能是 linux 的问题,因为我也无法从 Mac 和 Android 手机连接。

那么,我现在能做什么?

谢谢。

附注。@Twisty 要求的其他信息:

我设置了localhostIP /etc/hosts,然后

# service network-manager restart
Run Code Online (Sandbox Code Playgroud)

并观察这一点:

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]
Run Code Online (Sandbox Code Playgroud)

请注意,这ifconfig似乎忽略了我的设置。

Mos*_*cho 6

我今天有一个非常相似的问题。为我修复的是更改 NetworkManager 的配置:

  1. 编辑文件/etc/NetworkManager/NetworkManager.conf(位置可能会有所不同,具体取决于您的发行版)
  2. 将以下行添加到该文件中:

    [device]
    wifi.scan-rand-mac-address=no
    
    Run Code Online (Sandbox Code Playgroud)
  3. 重新启动 NetworkManager 服务: sudo service network-manager restart

  • 首先,这是我在 linux 上已有的设置。其次,我还需要能够从 Mac 和 Android 设备连接到无线设备。 (2认同)