From owner-freebsd-current Thu Sep 11 02:13:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA09059 for current-outgoing; Thu, 11 Sep 1997 02:13:00 -0700 (PDT) Received: from lsd.relcom.eu.net (ache@lsd.relcom.eu.net [193.124.23.23]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA09050 for ; Thu, 11 Sep 1997 02:12:39 -0700 (PDT) Received: (from ache@localhost) by lsd.relcom.eu.net (8.8.7/8.8.7) id NAA28231; Thu, 11 Sep 1997 13:11:30 +0400 (MSD) Date: Thu, 11 Sep 1997 13:11:28 +0400 (MSD) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= X-Sender: ache@lsd.relcom.eu.net To: Bruce Evans cc: current@FreeBSD.ORG, nnd@itfs.nsk.su Subject: Re: PPP - why set CLOCAL for server ('-direct' mode) ? In-Reply-To: <199709110705.RAA30497@godzilla.zeta.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 http://www.nagual.pp.ru/~ache/