Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jul 1995 13:24:04 -0500 (CDT)
From:      "Lars Fredriksen" <fredriks@mcs.com>
To:        kwong@fathergoose.net6c.io.org (Ken Wong)
Cc:        bde@zeta.org.au, hackers@freebsd.org
Subject:   Re: sio driver problem
Message-ID:  <m0sVNUy-0003l4C@mercury.mcs.com>
In-Reply-To: <199507030347.XAA00290@fathergoose.net6c.io.org> from "Ken Wong" at Jul 2, 95 11:47:58 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0sVNUy-0003l4C>