>>> At the moment if I yank the ethernet cable the router does not
>>> switch to umts automatically.  What I do usually is to ssh in the
>>> router and bring up the umts connection.  Is there a way to
>>> automatize this?
>> Maybe there's an ifplugd package you could use?
> Or netplugd (although no idea if it's present on OpenWrt).

Note that there are two ways to look at the problem:
1- detect when the cable gets disconnected.  That's what netplugd and
   ifplugd do.
2- detect when the network is not responsive.
If the cable is unplugged, the network will not be responsive, but the
reverse is not necessarily true.

Usually people want 2 rather than 1 for such "secondary internet connection".

So you might prefer looking for some kind of network-watchdog which
pings a remote machine every now and then and brings up the UMTS
connection if the ping fails.  Of course, you can combine that daemon
with an ifplugd approach so you don't have to wait for the ping failure
when the cable is actually disconnected.
I'd expect that such a thing already exists, but don't know of any.


        Stefan

_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to