Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Mar 2000 20:38:47 -0800 (PST)
From:      Archie Cobbs <archie@whistle.com>
To:        is@jocelyn.rhein.de (Ignatios Souvatzis)
Cc:        dave@turbocat.de (David Wetzel), freebsd-isdn@FreeBSD.ORG
Subject:   Re: sPPP and PPP keepalives
Message-ID:  <200003090438.UAA79382@bubba.whistle.com>
In-Reply-To: <20000308204935.C441@jocelyn.rhein.de> from Ignatios Souvatzis at "Mar 8, 2000 08:49:35 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003090438.UAA79382>