*BSD News Article 99734


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!inferno.mpx.com.au!news.ci.com.au!brian.telstra.net!act.news.telstra.net!vic.news.telstra.net!news.mira.net.au!inquo!news.caldera.com!enews.sgi.com!nntprelay.mathworks.com!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Dumb Terminals or Dumb User ?
Date: 15 Jul 1997 21:04:29 GMT
Organization: Private BSD site, Dresden
Lines: 34
Message-ID: <5qgokt$970@uriah.heep.sax.de>
References: <33cd5c73.4617486@news.demon.co.uk>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44490

warlord@bhpscv21.demon.co.uk (Warlord) wrote:

> I'm trying to get a PC acting as a serial dumb terminal to connect to
> COM1 or 2 on the BSD machine.  I've editted /etc/ttys and set the
> relavant parts of the lines for ttyd0 & ttyd1 to "vt100 on secure",
                                  ^^^^^   ^^^^^
> leaving the rest alone as "std.9600" etc.  But I can't get the
> terminal to be presented with a login?  I can output to the terminal
> with 
> 
> 	ls -l > /dev/cuaa0
                     ^^^^^

The ttyd and cuaa devices behave differently.  ttyd's are dialin-ttys,
and they by default (*) wait for modem carrier.  cuaa is a callout
device, and in order to talk to the modem in command mode initially,
it doesn't require a carrier to be present.

So this means your cabling doesn't fake the carrier.  Not surprising
for a DOS cable, DOS doesn't seem to care for much for the DCD signal.
The correct Unix cable uses remote DTR to fake local DCD and DSR
(although the DSR is basically unused).

(*) You can override this using the initial-state devices; see
/etc/rc.modem, and the man page sio(4).

Btw., are you sure you wanna allow root logins (the `secure' keyword)?

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)