Domnev1: Difference between revisions
No edit summary |
No edit summary |
||
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> |
Revision as of 08:32, 22 November 2022
Introduction
This article contains instructions on how to configure SMS and Script alerts using I/O Juggler and SMS Utilities between two RUT955 routers.
Relayd installation
Install relayd package if needed, skip this step on RUTX series devices or if you already installed it on your router
opkg update opkg install relayd
WiFi client configuration
Add WiFi interface to make your router act as a WiFi client (connect to another AP)
uci add wireless wifi-iface uci set wireless.@wifi-iface[-1]=wifi-iface
Add new WiFi interface to 2.4ghz device, can specify 'radio1' for 5ghz
uci set wireless.@wifi-iface[-1].device='radio0' uci set wireless.@wifi-iface[-1].mode='sta' uci set wireless.@wifi-iface[-1].network='wifi_wan'
Change SSID here to an SSID that the router will be connecting to
uci set wireless.@wifi-iface[-1].ssid='RUT_4474_2G'
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'
Change BSSID here to BSSID that the router will be connecting to (L2 address)
uci set wireless.@wifi-iface[-1].bssid='00:1E:42:44:44:74'
Use appropriate auth method, PSK2 = WPA2-PSK here
uci set wireless.@wifi-iface[-1].encryption='psk2'
Change secret to appropriate one
uci set wireless.@wifi-iface[-1].key='Vc80Tps1' uci set wireless.@wifi-iface[-1].disabled='0' uci set wireless.@wifi-iface[-1].skip_inactivity_poll='0' uci set wireless.@wifi-iface[-1].wifi_id='wifi1'
New internface configuration
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'