From: tevans%sunset.cs.utah.edu@cs.utah.edu (Terry Evans) Subject: [Q] Config for getty_ps w/ 14.4 Modem?? Date: 26 Apr 1993 19:37:25 MDT
I have a 14.4 Boca Modem and I am trying to get the newest version
of getty_ps to work with it. I believe the version I have is 2.0.7.
(It's the most recent one.)
I have the getty configured so that the modem will automatically
answer the line. However, the modem will answer but I won't get
a login prompt from the machine.
Here is my entry in /etc/inittab:
c7:123456:respawn:/etc/uugetty ttyS1 57600 vt100
And my /etc/default/uugetty.ttyS1:
INITLINE=cua1
ALTLOCK=cua1
INIT="" \d+++\dAT\r OK\r\n ATH0\r OK\r\n ATS0=1\r OK\r\n
RINGBACK=YES
TIMEOUT=60
WAITFOR=RING
CONNECT="" ATA\r CONNECT\s\A
DELAY=1
ISSUE=/etc/issue
Now the appropriate line from /etc/gettydefs:
57600# B57600 CS8 # B57600 SANE -ISTRIP HUPCL #@S login: #38400
38400# B38400 CS8 # B38400 SANE -ISTRIP HUPCL #@S login: #28800
28800# B28800 CS8 # B28800 SANE -ISTRIP HUPCL #@S login: #19200
19200# B19200 CS8 # B19200 SANE -ISTRIP HUPCL #@S login: #14400
14400# B14400 CS8 # B14400 SANE -ISTRIP HUPCL #@S login: #9600
9600# B9600 CS8 # B9600 SANE -ISTRIP HUPCL #@S login: #2400
2400# B2400 CS8 # B2400 SANE -ISTRIP HUPCL #@S login: #1200
1200# B1200 CS8 # B1200 SANE -ISTRIP HUPCL #@S login: #300
300# B300 CS8 # B300 SANE -ISTRIP HUPCL #@S login: #57600
I tried calling in to my computer from work and this is what was
printed on the screen when I got home (It is from memory bit I think
the information is correct). The first time I dailed out
at 57600 and the second time I tried it at 2400. Neither of them
gave me a login prompt on my machine at work:
First time:
CARRIER 14400
and the connect line was
CONNECT 57600/ARQ
Second Time:
CARRIER 2400
CONNECT 57600
I'm trying to get the RINGBACK feature to work also so that I can
call, hang up and call back and the modem will answer. However,
the modem will always answer the phone line, even the first time
I dial.
I believe the reason the 57600 did not connect is becase the
connect string says 57600/ARQ and there isn't a line in the
/etc/gettydefs with that at the first on the line. Is that
correct?
If so, how can I fix it?
As for the 2400 it probably failed because the CARRIER was 2400
and the CONNECT was 57600. Is that right?
If you have any comments or suggestions on how I can fix my modem
so the it has the ringback feature and it will properly answer
at all baud rates, please let me know.
Thank You!
Terry
tevans@cs.utah.edu