*BSD News Article 98348


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!uwm.edu!vixen.cso.uiuc.edu!howland.erols.net!newsfeed.nacamar.de!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: Why can't I get a login on ttyd0?
Date: 24 Jun 1997 06:35:54 GMT
Organization: Private BSD site, Dresden
Lines: 26
Message-ID: <5onpsa$14a@uriah.heep.sax.de>
References: <5ojthg$c3h@news.ox.ac.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:43422

Neil Long <neil.long@materials.oxford.ac.uk> wrote:

> I am failing to get a 'login' prompt on a PC running 2.2.2 and I can't
> figure out what I have missed.
> 
> It has ttyd0 set 'on' in ttys, and gettytab is fine and getty is running
> on the port (si0, com1,ttyd0 are all fine).

Hmm.  Any chance your terminal program on the other end doesn't fake
DCD?  Normal crossover cables wire DCD to the other end's DTR, thus
raising DTR will fake a `carrier'.  If your other end is Unix, this is
normally done automatically, since in Unix, opening a tty port raises
DTR.  Many DOS terminal programs fail to do this automatically.

Unless your incoming line is marked `local', it will be assumed to be
a modem, thus waits for DCD.

You can easily spot this in the `ps -alx' output, the WCHAN should be
`siodcd' then.

-- 
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. ;-)