From: loshry@acc.wuacc.edu (Ryan K. Losh) Subject: Help with getty_ps and RINGBACK Date: 16 May 1993 02:30:35 -0400
Hello all,
I am trying to get my modem working so that it will answer the
phone using the RINGBACK feature of getty_ps version 2.0.7. I am running
Linux version 0.99.pl9, kernel with a Scout Plus modem hooked to ttyS1/cua1.
======================================================================
Pertinent lines of /etc/inittab follows:
======================================================================
s8:6:respawn:/etc/getty ttyS1 38400 xterm
======================================================================
/etc/default/getty.ttyS1 follows:
======================================================================
RINGBACK=YES
INITLINE=cua1
TIMEOUT=60
INIT="" \d+++\dAT\r OK\r\n ATH0\r OK\r\n ATZ\r OK\r\n
WAITFOR=RING
CONNECT="" ATA\r CONNECT
DELAY=1
======================================================================
/etc/gettydefs follows:
======================================================================
# Virtual Console entry
VC# B9600 SANE CLOCAL # B9600 SANE -ISTRIP CLOCAL #@S login: #VC
# 38400 fixed baud Dumb Terminal entry
DT38400# B38400 CS8 CLOCAL # B38400 SANE -ISTRIP CLOCAL #@S login: #DT38400
# 19200 fixed baud Dumb Terminal entry
DT19200# B19200 CS8 CLOCAL # B19200 SANE -ISTRIP CLOCAL #@S login: #DT19200
# 9600 baud Dumb Terminal entry
DT9600# B9600 CS8 CLOCAL # B9600 SANE -ISTRIP CLOCAL #@S login: #DT9600
# 9600 baud Modem entry
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: #9600
===================================================================
configuration of the modem follows
===================================================================
E1 Command characters are echoed
M0 Speaker always off
Q2 Send responses to DTE only when originating calls
V1 Send responses as words
X4 Extended responses/dial tone and busy signal detection
&B0 Forcd DSR signal ON
&C1 DCD follown normal RS-232
&D2 Disconnect after DTR loss
&R2 Force CTS ON
*E0 No error control (Yet :-)
*F2 XON/XOFF
*S1 Turn on speed conversion
S0=0 Don't answer the phone
Any help would be appreciated.
Ryan