Line 24: |
Line 24: |
| | | |
| <pre>uci set wireless.@wifi-iface[-1].ssid='RUT_4474_2G'</pre> | | <pre>uci set wireless.@wifi-iface[-1].ssid='RUT_4474_2G'</pre> |
| + | |
| + | <pre>uci set network.wifi_wan=interface |
| + | uci set network.wifi_wan.proto='dhcp' |
| + | uci set network.wifi_wan.metric='6' |
| + | uci set network.wifi_wan.disabled='0' |
| + | uci set network.wifi_wan.force_link='0' |
| + | uci set network.wifi_wan.broadcast='0'</pre> |
| + | |
| | | |
| Change BSSID here to BSSID that the router will be connecting to (L2 address) | | Change BSSID here to BSSID that the router will be connecting to (L2 address) |
Line 39: |
Line 47: |
| uci set wireless.@wifi-iface[-1].skip_inactivity_poll='0' | | uci set wireless.@wifi-iface[-1].skip_inactivity_poll='0' |
| uci set wireless.@wifi-iface[-1].wifi_id='wifi1'</pre> | | uci set wireless.@wifi-iface[-1].wifi_id='wifi1'</pre> |
| + | |
| + | New internface configuration |
| + | |
| + | <pre>uci set network.wifi_wan=interface |
| + | uci set network.wifi_wan.proto='dhcp' |
| + | uci set network.wifi_wan.metric='6' |
| + | uci set network.wifi_wan.disabled='0' |
| + | uci set network.wifi_wan.force_link='0' |
| + | uci set network.wifi_wan.broadcast='0'</pre> |