Hi guys,
a RUTX11 has to act as WLAN/WIFI client at a existing WLAN infrastructure. The only topic is, to get internet access to the routers LAN (mostly to enable a ZeroTier VPN bridged to eth0). So, the WIFI connection is just used as WAN.
Unfortunately, the connection isnt stable. At some time (this can be 10 minutes or 5 hours), the connection breaks and doesnt come up itself. A reload of network helps.
I read lot also here at the forum, at OpenWRT forums and so on, tested different WLANs at different locations - but nothing to helps, it seems to be an internal or configuration topic.
Here is our setup and creation script, hopefully someone sees a mistake or error there or has some hints for us:
Setup:
- RUTX11, Firmware RUTX_R_00.07.02.7
- 5GHz WIFI Client with WPA2 PSK
Creation script:
uci set wireless.radio0.country='DE'
uci set wireless.radio1.country='DE'
uci delete [email protected][1]
uci delete [email protected][0]
uci set wireless.radio0.disabled='1'
uci rename network.$(uci add network interface)=wwan
uci set network.wwan.proto='dhcp'
uci commit network
uci rename wireless.$(uci add wireless wifi-iface)=wsta_wifi
uci set wireless.wsta_wifi.device='radio1'
uci set wireless.wsta_wifi.encryption='psk2'
uci set wireless.wsta_wifi.ssid='mywifi'
uci set wireless.wsta_wifi.key='supersecret'
uci set wireless.wsta_wifi.network='wwan'
uci set wireless.wsta_wifi.mode='sta'
uci set [email protected][1].network="$(uci get [email protected][1].network) wwan"
uci commit
reboot
Edit: added troubleshoot file