Site Tools


media_bridge

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
media_bridge [2024/10/31 23:02] – [LAN Settings] -Condense hogwildmedia_bridge [2026/05/18 19:13] (current) – [Wireless Mode and Settings] -Condense hogwild
Line 1: Line 1:
-====== Media Bridge Mode Setup ======+====== Configure Media Bridge Mode ======
  
-Support for Media Bridge mode started with release 2021.6. The initial setup can be done with the following steps: \\  \\+In Media Bridge mode, a FreshTomato router connects via WiFi to a second router. The second router passes network traffic to LAN devices connected to the FreshTomato router's physical LAN ports.  Support for Media Bridge mode started with r2021.6. 
 + 
 +A common scenario for using this mode is when simple media devices have an Ethernet port, but no built-in WiFi. You //could// run a long cable between your primary router and the media device. However, a better solution would be to place the simple device near your FreshTomato router, connecting the two with a short cable. Then, the FreshTomato router would connect via WiFi to your primary router on behalf of the device. In essence, FreshTomato would act as a sort of "relay" between the device and the main network. 
 + 
 +You can connect multiple devices to the FreshTomato LAN ports and they will all be relayed to the main network. Some examples of devices are NAS drives, PCs without WiFi, and printers. 
 + 
 +The devices plugged into the FreshTomato router obtain their IP address from the primary router and appear to be on the same subnet as other devices in the network. 
 + 
 +The initial setup can be done with the following steps: \\  \\
  
  
Line 8: Line 16:
  \\  \\
  
-  - Go to the [[basic-network|Network]] menu. +  - Go to the [[basic-network|Network]] menu. \\ Scroll down to the section for the WiFi module you wish to use. \\ For example: "wireless eth2"\\ \\  
-  - Scroll down to the section for whatever wireless module you wish. \\ For example: "wireless eth2".  +  - From the //Wireless Mode// dropdown, select "Media Bridge". \\ This will cause all WAN options to be hidden. \\ \\  
-  - From the //Wireless Mode// dropdown menu, select //Media Bridge//. \\ After doing this, WAN options will be hidden. \\ Now, configure the settings there as follows:  +  - Set Wireless Network Mode to: "Auto"\\ \\  
-  - Set Wireless Network Mode to: Auto (all possible WiFi protocols)+  - Set SSID to the same SSID as the one on the primary router\\ For example, if the primary router's SSID is "5 GHz WiFi"**,** set: \\ "5 GHz WiFi" here.\\ This will allow FreshTomato to connect to your primary router. \\ \\  
-  - Set SSID to whichever SSID you wish (preferably with the least interference)+  - Set Channel to the channel on which the primary router is broadcasting\\ \\  
-  - Set Channel to: Whichever WiFi channel you want to use+  - Set Channel Width to: 20 MHz, 40 MHz or 80 MHz. It is best to \\ find this value in your primary router's settings and match that\\ \\  
-  - Set Channel Width to: 20 MHz, 40 MHz or 80 MHz (your choice)+  - Set Security to: WPAx, where "x" is the encryption protocol version. \\ This usually means WPA2 Personal for homes or small, \\ informal offices). As of 2026, WPA2 Personal is the common option \\ for home use. However, this must your primary router's setting. \\ \\ (On a home network, your primary router probably uses WPA2 Personal). \\ That router may refer to it as "WPA2-PSK" (Pre-shared Key). \\ \\  
-  - Set Security to: WPAx (Usually WPA2 Personal for home users or small, \\ informal offices). +  - Set Encryption to: "AES"Again, this should match your primary router. \\ In 2026, your primary home router probably uses AES 2026. \\ \\  
-  - Set Encryption to: AES. +  - Set Shared Key to: <WiFi password of your primary router>\\ \\   
-  - Set Shared Key to: WiFi password you want to use+  - Set Group Key Renewal to: 3600 seconds.
-  - Set Group Key Renewal to: 3600 seconds+
  
  \\  \\
Line 29: Line 36:
 Still in the Network menu, under LAN Settings: Still in the Network menu, under LAN Settings:
  
-  * Configure bridge "br0" with an IP Address in the LAN you want \\ to connect to. (For example: "192.168.1.50"). + \\ 
-  Configure the Default Gateway. In our example: "192.168.1.1 \\ (If main router's address is: "192.168.1.1"). + 
-  Enter a Static DNS value of 192.168.1.1 (assuming if the main \\ router's address is 192.168.1.1). +  - Configure bridge "br0" with the IP Address in the LAN you wish\\ to assign to the FreshTomato router. (Say, "192.168.1.50" if your \\ primary router is "192.168.1.1"). 
-  * Since release 2022.6, selecting “Automatic IP”, will make the router \ obtain IP/Gateway/DNS via DHCP.+  Configure the Default Gateway. In our example: "192.168.1.1\\ (If the main router's address is: "192.168.1.1"). 
 +  Enter a Static DNS value of "192.168.1.1(assuming the main \\ router's address is "192.168.1.1"). Alternatively, selecting \\ “Automatic IP”, will make the router \\ obtain its IP address /Gateway/DNS servers via DHCP. \\ This option became availabe in r2022.6.
  
  \\  \\
 +
 +
 +==== Apply the Changes ====
 +
 +\\
 +
 +Click Apply at the bottom of the page to proceed with the changes. FreshTomato will show a screen reminding you of the new IP address. Be sure to reset any custom network settings applied to your PC network settings so that the DHCP server of your primary router can correctly find and assign an IP address to your PC. If successful, you can now plug devices into the FreshTomato router and your primary router will detect them.
 +
 +\\
  
  
 ==== Comparing Media Bridge Mode and Wireless Ethernet Bridge Mode ==== ==== Comparing Media Bridge Mode and Wireless Ethernet Bridge Mode ====
  
- \\ \\  Media Bridge (MB) mode has several advantages over wireless Ethernet Bridge mode:+Media Bridge (MB) mode has several advantages over wireless Ethernet Bridge mode:
  
-  * MB mode will work with SDK7 ARM routers like the AC3200 R8000  \\ (wireless Ethernet bridge mode is not possible). + \\ 
-  * MB mode will work with SDK6 MIPS routers like the Asus RT-AC66U, D‑Link DIR‑865L \\ (wireless Ethernet bridge mode is not possible). + 
-  * MB mode will work with SDK6 ARM routers like Asus RT-AC68U, or Netgear R7000. \\ (Wireless Ethernet Bridge mode is also possible). +  * MB mode will work with SDK7 ARM routers like the AC3200 \\ or the R8000  \\ (wireless Ethernet bridge mode isn'possible). 
-  * IPv4 and IPv6 communication will work \\ (Wireless Ethernet Bridge supports only IPv4, except dual-core SDK6 ARM models, which support IPv6).+  * MB mode will work with SDK6 MIPS routers like the Asus RT-AC66U, \\ or the D‑Link DIR‑865L \\ (wireless Ethernet bridge mode isn'possible). 
 +  * MB mode will work with SDK6 ARM routers like Asus RT-AC68U, \\ or Netgear R7000. \\ (Wireless Ethernet Bridge mode is also possible). 
 +  * IPv4 and IPv6 communication will work.  \\ (Wireless Ethernet Bridge supports only IPv4, except \\ dual-core SDK6 ARM models, which support IPv6).
  
-\\ Do NOT use Virtual Interfaces, such as Virtual Wireless networks or VLANs when in Media Bridge mode.+\\ **Do NOT** use Virtual Interfaces, such as Virtual Wireless networks or VLANs when in Media Bridge mode.
  
  \\  \\
Line 52: Line 71:
 Media Bridge mode (MB) will work for: Media Bridge mode (MB) will work for:
  
-  * SDK6.30 [MIPS RT-AC] (ex. RT-AC66U, D‑Link DIR‑865L)+ \\ 
 + 
 +  * SDK6.30 [MIPS RT-AC] (for example: RT-AC66U, D‑Link DIR‑865L)
   * SDK6.37 (ex. RT-AC68U, R7000)   * SDK6.37 (ex. RT-AC68U, R7000)
   * SDK7 (ex. RT-AC3200, R8000)   * SDK7 (ex. RT-AC3200, R8000)
Line 60: Line 81:
  
 Wireless Ethernet Bridge (WEB) mode will work for: Wireless Ethernet Bridge (WEB) mode will work for:
 +
 + \\
  
   * SDK5.10 (ex. WRT54GL, RT-N16)   * SDK5.10 (ex. WRT54GL, RT-N16)
Line 69: Line 92:
 ===== Media Bridge Notes and Troubleshooting ===== ===== Media Bridge Notes and Troubleshooting =====
  
-==== Troubleshooting ====+Once you've finished configuring settings, adjust your PC's IP address back to that of the primary network. Clear any static IP addresses and set DHCP back to "auto" The FreshTomato router in Media Bridge Mode will rely on the primary router to handle firewall and DHCP functions. 
 + 
 + \\ 
 + 
 +  * Media Bridge mode is primarily for //home networks//. If you're trying to connect to an untrusted WiFi network, Ethernet Bridge Mode or Wireless Bridge Mode are better options to keep trusted devices on their own sub-network, isolated from the untrusted network.
  
  \\  \\
  
-**In case of issues such as connectivity loss:**+**In case of Connectivity Loss:**
  
-  - Try lowering the Wireless Client connection check time (affects Media Bridge mode, Wireless Client mode and Wireless Ethernet Bridge mode). Currently the default setting is 30 seconds. Try adjusting this to 15 seconds via the command prompt: \\  \\ <code ->+  - Try lowering the Wireless Client connection check time (supported in Media Bridge/Wireless Client/Wireless Ethernet Bridge modes). The default is 30 seconds. Adjust this to 15 seconds via the command prompt: \\  \\ <code ->
 root@FreshTomato-WlClientMode:/tmp/home/root# nvram set sta_chkint=15 root@FreshTomato-WlClientMode:/tmp/home/root# nvram set sta_chkint=15
 root@FreshTomato-WlClientMode:/tmp/home/root# nvram commit root@FreshTomato-WlClientMode:/tmp/home/root# nvram commit
 root@FreshTomato-WlClientMode:/tmp/home/root# reboot root@FreshTomato-WlClientMode:/tmp/home/root# reboot
 </code> \\  </code> \\ 
-  - Additional improvements exist. See this Media Bridge mode commit that started with release 2023.4 \\ [[https://bitbucket.org/pedro311/freshtomato-arm/commits/b84a931985a3f739a1dda83ec9fc824a278f8fdf|Media Bridge Mode (SDK6/SDK7/SDK714): add ARPING (default 180 sec cycle) and improve stability]] .+  - Additional improvements exist. See this Media Bridge mode commit that started with r2023.4:\\ [[https://github.com/FreshTomato-Project/freshtomato-arm/commit/b84a931985a3f739a1dda83ec9fc824a278f8fdf|Media Bridge Mode (SDK6/SDK7/SDK714): add ARPING (default 180 sec cycle) and improve stability]] .
  
  \\  \\
media_bridge.1730415772.txt.gz · Last modified: by hogwild