Alternatively you might be able to (never done this) configure both
links with proper metrics, and have them both active at the same time,
the broadband one with a higher priority (I think higher priority is
equivalent to lower metric) than the cellular one, and declare the
(default?) route on the broadband device to be 'onlink'.  Which I
believe will cause it to be ignored if/when the device has no link.

or something like that... ;-)

On Thu, Oct 22, 2009 at 12:45, Stefan Monnier <[email protected]> wrote:
>>>> 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
>
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to