Domnev1: Difference between revisions
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
<pre>opkg update | <pre>opkg update | ||
opkg install relayd</pre> | opkg install relayd</pre> | ||
===WiFi client configuration=== | |||
---- | |||
Add WiFi interface to make your router act as a WiFi client (connect to another AP) | |||
<pre>uci add wireless wifi-iface | |||
uci set wireless.@wifi-iface[-1]=wifi-iface</pre> | |||
Add new WiFi interface to 2.4ghz device, can specify 'radio1' for 5ghz | |||
<pre>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'</pre> | |||
Change SSID here to an SSID that the router will be connecting to | |||
<pre>uci set wireless.@wifi-iface[-1].ssid='RUT_4474_2G'</pre> | |||
Change BSSID here to BSSID that the router will be connecting to (L2 address) | |||
<pre>uci set wireless.@wifi-iface[-1].bssid='00:1E:42:44:44:74'</pre> | |||
Use appropriate auth method, PSK2 = WPA2-PSK here | |||
<pre>uci set wireless.@wifi-iface[-1].encryption='psk2'</pre> | |||
Change secret to appropriate one | |||
<pre>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'</pre> |
Revision as of 08:17, 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'
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'