Changes

48 bytes added ,  12:06, 20 December 2022
no edit summary
Line 56: Line 56:  
Change SSID here to an SSID that the router will be connecting to
 
Change SSID here to an SSID that the router will be connecting to
   −
<pre>uci set wireless.@wifi-iface[-1].ssid=''''RUT1_SSID''''</pre>
+
<pre>uci set wireless.@wifi-iface[-1].ssid='RUT1_SSID'</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)
   −
<pre>uci set wireless.@wifi-iface[-1].bssid=''''RUT1_BSSID''''</pre>
+
<pre>uci set wireless.@wifi-iface[-1].bssid='RUT1_BSSID'</pre>
   −
Use appropriate auth method, PSK2 = WPA2-PSK here
+
Use appropriate encryption method, PSK2 = WPA2-PSK here
    
<pre>uci set wireless.@wifi-iface[-1].encryption='psk2'</pre>
 
<pre>uci set wireless.@wifi-iface[-1].encryption='psk2'</pre>
Line 68: Line 68:  
Change secret to appropriate one
 
Change secret to appropriate one
   −
<pre>uci set wireless.@wifi-iface[-1].key=''''SSID_PASSWORD''''
+
<pre>uci set wireless.@wifi-iface[-1].key='SSID_PASSWORD'  
 
uci set wireless.@wifi-iface[-1].disabled='0'
 
uci set wireless.@wifi-iface[-1].disabled='0'
 
uci set wireless.@wifi-iface[-1].skip_inactivity_poll='0'
 
uci set wireless.@wifi-iface[-1].skip_inactivity_poll='0'
Line 74: Line 74:     
===New internface configuration===
 
===New internface configuration===
 +
Create a new interface IPv4 for WiFi WAN.
 
----
 
----
 
<pre>uci set network.wifi_wan=interface
 
<pre>uci set network.wifi_wan=interface
Line 82: Line 83:  
uci set network.wifi_wan.broadcast='0'</pre>
 
uci set network.wifi_wan.broadcast='0'</pre>
   −
Set mwan3 settings for new interface wifi_wan
+
Set mwan3 settings for new interface
    
<pre>uci set mwan3.wifi_wan=interface
 
<pre>uci set mwan3.wifi_wan=interface
Line 108: Line 109:     
===IPv6 interface creation===
 
===IPv6 interface creation===
 +
Create a new IPv6 interface for WiFi WAN
 
----
 
----
 
<pre>uci set network.wifi_wan6=interface
 
<pre>uci set network.wifi_wan6=interface
Line 148: Line 150:     
===LAN interface configuration===
 
===LAN interface configuration===
 +
Configure a LAN interface accordingly.
 
----
 
----
 
<pre>uci set network.lan_repeater=interface
 
<pre>uci set network.lan_repeater=interface
Line 154: Line 157:  
uci set network.lan_repeater.enabled='1'
 
uci set network.lan_repeater.enabled='1'
 
uci set network.lan_repeater.network='lan wifi_wan'</pre>
 
uci set network.lan_repeater.network='lan wifi_wan'</pre>
  −
<pre>uci set network.lan.ipaddr='192.168.1.3'</pre>
      
Set DHCP settings for LAN interface (disable dhcp on LAN) and enable IPv6 relay on wifi_wan interface and  
 
Set DHCP settings for LAN interface (disable dhcp on LAN) and enable IPv6 relay on wifi_wan interface and  
Line 171: Line 172:     
===Firewall configuration===
 
===Firewall configuration===
 +
Set firewall zone, using WAN firewall zone for newly created WiFi WAN network interface.
 
----
 
----
Set firewall zone, using WAN firewall zone for newly created wifi_wan network interface
  −
   
<pre>uci set firewall.@zone[1].network='wan wan6 mob1s1a1 mob1s2a1 wifi_wan'</pre>
 
<pre>uci set firewall.@zone[1].network='wan wan6 mob1s1a1 mob1s2a1 wifi_wan'</pre>
    
===Commit changes===
 
===Commit changes===
 +
Save all the changes and restart the configuration
 
----
 
----
Save all the changes and restart the configuration
  −
   
<pre>uci commit
 
<pre>uci commit
 
reload_config</pre>
 
reload_config</pre>