[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ppp/ip-up vs. network/if-up

On Oct 11, Joerg Sommer <joerg@alea.gnuu.de> wrote:
> why ppp provides its own mechanism of telling programs when the
> interface is coming up or down? Many programs register for the ppp
> mechanism, but not for the network mechanism. Where is the difference

The reason there continues to be a need for /etc/ppp/ip-(up|down).d/ is
that ifupdown has never handled ppp interfaces properly.  ifup runs
/etc/network/if-up.d/ scripts immediately after starting pppd; what it
should do is wait for the PPP link to be established before running
hook scripts.  This shortcoming is addressed in the experimental
version of ifupdown.

Thomas Hood

Reply to: