Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 May 2003 10:42:00 +0930
From:      "Paul A. Hoadley" <paulh@logicsquad.net>
To:        Paul Hamilton <paul@computerwest.com.au>
Cc:        Freebsd-Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: auto restarting a ppp connection
Message-ID:  <20030503011200.GA93080@grover.logicsquad.net>
In-Reply-To: <AGEHIFHGNEMPFNCPLONMEECGEJAA.paul@compwest.com.au>
References:  <AGEHIFHGNEMPFNCPLONMEECGEJAA.paul@compwest.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 02, 2003 at 09:44:33PM +0800, Paul Hamilton wrote:

> I have tried to put the whole routine into a script, ie, find the
> pid, kill it, wait, then restart the ppp connection.  The idea, was
> that I could link it with a ping tester, then when I miss 'x' number
> of pings, restart the connection.  This is what I used:-

Here is a script Aaron Hill wrote that does precisely that:

http://logicsquad.net/freebsd/pingmonitor-how-to.html

Run it with cron as frequently as you like.  Instructions for
customising it are on that page.


-- 
Paul.

mailto:paulh@logicsquad.net
mailto:phoadley@maths.adelaide.edu.au



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