OpenWrt:无法连接到 wifi

OpenWrt:无法连接到 wifi

我有一台安装了 OpenWrt 21.02.3(全新安装)的华硕 RT-N56U 路由器。

我最终想将其设置为 wifi 中继器,但我已经在努力将其设置为简单的 wifi 接入点(所以这就是问题所在)。我看了很多教程,但每个教程都给我带来了相同的结果。

情况

我可以从其他设备找到我的接入点,但无法连接。
当我选择要连接的AP时,连接始终处于挂起状态。

问题

如何将我的 OpenWrt 路由器设置为接入点?

编辑:回答过程

  • 看来这是一个 DHCP 问题。
    • 选项 1:打开接口 -> [您的接口] -> 编辑 -> DHCP 服务器 -> 设置 DHCP 服务器 -> 取消选中忽略这个界面
    • 选项 2:打开Wireless-> [您的 SSID] -> 常规设置 -> 网络 -> 选择lan(显然是唯一的选项,提供有效的 DHCP 设置)

我做了什么/尝试过

一般设置

  • 网络 -> 无线 -> radio0 (2.5 Ghz) -> 添加
  • 设置:
    • 大多是默认的
    • 接口配置 -> 常规设置 -> 网络:(wwanClient使用 5 Ghz 接口的 wifi 网络)
    • 高级设置: 国家代码:选择我的国家。
  • 结果:在此输入图像描述

静态 DHCP 租用

我想这可能是一个不工作 DHCP 问题,所以我设置了如下所示的静态租约。但是,我仍然无法连接。

在此输入图像描述

客户端上的静态IP地址

也不会起作用。用几种不同的设备尝试过。

系统日志输出

Sun May  1 23:24:15 2022 daemon.warn dnsmasq-dhcp[21906]: DHCP packet received on wlan0 which has no address
Sun May  1 23:24:24 2022 daemon.warn dnsmasq-dhcp[21906]: DHCP packet received on wlan0 which has no address
Sun May  1 23:24:32 2022 daemon.warn dnsmasq-dhcp[21906]: DHCP packet received on wlan0 which has no address
Sun May  1 23:24:41 2022 daemon.warn dnsmasq-dhcp[21906]: DHCP packet received on wlan0 which has no address
Sun May  1 23:24:49 2022 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 84:8e:0c:c2:45:00
Sun May  1 23:24:49 2022 daemon.info hostapd: wlan0: STA 84:8e:0c:c2:45:00 IEEE 802.11: disassociated
Sun May  1 23:24:50 2022 daemon.info hostapd: wlan0: STA 84:8e:0c:c2:45:00 IEEE 802.11: authenticated
Sun May  1 23:24:50 2022 daemon.info hostapd: wlan0: STA 84:8e:0c:c2:45:00 IEEE 802.11: associated (aid 1)
Sun May  1 23:24:50 2022 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 84:8e:0c:c2:45:00
Sun May  1 23:24:50 2022 daemon.warn dnsmasq-dhcp[21906]: DHCP packet received on wlan0 which has no address
Sun May  1 23:24:51 2022 daemon.warn dnsmasq-dhcp[21906]: DHCP packet received on wlan0 which has no address
Sun May  1 23:24:53 2022 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 84:8e:0c:c2:45:00
Sun May  1 23:24:53 2022 daemon.info hostapd: wlan0: STA 84:8e:0c:c2:45:00 IEEE 802.11: disassociated
Sun May  1 23:24:55 2022 daemon.info hostapd: wlan0: STA 84:8e:0c:c2:45:00 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Sun May  1 23:24:56 2022 daemon.info hostapd: wlan0: STA 84:8e:0c:c2:45:00 IEEE 802.11: authenticated
Sun May  1 23:24:56 2022 daemon.info hostapd: wlan0: STA 84:8e:0c:c2:45:00 IEEE 802.11: associated (aid 1)
Sun May  1 23:24:56 2022 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 84:8e:0c:c2:45:00
Sun May  1 23:24:57 2022 daemon.warn dnsmasq-dhcp[21906]: DHCP packet received on wlan0 which has no address
Sun May  1 23:24:58 2022 daemon.warn dnsmasq-dhcp[21906]: DHCP packet received on wlan0 which has no address
Sun May  1 23:25:01 2022 daemon.warn dnsmasq-dhcp[21906]: DHCP packet received on wlan0 which has no address

答案1

我最终结束了

  • 没有弄清楚问题
  • 重置路由器
  • 正在做

相关内容