Advise needed to write a script

Chuck Swiger cswiger at mac.com
Fri Jun 6 08:27:31 PDT 2003


Mark Pearce wrote:
[ ... ]
> What I would like to do is the following.
> create a script that runs contineously in the background, checking on
> the IP address every 5 minutes, and if it's not there, run a script to
> kill and restart ppp.

How are you invoking PPP?  Try the "-ddial" option; it should convince PPP to 
reconnect without the need for an external script.

-Chuck



More information about the freebsd-questions mailing list