linux-avmb1:Re: PPPD: executing script when pppd comes up

Tony Crawford tc-list at crawfords.de
Fri Jan 14 16:45:02 CET 2005


Jan Schubert wrote (on 14 Jan 2005 at 15:43):

> Bodo Meissner wrote:
> 
> > What exactly has to be done when pppd starts?
> 
> As I said before: Routing for instance!
> 
> > Why can't you do it in ip-up?
> 
> When exactly is ip-up started? 

As the name indicates: when IPCP is finished and IP 
communication is permitted.

> AFAIR this is just executed when the line gets connected, not when the
> pppd starts / the interface comes up, is'nt it? But for connecting the
> line the system has to know which packets to send through the device... 

Ah. Read in man pppd about the demand option.

Theoretically you could put a wrapper script around pppd if you 
really want to start other things when it starts, but that's not 
necessary for dial-on-demand.


Tony

-- 
I will not walk with your progressive apes,
erect and sapient. Before them gapes
the dark abyss to which their progress tends
if by God's mercy progress ever ends
--J. R. R. Tolkien





More information about the linux-avmb1 mailing list