Date: 11 Sep 1997 04:06:50 GMT
From: nnd@itfs.nsk.su
To: current@freebsd.org
Subject: Re: PPP - why set CLOCAL for server ('-direct' mode) ?
Message-ID: <5v7qoq$4ne@news.itfs.nsk.su>
References: <Pine.BSF.3.96.970910184811.830A-100000@nagual.pp.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Андрей Чернов <ache@nagual.pp.ru> wrote: > On 10 Sep 1997 nnd@itfs.nsk.su wrote: > > (from small script setted as as user's shell) > > then it sets 'CLOCAL' flag for modem and > > as a result 'ppp' process does'nt received 'SIGHUP' > > on modem's carrier drop. > 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 ? At least i my case before my patch 'ppp' process stays after modem drops carrier and after the patch 'ppp' exits when modem's CD go OFF. N.Dudorov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5v7qoq$4ne>
