From owner-freebsd-current Thu Sep 11 03:27:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA12491 for current-outgoing; Thu, 11 Sep 1997 03:27:51 -0700 (PDT) Received: from usr05.primenet.com (tlambert@usr05.primenet.com [206.165.6.205]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA12481 for ; Thu, 11 Sep 1997 03:27:46 -0700 (PDT) Received: (from tlambert@localhost) by usr05.primenet.com (8.8.5/8.8.5) id DAA14288; Thu, 11 Sep 1997 03:27:44 -0700 (MST) From: Terry Lambert Message-Id: <199709111027.DAA14288@usr05.primenet.com> Subject: Re: PPP - why set CLOCAL for server ('-direct' mode) ? To: Shimon@i-Connect.Net (Simon Shapiro) Date: Thu, 11 Sep 1997 10:27:44 +0000 (GMT) Cc: tlambert@primenet.com, current@FreeBSD.ORG, nnd@itfs.nsk.su In-Reply-To: from "Simon Shapiro" at Sep 10, 97 09:35:23 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > 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. Won't work. They open for getty must hang until DCD is true. See my other post for the real soloution. Microport was on the right track. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.