自动重新连接 OpenWRT 到 wifi

自动重新连接 OpenWRT 到 wifi

我有一个 WiFi 路由器设置为我的智能手机热点的中继器 (GL-AR300M-Lite)。热点设置(SSID + WPA 密码)由路由器保存,但不会自动连接到路由器。

https://openwrt.org/docs/guide-user/network/wifi/faq.wireless提供以下命令来扫描网络:

ifconfig wlan0 down
iw phy phy0 interface add scan0 type station
ifconfig scan0 up
iwlist scan0 scan
iw dev scan0 del
ifconfig wlan0 up
killall -HUP hostapd
opkg update
opkg install iwinfo
iwinfo wlan0 scan

因此一种可能性是定期运行脚本。但我希望有一个更直接的解决方案。

答案1

将软件从 v3.019 升级到 beta v3.022 解决了该问题。

发行说明(https://dl.gl-inet.com/firmware/ar300m/testing/) 状态:

v3.022-20190329

[UPDATES]
1.Optimize Repeater Auto Connection.
...

其中“优化”可能代表“修复错误”......

相关内容