--
--
You received this message because you are subscribed to the Google
Groups "house4hack" group.
To post to this group, send email to house...@googlegroups.com
To unsubscribe from this group, send email to
house4hack+...@googlegroups.com
---------------------------------------------------------------------------------------------
www.house4hack.co.za | Centurion Tue 18-21 & Sat 9-14 | Randburg Wed 18-21
---------------------------------------------------------------------------------------------
---
You received this message because you are subscribed to the Google Groups "house4hack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to house4hack+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You can configure pppd with various options to check that the link is alive, and exit after a suitable time if it doesn't get the response from the remote end. If the interface drops, then the routing metrics mentioned previously come into play.
Rogan
You can configure pppd with various options to check that the link is alive, and exit after a suitable time if it doesn't get the response from the remote end. If the interface drops, then the routing metrics mentioned previously come into play.
Ah, yes, I forgot the op wanted failover from Ethernet to 3g.
Rogan
--
On 24 Sep 2015 13:54, "Daniel de Kock" <dekock...@gmail.com> wrote:
>
> Yep,
> The idea is that if these units are installed where there is an Ethernet connection it will use that for its data, if that fails or it is on a vehicle it will use the Cellular modem ( ppp over /dev/ttyACM0 ) Photo is the first one we made.
>
> I'm not sure if its the sunxi networking driver voodoo but it doesn't detect that the Ethernet has gone down ( it reports <6>PHY: sunxi_gmac-0:01 - Link is Down<c> )
> ifconfig reports that the link is still up and the route is still in my routing table after the cable has been unplugged..
>
If the cable getting unplugged is the primary failure mode, metrics should work...
The RUNNING flag should disappear in ifconfig of the interface is down..