Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 1997 13:11:28 +0400 (MSD)
From:      =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= <ache@nagual.pp.ru>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        current@FreeBSD.ORG, nnd@itfs.nsk.su
Subject:   Re: PPP - why set CLOCAL for server ('-direct' mode) ?
Message-ID:  <Pine.BSF.3.96.970911130721.28161A-100000@lsd.relcom.eu.net>
In-Reply-To: <199709110705.RAA30497@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 11 Sep 1997, Bruce Evans wrote:

> >after that it's behavior is more suitable for my purposes
> >(at least ppp process on my - server - side of a link
> >sees the CD drop and exits).
> 
> ppp should notice the drop and do something appropriate.
> 
> Perhaps you are using an old version of the cy driver which
> has broken carrier handling when CLOCAL is set.  This is
> supposed to be fixed in -current, 2.2.0 and 2.1.

Bruce, ppp -direct NOT supposed to track carrier because it uses pure
stdin/stdout as controlling terminal. I can be even file, so TIOCM_CD is
impossible.  It is upper leve task to track/handle all device specific
issues of stdin/stdout including carrier and CLOCAL. Lets separate
functionality levels really. 

-- 
Andrey A. Chernov
<ache@null.net>
http://www.nagual.pp.ru/~ache/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970911130721.28161A-100000>