From owner-freebsd-isdn Wed Mar 8 20:39:37 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by hub.freebsd.org (Postfix) with ESMTP id E38BD37B635 for ; Wed, 8 Mar 2000 20:39:35 -0800 (PST) (envelope-from archie@whistle.com) Received: (from archie@localhost) by bubba.whistle.com (8.9.3/8.9.2) id UAA79382; Wed, 8 Mar 2000 20:38:47 -0800 (PST) From: Archie Cobbs Message-Id: <200003090438.UAA79382@bubba.whistle.com> Subject: Re: sPPP and PPP keepalives In-Reply-To: <20000308204935.C441@jocelyn.rhein.de> from Ignatios Souvatzis at "Mar 8, 2000 08:49:35 pm" To: is@jocelyn.rhein.de (Ignatios Souvatzis) Date: Wed, 8 Mar 2000 20:38:47 -0800 (PST) Cc: dave@turbocat.de (David Wetzel), freebsd-isdn@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ignatios Souvatzis writes: > the PPP link control protocol has two message types called "LCP echo" and > "LCP echo reply", which do what you guess. > > Linux people started to use them to workaround buggy serial drivers that > dont provide SIGHUP on hangup some years ago. They usually send a LCP echo > every couple of seconds, and tear the connection down if they dont > receive two or three of the replies in a row. Another thing you can do is just poll the carrier detect signal. LCP echos are good practice anyway. Sometimes the box at the remote end freezes without disconnecting the telephone (or whatever link). -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message