*BSD News Article 37712


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!pipex!uunet!world!tyrone
From: tyrone@world.std.com (Tyrone R Powers)
Subject: Setting up /etc/ttys and getty for serial-line dialup
Message-ID: <Cz1rDr.860@world.std.com>
Summary: Setting up /etc/ttys and getty for serial-line dialup
Keywords: dialup getty ttys gettytab
Organization: The World Public Access UNIX, Brookline, MA
Distribution: all
Date: Thu, 10 Nov 1994 10:20:14 GMT
Lines: 27

I am trying to setup my system to answer incoming 
modem calls from another machine. I have edited
the /etc/ttys file and setup com1 as follows:
com1   "/usr/libexec/getty Dial-19200"  unknown on secure
I have made a Dial-19200 entry in /etc/gettytab
which reads:
~d19200|Dial-19200:\
          :nx=d19200:fd#1:sp#19200:
(the tilde was a typo, sorry) 
The problem is that bsd does not realize that
there is not yet a connection; it trys to run
a login on com1 before there is a user connected
(at least I think this is what happening) and 
continues to go in a constant loop of some
sort (my recieve and send lights stay constantly
on). I am thinking the problem may be in the
ttys file, in the field that now reads 'unknown'
. What should the 'type' field in the /etc/ttys
field be set to to allow dial-in connections?
Or is this even the problem? 
If someone could give me the proper strings for
the ttys and gettytab files for dial-in connections,
I'd appreciate it! I'm sure other people have had
problems with the same thing, so if someone could
tell me what they did to correct it, it would 
help alot.   Thanks!