From owner-freebsd-questions Tue Jul 9 18:25:11 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA23294 for questions-outgoing; Tue, 9 Jul 1996 18:25:11 -0700 (PDT) Received: from mail0.iij.ad.jp (root@mail0.iij.ad.jp [192.244.176.61]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id SAA23287 for ; Tue, 9 Jul 1996 18:25:08 -0700 (PDT) Received: from uucp1.iij.ad.jp (uucp1.iij.ad.jp [192.244.176.73]) by mail0.iij.ad.jp (8.6.12+2.4W/3.3W9-MAIL) with ESMTP id KAA04130; Wed, 10 Jul 1996 10:25:00 +0900 Received: (from uucp@localhost) by uucp1.iij.ad.jp (8.6.12+2.4W/3.3W9-UUCP) with UUCP id KAA26507; Wed, 10 Jul 1996 10:25:00 +0900 Received: from xxx.fct.kgc.co.jp by yyy.kgc.co.jp (8.7.5/3.4W:95122611) id JAA21909; Wed, 10 Jul 1996 09:40:37 +0900 (JST) Received: from localhost by xxx.fct.kgc.co.jp (8.6.12/3.3W8:95062916) id JAA03996; Wed, 10 Jul 1996 09:40:36 +0900 Message-Id: <199607100040.JAA03996@xxx.fct.kgc.co.jp> To: nate@mt.sri.com Cc: questions@freebsd.org Subject: Re: getty(8) don't show `login:' prompt In-Reply-To: Your message of "Tue, 9 Jul 1996 10:33:28 -0600 (MDT)" References: <199607091633.KAA18396@rocky.mt.sri.com> X-Mailer: Mew version 1.06 on Emacs 19.28.2, Mule 2.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Wed, 10 Jul 1996 09:40:36 +0900 From: Toshihiro Kanda Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk From: Nate Williams 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)