Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jun 2003 11:27:19 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Mark Pearce <mark@netchat.co.za>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Advise needed  to write a script
Message-ID:  <3EE0B2D7.7090905@mac.com>
In-Reply-To: <21585.196.37.44.152.1054881330.squirrel@mail.inf.co.za>
References:  <21585.196.37.44.152.1054881330.squirrel@mail.inf.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EE0B2D7.7090905>