> On Oct 1, 2018, at 10:38 PM, Michael Knill
> <michael.kn...@ipcsolutions.com.au> wrote:
>
> Hi all
>
> Just a bit of a problem I would like to highlight with the Wan Failover
> script.
> The passed interface parameters assume a fixed interface rather than a
> dynamic one e.g. ppp0 so it fails.
>
> So when the primary has failed:
> wan-failover.script SECONDARY ppp0 115.187.183.76 eth2 10.101.194.1
> Cannot find device "ppp0"
>
> I assume the only option is to override the passed parameters in the script?
What do you mean by "ppp0 so it fails" ?
Looking at the wan-failover script, the /mnt/kd/wan-failover.script is called
via...
--
$SCRIPTFILE "$SECONDARY_STR" "$EXTIF" "$PRIMARY_GW" "$EXT2IF" "$SECONDARY_GW"
"$SECONDARY_GWIPV6"
--
The "$EXTIF" implies your system is setup with the external interface using
PPPoE.
If "$EXTIF" = "ppp0" you may want "$PPPOEIF" to use the associated ethernet
interface.
Lonnie
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to
pay...@krisk.org.