lixuewei / rt-n56u

Automatically exported from code.google.com/p/rt-n56u
0 stars 0 forks source link

Using USB Modem or second WAN as a backup connection #1513

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I'm using RT-N56U_3.4.3.9-095_base (previously *-081) and I must say that this 
is the best router / firmware combination I have ever had. The *-081 worked 
flawlessly since the beginning. Thank you for your hard work.

I've switched to 095 to use the "Detect Internet" feature hoping this will 
allow me to create an automatically switched backup connection. When Internet 
is down on the WAN it switched to the mode as I expected, although it takes a 
while with a polling time 20s/5s it takes about 2 min until the modem is up.

I'm wondering if there's a way to switch back to WAN when the Internet is back. 
This is not a link down situation but just an ISP problem when the link is up 
but the Internet doesn't work anymore.

Another option would be to use a second router with the USB modem and have the 
N56U switch the deault gateway through that router when Internet is down and 
switch it back when is up.

Is it possible to do this using the custom scripts. Can I have multiple WAN 
interfaces?

Thank you,
Serban

Original issue reported on code.google.com by ser...@seneka.ro on 17 Jul 2015 at 7:56

GoogleCodeExporter commented 9 years ago
You can not back to WAN from WWAN, because firmware logic do not have 
independed slots and after switch to WWAN, wired WAN is not controlled.

Failover is not supported.

Original comment by andy.pad...@gmail.com on 17 Jul 2015 at 5:10

GoogleCodeExporter commented 9 years ago
I understand, so using the the USB Modem this way is not an option and I assume 
it's also no not possible to have another WAN wired connection for this job.

If I use a script to change the default route on the router when WAN fails to a 
LAN ip that routes the traffic through the modem will it work? 

Is there anything else I have to consider (iptables, any other service, etc.) 
to get a seamless switch, same port forwards, firewall rules, etc. ?

Thanks,
Serban

Original comment by ser...@seneka.ro on 18 Jul 2015 at 7:43