Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 1997 16:31:15 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        ache@nagual.pp.ru, nnd@itfs.nsk.su
Cc:        current@freebsd.org
Subject:   Re: PPP - why set CLOCAL for server ('-direct' mode) ?
Message-ID:  <199709110631.QAA29277@godzilla.zeta.org.au>

index | next in thread | raw e-mail

>> > It not supposed to receive SIGHUP since modem line is not controlling
>> > terminal in any case. Carrier detected by TIOCM_CD instead.
>> 
>> 	   ^^^^^^^^^^^^
>> 		      |
>>   Sorry, but is this (|) really the case when 'ppp -direct'
>> was started as a user's shell from getty ?
>
>Of course, not for -direct mode which suppose just stdin/stdout without
>any modem control.
>I do not understand one thing: if you use -direct mode, why modem code is
>even called? It is a bug indeed.

Presumably it needs to monitor carrier even for direct mode.  Isn't the
only difference for direct mode that getty instead of ppp opens the port?

Bruce


home | help

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