From owner-freebsd-current Wed Sep 10 22:52:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA29158 for current-outgoing; Wed, 10 Sep 1997 22:52:56 -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 WAA29152 for ; Wed, 10 Sep 1997 22:52:50 -0700 (PDT) Received: (from ache@localhost) by lsd.relcom.eu.net (8.8.7/8.8.7) id JAA25976; Thu, 11 Sep 1997 09:52:43 +0400 (MSD) Date: Thu, 11 Sep 1997 09:52:41 +0400 (MSD) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= X-Sender: ache@lsd.relcom.eu.net To: nnd@itfs.nsk.su cc: current@FreeBSD.ORG Subject: Re: PPP - why set CLOCAL for server ('-direct' mode) ? In-Reply-To: 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 Does this fix work for you? *** modem.c.bak Mon Sep 1 14:56:38 1997 --- modem.c Thu Sep 11 09:50:46 1997 *************** *** 498,513 **** " cflag = %x\n", rstio.c_iflag, rstio.c_oflag, rstio.c_cflag); cfmakeraw(&rstio); if (VarCtsRts) ! rstio.c_cflag |= CLOCAL | CCTS_OFLOW | CRTS_IFLOW; ! else { ! rstio.c_cflag |= CLOCAL; rstio.c_iflag |= IXOFF; - } rstio.c_iflag |= IXON; if (!(mode & MODE_DEDICATED)) rstio.c_cflag |= HUPCL; if ((mode & MODE_DIRECT) == 0) { ! /* * If we are working as direct mode, don't change tty speed. */ --- 498,511 ---- " cflag = %x\n", rstio.c_iflag, rstio.c_oflag, rstio.c_cflag); cfmakeraw(&rstio); if (VarCtsRts) ! rstio.c_cflag |= CCTS_OFLOW | CRTS_IFLOW; ! else rstio.c_iflag |= IXOFF; rstio.c_iflag |= IXON; if (!(mode & MODE_DEDICATED)) rstio.c_cflag |= HUPCL; if ((mode & MODE_DIRECT) == 0) { ! rstio.c_cflag |= CLOCAL; /* * If we are working as direct mode, don't change tty speed. */ -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/