From owner-freebsd-hackers Sat Jan 13 11:17:28 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA08246 for hackers-outgoing; Sat, 13 Jan 1996 11:17:28 -0800 (PST) Received: from rocky.sri.MT.net (rocky.sri.MT.net [204.182.243.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA08241 for ; Sat, 13 Jan 1996 11:17:25 -0800 (PST) Received: (from nate@localhost) by rocky.sri.MT.net (8.6.12/8.6.12) id MAA27128; Sat, 13 Jan 1996 12:19:36 -0700 Date: Sat, 13 Jan 1996 12:19:36 -0700 From: Nate Williams Message-Id: <199601131919.MAA27128@rocky.sri.MT.net> To: Mark Murray Cc: hackers@FreeBSD.org Subject: Re: How to keepalive a sick ppp process? In-Reply-To: <199601131813.UAA16484@grumble.grondar.za> References: <199601131813.UAA16484@grumble.grondar.za> Sender: owner-hackers@FreeBSD.org Precedence: bulk > > [ PPPD ] > > > > > I'm using a USR 28,800 Sportster, which drops the line occasionally. > > > My solution is to run 'ping -i 60 HISADDR', where HISADDR is the IP > > > address of the machine at the other end of the PPP link. The '-i 60' > > > keeps the ping packets down to one a minute, so the overhead is > > > insignificant. If the line is dropped, it is less than a minute before > > > a redial is triggered by the ping packet. > > > > Ahh, in this sort of case, you want my '-ddial' (Demon Dialer/Dedicated > > Dialer) fixes. Basically, those patches cause the system to keep the > > line up no matter what. No pings are necessary, since the ppp process > > knows when the line goes down and it tries to bring it back up. > > Ooooh! Yes please! (when is this going to hit the Prime Time?) I posted this a long time ago, but due to bugs in the user PPP code, it causes lots of problems. I just applied John Capo's fixes to the code in -stable and will try and get to testing it sometime today to see if they help. Nate