Date: Wed, 9 Aug 2000 20:28:31 -0400 (EDT) From: Nathan Binkert <binkertn@umich.edu> To: justin <jwpauler@jwpages.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: USER PPP Message-ID: <Pine.GSO.4.21.0008092025250.17640-100000@soso.eecs.umich.edu> In-Reply-To: <000801c00260$657d4b80$668df9d0@hernandez>
next in thread | previous in thread | raw e-mail | index | archive | help
YOu can use ping with a -c option to ping an outside machine. If it fails all pings there will be an error code and you can tell your machine to reconnect. (I'd pick a machine very close to you. Like the first router on the other side of your ppp link.) Something like: #!/bin/sh ping -c 10 some.outside.router && reconnect.command Nathan Binkert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.21.0008092025250.17640-100000>