auto restarting a ppp connection
Paul A. Hoadley
paulh at logicsquad.net
Fri May 2 18:12:04 PDT 2003
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 at logicsquad.net
mailto:phoadley at maths.adelaide.edu.au
More information about the freebsd-questions
mailing list