[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ppp
On Mon, 6 Mar 2000, Andrew Basterfield wrote:
> I have a shell script which connects me to the internet with ppp. Also in
> this script I would like to add fetchmail, sendmail -q, and rdate but
> because pppd detaches so quickly it tries to execute these commands before
> it has finished dialling/authenticating. Is there an easy & neat way to make
> it wait until the link is established?
>
pppd executes the script typically in /etc/ppp/ip-up once the connection
is made. Put your sendmail -q and rdate or ntpdate stuff in there. It also
executes /etc/ppp/ip-down when the line goes down. (I have no docs to
hand, so am going on memory - could be faulty as to exact names).
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.
- References:
- Re: ppp
- From: "Andrew Basterfield" <ela99ab [at] shef.ac.uk>