From owner-freebsd-hackers Mon Jul 10 11:24:50 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA17335 for hackers-outgoing; Mon, 10 Jul 1995 11:24:50 -0700 Received: from kitten.mcs.com (Kitten.mcs.com [192.160.127.90]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id LAA17329 for ; Mon, 10 Jul 1995 11:24:43 -0700 Received: from mailbox.mcs.com (Mailbox.mcs.com [192.160.127.87]) by kitten.mcs.com (8.6.10/8.6.9) with SMTP id NAA02331; Mon, 10 Jul 1995 13:24:09 -0500 Received: by mailbox.mcs.com (/\==/\ Smail3.1.28.1 #28.5) id ; Mon, 10 Jul 95 13:24 CDT Received: by mercury.mcs.com (/\==/\ Smail3.1.28.1 #28.5) id ; Mon, 10 Jul 95 13:24 CDT Message-Id: Subject: Re: sio driver problem To: kwong@fathergoose.net6c.io.org (Ken Wong) Date: Mon, 10 Jul 1995 13:24:04 -0500 (CDT) From: "Lars Fredriksen" Cc: bde@zeta.org.au, hackers@freebsd.org In-Reply-To: <199507030347.XAA00290@fathergoose.net6c.io.org> from "Ken Wong" at Jul 2, 95 11:47:58 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1259 Sender: hackers-owner@freebsd.org Precedence: bulk Ken Wong writes: > > > > >Then how can we get pppd to work when getty is running at the same > > >serial port. > > >> > > >> ttyd1 should only be used for incoming calls. > > > > >ttyd1 is used for incoming call i.e. getty on ttyd1. and pppd on cuaa1. > > > > Don't allow getty to open ttyd1. Perhaps Carrier Detect is configured > > (in the modem) to be always high. That would allow getty to open ttyd1 > > immediately. Carrier Detect should be configured to only be high while > > there is a connection. > > in this case, I am not sure I can disable it. I used kermit to dialout, > after getting the connection, exit kermit. (I guess at this point > Carrier Detect (CD) is ON) I invoke pppd on cuaa1, but pppd complained > that the port is busy ( I suppose getty may mistaken that CD is actually > not intended for the getty but for the pppd). > > > > > Bruce > > > > Ken > Take a look at the connect-ppp script in /usr/src/usr.bin/chat. It locks the tty, and works real well with the hylafax package(but then hylafax might be a smarter getty) Lars -- ------------------------------------------------------------------- Lars Fredriksen fredriks@mcs.com (home) lars@fredriks.pr.mcs.net (home-home) fredriks@asiago.cs.wisc.edu