On Mon, 8 Feb 1999, James (Jim) Hatridge wrote:

> Hi all;
> 
> I'm using PPP at the command line to connect to my ISP. Sometimes it is
> very slow or worst it picks up the phone but does not make a connection. 
> 
> Does anyone have a script to delay my fetchpop & sendmails commands until
> there is a connection? Perhaps checks for a connection before it runs the
> rest of my script? Right now I first run ppp-on and then (by hand) run the
> rest of my script. 

Put your script in /etc/ppp/ip-up. It will be run automatically by pppd
once the link is up and packets are being exchanged.

See man pppd(8) for details.

Phil
-- 
Philip Stokes                            Email: [EMAIL PROTECTED]
                                         Fax:   +44 (0)870 164 1242

-
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archiv at http://www.suse.com/Mailinglists/suse-linux-e/index.html

Reply via email to