From owner-freebsd-hackers Tue May 28 1:41:44 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailbox.univie.ac.at (mailbox.univie.ac.at [131.130.1.27]) by hub.freebsd.org (Postfix) with ESMTP id 3B29C37B407 for ; Tue, 28 May 2002 01:41:40 -0700 (PDT) Received: from pcle2.cc.univie.ac.at (pcle2.cc.univie.ac.at [131.130.2.177]) by mailbox.univie.ac.at (8.12.2/8.12.2) with ESMTP id g4S8fW9t1872748; Tue, 28 May 2002 10:41:34 +0200 Date: Tue, 28 May 2002 10:41:32 +0200 (CEST) From: Lukas Ertl X-X-Sender: le@pcle2.cc.univie.ac.at To: Dominic Marks Cc: Dan Langille , Subject: Re: how to automagically restart net/pptpclient? In-Reply-To: <20020528093236.A7916@host217-39-111-112.in-addr.btop> Message-ID: <20020528103703.J15488-100000@pcle2.cc.univie.ac.at> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 28 May 2002, Dominic Marks wrote: > On Tue, May 28, 2002 at 12:57:52AM -0400, Dan Langille wrote: > > I have installed net/pptpclient (1.0.3). About 5 times a week, it dies > > and must be restarted. Does anyone have a script which checks and > > restarts it if it has died? > > You might like to try one of the other PPTP clients on offer. I > switched from using pptpclient to mpd and think it is superior. This > is all covered in the Handbook :) I have to support that. I used pptpclient a long time for my ADSL connection but switched to mpd(-netgraph), which seems to me more stable and smoother and more "BSD-like". For checking and restarting I used a little shell script which just pings some host and takes the appropriate measures when it can't reach the host. It runs from cron every five minutes or so. regards, le --=20 Lukas Ertl eMail: l.ertl@univie.ac.at UNIX-Systemadministrator Tel.: (+43 1) 4277-14073 Zentraler Informatikdienst (ZID) Fax.: (+43 1) 4277-9140 der Universit=E4t Wien http://mailbox.univie.ac.at/~le/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message