Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
docs:guide-user:network:wifi:relay_configuration [2024/06/22 05:30] – Edit "Add static IP on wwan" richb-hanoverdocs:guide-user:network:wifi:relay_configuration [2024/06/22 06:26] – Final editorial pass richb-hanover
Line 153: Line 153:
 ==== Test Connection ==== ==== Test Connection ====
  
-\\ +At this point, the Wi-Fi extender should be wirelessly connected to the main router. 
-To verify the newly configured static IP address parameters are valid, \\  +To verify the the connection:  
-  * Go to Network Diagnostics and perform a ping test.  It is assumed the main router is connected to the internet.+  * Go to **Network -> Diagnostics** 
 +  * Perform a ping test by clicking the "IPv4 Ping" button. 
 +  * A few moments later, you should see ping results if the main router is connected to the internet. 
 +  * 
 \\ {{media:docs:howto:relay_network_test.jpg?500|}} \\ \\ {{media:docs:howto:relay_network_test.jpg?500|}} \\
-\\  
-\\   
- 
----- 
  
 ==== Install relayd package ==== ==== Install relayd package ====
  
-\\ +  * Go to **System -> Software**
-  * Go to System Software page+  * Click **Update List** button. If the Wi-Fi extender is connected to the main router, and that is connected to the internet, a few moments later, the results of the update appears
-  * Click **Update List** button. +  * Enter **luci-proto-relay** into the Filter box (image below), and click **Install**. 
-  * Enter **luci-proto-relay** into the Filter box, and click Install.+  * When that completes, reboot the router from **System -> Reboot** (image below).
  
 \\ {{media:docs:howto:relay_package_1.jpg?800|}} \\ \\ {{media:docs:howto:relay_package_1.jpg?800|}} \\
-\\  +
-  * **Important:** Reboot the router. +
-\\ +
 \\ {{media:docs:howto:relay_package_2.jpg?400|}} \\ \\ {{media:docs:howto:relay_package_2.jpg?400|}} \\
-\\  
-\\   
- 
----- 
- 
- 
-\\   
  
 ==== Create Relay Interface ==== ==== Create Relay Interface ====
  
-\\  +Add the ''relayd'' interface that will join/bridge the **lan** and **wwan** interfaces. To do this: 
-To add the relayd interface that will join/bridge the **lan** and **wwan** interfaces.\\ +  * Go to **Network -> Interfaces** 
-  * Go in the **Interfaces** page. +  * Click on **Add New Interface** (image below)
-  * Click on **Add New Interface**+
- +
-/*** old LEDE17 image +
-\\ {{ :docs:guide-user:wifirepeater_newinterface.png |}} \\  +
-***/+
  
 \\ {{media:docs:howto:relay_create_bridge_3.jpg?500|}} \\ \\ {{media:docs:howto:relay_create_bridge_3.jpg?500|}} \\
----- +  * In the **Add new interface** window (image below) 
-\\   +    * Enter a name ("repeater_bridge" is a good choice) 
-\\   +    * Select **Relay bridge** protocol as shown below. (Reboot your device if the **Relay bridge** option fails to appears.) 
-  * Enter a name and select **Relay bridge** protocol as shown below. (Reboot your device if the **Relay bridge** option fails to appears.) +
   * Click **Create Interface**      * Click **Create Interface**   
 +
 \\ {{media:docs:howto:relay_create_bridge_1.jpg?900|}} \\ \\ {{media:docs:howto:relay_create_bridge_1.jpg?900|}} \\
----- + 
-\\   +  * In **Network -> Interfaces**, click **Edit** for the new "repeater_bridge" interface (image below) 
-\\   +    * Enter the IP address assigned to the ''wwan'' interface. (eg. 192.168.1.30)  
-  * Enter the IP address assigned to the WWAN interface. (eg. 192.168.1.30)  +    * Select both **lan** and **wwan** in the **Relay between networks** list.
-  * Select both **lan** and **wwan** in the **Relay between networks** list. +
-\\ {{media:docs:howto:relay_create_bridge_2.jpg?500|}} \\+
   * Click **Save**.   * Click **Save**.
   * Click **Save & Apply**.   * Click **Save & Apply**.
- 
-\\   
-\\   
- 
- 
- 
----- 
-/*** old LEDE17 image 
-\\ {{ :docs:guide-user:wifirepeater_relaybridge1.png |}} \\  
-**/ 
- 
- 
-/***  redundant 
-<del>This "Local IPv4 address" (empty in above screen shot, sorry, I don't have enough rights to upload a new screen shot) needs to match the IP address assigned by the Wifi-network (eg. from 192.168.1.0/24 range, but do not enter the netmask here!) otherwise this bridge will not be accessible from the clients connected directly to the primary router and the relayd-daemon will not start. It makes sense to either fix the IP in the DHCP servers MAC-IP mapping table or configure then WWAN interface of OpenWRT to a fix IP which is not being used in Wifi-networks DHCP-range (I used 192.168.1.2, as my DHCP server only serves IP addresses higher than 192.168.1.100).</del> 
- 
----- 
- 
----- 
-<del>Move to the Firewall tab of this interface settings page and select</del> **<del>lan</del>**<del>. Click on</del> **<del>Save and Apply</del>**. 
- 
-***/ 
- 
-/*** old LEDE17 image. Redundant. 
-\\ {{ :docs:guide-user:wifirepeater_relaybridge2.png |}} \\  
-***/ 
- 
- 
----- 
- 
----- 
- 
   * After you have completed above steps, reboot the router.    * After you have completed above steps, reboot the router. 
-\\   
-**<color #ed1c24>Reminder:</color>**  Remove the static IP address from your computer. ie. change it back to DHCP client mode. \\   
  
-When the Wifi bridge is powered up, your computer should acquire DHCP IP address from your main router. \\  +\\ {{media:docs:howto:relay_create_bridge_2.jpg?500|}} \\
-The Wifi bridge can be managed through its static wwan IP address (eg. 192.168.1.30) \\  +
-\\  +
-\\  +
-\\  +
-This is the final result. Note how the client network has a ? instead of a IP address. \\   +
-The wwan IP address is only visible in the Network Interfaces page.\\   +
- +
-/*** old LEDE17 image +
-\\ {{ :docs:guide-user:wifirepeater_final_result.png |}} \\  +
-***/ +
-\\ {{media:docs:howto:relay_status_1.jpg?800|}} \\ +
- +
-\\   +
-\\  +
  
 ==== Enable the AP ==== ==== Enable the AP ====
 Enable and configure the Wi-Fi extender to be an access point for local devices. Enable and configure the Wi-Fi extender to be an access point for local devices.
  
-  * Navigate to the wireless networks page +  * Go to **Network -> Wireless** 
-  * Click **Edit** button for the network with "Mode: Master+  * Click **Edit** button for any item with **Mode: Master**. (Don't edit your Client connection to the main router.) 
-  * **Enable** the wireless network in the Interface Configuration and make sure the **Operating frequency** matches your upstream router (the settings must be the same as for the Client network)+    * In the Interface Configuration section, configure SSID, security and other parameters of your Wi-Fi extender so it can act like an access point.  
-  * In the Interface Configuration sectionconfigure SSID, security and other parameters of your repeater AP+    * If you are configuring the same radio that also serves as the client connection to the main router, ensure the **Operating frequency** matches the Client network. 
-  * Click Save and Save & Apply. +    * Click **Save** 
-\\+  * **Enable** the wireless network. 
 +  * You might edit/enable other radios (for exampleenabling both the b/g/n and n/ac/ax/etcradios) 
 +  * Click **Save & Apply**.
  
-==== Check Firewall zones ====+==== You're Done - More Testing ====
  
-:!: The following part of the configuration should not be necessary (already default options or changed automatically)in case something isn't working check this too+After configuring the Wi-Fi extender's AP, change your computer back to DHCP client mode 
 +and connect to the newly-configured Wi-Fi. 
 +Your computer should be fully on the internethaving acquired a DHCP IP address from your main router.  
 +The Wi-Fi extender can be managed through its static ''wwan'' IP address (eg192.168.1.30) 
  
 +The **Status -> Overview** window (image below) shows the final result.
 +''radio1'' is a DHCP client to the main router.
 +''radio0'' (the access point) has not been configured/enabled yet. 
 +The client Wi-Fi has a ? in the **Host** column instead of a IP address 
 +because its ''wwan'' IP address is only visible in the Network Interfaces page.  
  
-/*** old LEDE17 image +\\ {{media:docs:howto:relay_status_1.jpg?800|}} \\
-\\ {{ :docs:guide-user:wifirepeater_firewall.png |}} \\  +
-***/ +
- +
-\\ {{media:docs:howto:relay_firewallzone_checkLAN.jpg?800|}} \\ +
-\\   +
----- +
-\\ {{media:docs:howto:relay_firewallzone_checkLAN_2.jpg?400|}} \\ +
- +
-\\   +
-\\   +
-/*** redundant instructions +
- +
-Under the **Network** tab, click on the **Firewall** tab. Under **Zones**, change the forwarding for **lan** and **wwan** to **accept** +
- +
----- +
-:!: if you are doing this with a device that has a single radio, both Wi-Fi networks will stay on the same channel, and total bandwidth will be halved as the same radio is used for 2 different Wi-Fi networks.+
  
-***/ 
 ===== Setup with CLI ===== ===== Setup with CLI =====
  
Line 402: Line 331:
  
 ===== Troubleshooting ===== ===== Troubleshooting =====
-==== Accessing the OpenWrt device ==== +==== Accessing the Extender ==== 
-If you find the OpenWrt device itself is only accessible from those computers directly connected to the W-LAN AP, not from the ones connected to the OpenWrt W-LAN client, when in the 192.168.1.0 subnet, Make sure the ''Local IPv4 address'' setting in the ''Relay bridge'' interface matches the ip address of the wireless uplink.+If you find the Wi-Fi extender itself is only accessible from those computers directly connected to the W-LAN AP, not from the ones connected to the OpenWrt W-LAN client, when in the 192.168.1.0 subnet, Make sure the ''Local IPv4 address'' setting in the ''Relay bridge'' interface matches the ip address of the wireless uplink.
 (The alternative is tedious: It is possible to access the OpenWrt box via its ''192.168.2.1'' address if you manually configure your computer to that subnet.) (The alternative is tedious: It is possible to access the OpenWrt box via its ''192.168.2.1'' address if you manually configure your computer to that subnet.)
 +
 +==== Check Firewall zones ====
 +
 +:!: The following part of the configuration should not be necessary (already default options or changed automatically), in case something isn't working check this too. 
 +
 +\\ {{media:docs:howto:relay_firewallzone_checkLAN.jpg?800|}} \\
 +\\  
 +----
 +\\ {{media:docs:howto:relay_firewallzone_checkLAN_2.jpg?400|}} \\
  
 ==== Adding IPv6 support ==== ==== Adding IPv6 support ====
  • Last modified: 2024/08/31 18:25
  • by richardkiss