Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 1997 22:41:24 -0700 (PDT)
From:      Simon Shapiro <Shimon@i-Connect.Net>
To:        Mike Smith <mike@smith.net.au>
Cc:        Terry Lambert <tlambert@primenet.com>, current@freebsd.org, nnd@itfs.nsk.su
Subject:   Re: PPP - why set CLOCAL for server ('-direct' mode) ?
Message-ID:  <XFMail.970910224124.Shimon@i-Connect.Net>
In-Reply-To: <199709110456.OAA06582@word.smith.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi Mike Smith;  On 11-Sep-97 you wrote: 
> > 
> > The solution is very simple;  Upon open, you open anyway, ignoring but
> > remembering DCD.  If you get a change of state from inactive to active,
> > you
> > change the state, but ignore it.  However, if the state  transitions
> > from 
> > ACTIVE to INACTIVE, you terminate the connection, close the port and
> > generate SIGHUP.  This is the simplest and most correct way to handle
> > it.
>  
>  This is how a callout device works, although SIGHUP is only delivered 
>  if the port is the controlling tty of the process.  Note, however, that 
>  user-mode ppp _doesn't_want_this_, which is the whole issue.  

So the device works properly.  Good.  It took several YEARS for
AT&T/USL/USG/etc. to get it streight.

>  It wants to poll for carrier status, hence CLOCAL.

Must hve a good reason...

---


Sincerely Yours,                               (Sent on 10-Sep-97, 22:39:42
by XF-Mail)

Simon Shapiro                                                Atlas Telecom
Senior Architect         14355 SW Allen Blvd., Suite 130 Beaverton OR 97005
Shimon@i-Connect.Net          Voice:  503.643.5559, Emergency: 503.799.2313



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