[4593] in RedHat Linux List
Re: Terminal account - getty
daemon@ATHENA.MIT.EDU (Walter Harris)
Fri Nov 15 16:07:38 1996
To: redhat-list@redhat.com
Date: Fri, 15 Nov 1996 16:04:25 -0500 (EST)
In-Reply-To: <199611151603.LAA09531@redhat.com> from "redhat-digest-request@redhat.com" at Nov 15, 96 11:03:56 am
From: harrisw@harrel.com (Walter Harris)
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Alexandru Iruc <airuc@umfiasi.ro> writes:
> How can I set up my modem to automatic answer for accesing shell accounts
> on a RedHat 4.0 machine. Maybe a script or something for geting getty to
> work.
James Cook <jrc8337@hi.registrar.ksu.edu> writes:
> Get the mgetty rpm and install it. It's designed for modem use.
mgetty is not required. getty/uugetty, distributed with Red Hat, will
do this also. "man getty" for more info.
Example: My modem is on /dev/ttyR0. To have the modem answer after
four rings, I have /etc/conf.uugetty.ttyR0 with these lines:
INIT="" ATZ\R OK AT&C1e0S0=4\r OK ""
ALTLOCK=modem
(/etc/conf.uugetty.ttynn are the configuration files for uugetty,
though the man page says they are in /etc/default... that is not
correct on Red Hat 3.0.3.)
Also, to start uugetty when the system is booted, put something like
this into /etc/inittab:
R0:2345:respawn:/sbin/uugetty ttyR0 F38400 vt100
Make sure /etc/gettydefs has a line like this to define the baud rate
"F38400" above:
F38400# B38400 CS8 CRTSCTS # B38400 SANE -ISTRIP HUPCL CRTSCTS \
#@S login: #F38400
I just dialed into my Linux system to verify these settings -- which
also demonstrates that it works.
Happy Linuxing!
-- Walter
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null