From owner-freebsd-questions Wed Apr 15 07:32:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA09476 for freebsd-questions-outgoing; Wed, 15 Apr 1998 07:32:50 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gilberto.physik.RWTH-Aachen.DE (gilberto.physik.rwth-aachen.de [137.226.30.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA09445 for ; Wed, 15 Apr 1998 14:32:35 GMT (envelope-from kuku@gilberto.physik.RWTH-Aachen.DE) Received: (from kuku@localhost) by gilberto.physik.RWTH-Aachen.DE (8.8.7/8.8.7) id QAA01896; Wed, 15 Apr 1998 16:36:01 +0200 (MEST) (envelope-from kuku) Message-ID: <19980415163601.04393@gil.physik.rwth-aachen.de> Date: Wed, 15 Apr 1998 16:36:01 +0200 From: Christoph Kukulies To: THIERRY.HERBELOT@telspace.alcatel.fr Cc: kuku@gilberto.physik.RWTH-Aachen.DE, freebsd-questions@FreeBSD.ORG Subject: Re: =?iso-8859-1?Q?R=E9p_=3A_Re=3A_R=E9p_=3A_rc=2Eserial?= References: <19980415142356.42611@gil.physik.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.81e In-Reply-To: ; from THIERRY.HERBELOT@telspace.alcatel.fr on Wed, Apr 15, 1998 at 03:52:35PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Apr 15, 1998 at 03:52:35PM +0200, THIERRY.HERBELOT@telspace.alcatel.fr wrote: > One of the good points in using mgetty is the modem management : > mgetty waits for the "RING" message from the modem and then answers > the line. > > Has PPPD the same feature ? I'm not sure what you mean. AFAIK mgetty also execs pppd once it has decided that a ppp link is desired. The normal getty - despite from being ppp 'aware' (provided things work as they should) - can pass control to pppd. Also /usr/libexec/getty can execute a chat script to answer the modem (gettytab ac option). Despite of that it uses the blocking open which blocks as long as DCD is inactive (IIRC). > > TfH > > > > ____________________________ Séparateur Réponse ________________________________ > Objet : Rép : Re: Rép : rc.serial > Auteur : kuku@gilberto.physik.RWTH-Aachen.DE > Date : 15/04/98 14:23 > > > On Wed, Apr 15, 1998 at 01:45:49PM +0200, THIERRY.HERBELOT@telspace.alcatel.fr w > rote: > > Hi > > > > I've set up a PPP server with success using user-ppp (iij-ppp) and > > mgetty : > > > > I've fetched recent sources for PPP from the FreeBSD site > > (www.freebsd.org/~brian) > > > > I've recompiled mgetty from the sources in the 3rd CD-ROM and the > > AutoPPP option. > > I'm using mgetty on another machine for incoming fax service and > login users but don't want to go through another hassle. > > Kernel ppp and pppd as a server should work and it works > for several users but not all - that's the problem. > > And I'm wondering whether it's a modem/tty line discipline problem after > all. > > So my question aims on that rc.serial /comcontrol issue. > I believe comcontrol were gone in 2.x and so is rc.serial > but I'm not sure how to setup my modem line discipline. > > Especially these crtscts and dtr (drainwait etc.) issues may be > important in that context. > > > > > The handbook, the documentation coming with mgetty and a bit of > > experimentation and you should be ok to accept incoming connection > > using PPP. > > > > > > TfH > > > > > > ____________________________ Séparateur Réponse ______________________________ > __ > > Objet : rc.serial ? > > Auteur : kuku@gilberto.physik.RWTH-Aachen.DE > > Date : 15/04/98 13:00 > > > > > > > > While still fighting with my pppd problems (I can now login from > > linux while another can't with his linux machine) I'm wondering > > whether the rc.serial mimicry is still necessary to set up the modem > > line correctly. > > > > The problem is that the modem prematurely hangs up during link > > setup so that the connection gets terminated abruptly by a cause > > I havn't yet figured out. > > > > I'm using crtscts in the pppd script and I wonder if I have to set up > > the line discipline accordingly through rc.serial or is > > rc.serial gone in 2.2.5-R? And what is in place of it? > > > > The handbook is a bit obsolete on this (deals with FreeBSD 1.1.5.1). > > > > -- > > Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > -- > --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message