[plug] Debian ip-up script not running in persist mode?

Adrian Woodley Adrian at Diskworld.com.au
Thu Nov 15 15:04:03 WST 2007


Andrew,

If this is a ppp-based connection, you may find that it runs the scripts 
in /etc/ppp/ip-<up|down>.d on every (re)connection, but only run 
/etc/network/if-<up|down>.d when the interface is actually brought up or 
down.

Adrian Woodley

Andrew Furey wrote:
> Hi all,
> 
> I have a sarge machine with a large number of PPP connections defined
> (VPN links). I'm making extensive use of the ip-up setup to run
> tracking utilities, add routing and NATing for clients behind the
> machine, etc.
> 
> I use the persist option to pppd to redial the links if needed, but I
> find that when they redial automatically, the ip-up (and ip-down)
> scripts don't seem to be running. This is an issue if, for example,
> the link comes back up with a different interface to before...
> 
> I spoke to someone on IRC who seemed to think that it should be
> running them. Can anyone confirm whether theirs do? Any other
> suggestions?
> 
> Thanks,
> Andrew
> 




More information about the plug mailing list