From owner-freebsd-questions@FreeBSD.ORG Sat May 3 03:28:37 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A3BD37B401 for ; Sat, 3 May 2003 03:28:37 -0700 (PDT) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 64B5643FB1 for ; Sat, 3 May 2003 03:28:36 -0700 (PDT) (envelope-from blueeskimo@gmx.net) Received: (qmail 8732 invoked by uid 65534); 3 May 2003 10:28:34 -0000 Received: from i216-58-29-174.gta.igs.net (EHLO [216.58.29.174]) (216.58.29.174) by mail.gmx.net (mp021-rz3) with SMTP; 03 May 2003 12:28:34 +0200 From: Adam To: Freebsd-Questions In-Reply-To: <20030503011200.GA93080@grover.logicsquad.net> References: <20030503011200.GA93080@grover.logicsquad.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-185H+Ext1g8yE1q+HYC8" Organization: Message-Id: <1051957713.45399.8.camel@jake> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 03 May 2003 06:28:34 -0400 Subject: Re: auto restarting a ppp connection X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2003 10:28:37 -0000 --=-185H+Ext1g8yE1q+HYC8 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2003-05-02 at 21:12, Paul A. Hoadley wrote: > On Fri, May 02, 2003 at 09:44:33PM +0800, Paul Hamilton wrote: >=20 > > 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:- >=20 > Here is a script Aaron Hill wrote that does precisely that: >=20 > http://logicsquad.net/freebsd/pingmonitor-how-to.html >=20 > Run it with cron as frequently as you like. Instructions for > customising it are on that page. Is this script really any better than enabling LQR and setting up an automatic reconnect on disconnection in the ppp.conf?=20 --=20 Adam --=-185H+Ext1g8yE1q+HYC8 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+s5nRu3o4GBMSDL4RAurXAJwI7q0n5nT/7svhEzuM/gn7zX9R1ACggndM hKxO7RuizGXSg4eLozuJuwY= =olzf -----END PGP SIGNATURE----- --=-185H+Ext1g8yE1q+HYC8--