Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 1996 09:40:36 +0900
From:      Toshihiro Kanda <candy@fct.kgc.co.jp>
To:        nate@mt.sri.com
Cc:        questions@freebsd.org
Subject:   Re: getty(8) don't show `login:' prompt
Message-ID:  <199607100040.JAA03996@xxx.fct.kgc.co.jp>
In-Reply-To: Your message of "Tue, 9 Jul 1996 10:33:28 -0600 (MDT)"
References:  <199607091633.KAA18396@rocky.mt.sri.com>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Nate Williams <nate@mt.sri.com>
Date: Tue, 9 Jul 1996 10:33:28 -0600 (MDT)

> >   I'm using FreeBSD 2.1R.  I wanted to login via modem, but got
> > difficulty...  Getty didn't show `login:' to remote terminal.
> > 
> >   After a short hacking /usr/src/libexec/getty/, I found a delay fixes
> > this problem.
> 
> Umm, it worked fine on my box running 2.1R until last week, when I
> upgraded to 2.1.5-Alpha, and it still works fine. :)

  I wonder if my serial chip (on the Intel ZAPPA mother board) was
broken :-(
  There was strange phenomenon: a getty without the deley patch never
showed `login:', but if I did `cat /dev/ttyd1' while the getty waiting
ttyd1, and I called by a modem, then the getty showed the prompt!!

> Are you sure the modem is correctly configured to raise the proper
> signals when it answers the phone?  Also, try hitting return before
> expecting the login prompt.

  I believe I did it.  I configured the modem by the followings.
	AT&F
	AT&C1 (DCD signal follows modem CD signal)
	AT&D3 (Reset when DTR on-to-off transition)
	ATS0=1 (Auto answer)
	AT&W (Write parameters)

  Edited /etc/ttys and /etc/gettytab, then kill(1)'ed -HUP 1.
--------- /etc/ttys ---------
ttyd1   "/usr/local/sbin/getty std.38400"       unknown on insecure
--------- /etc/gettytab ---------
std.38400|38400-baud:\
        :np:sp#38400:im=\r\nUNIX(r) System V Release 4.0 (cusinart)\r\n\r\n:
-------------------------------

candy@fct.kgc.co.jp (Toshihiro Kanda)




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