I am looking for some assistance with linux dial-in lines (like everyone
else it seems). I am using getty_ps (didn't like MGetty, but thats another
story). First the problem I am encountering, and then my config files:
1) I have two dial ins. A Supra288 on ttyS0, and an ATI 19.2ETCi on ttyS2. I
have put into each modem's reset profile: ate1q0v1s0=0&c1&s0&d3&k3.
2) When first initialized, they answer fine. But when someone disconnects (be
it via logout or* up), the modems won't answer until I 'init q'
again. Additionally, I noticed the Supra (an external, so I assume the ATI
is doing it as well but I can't see it) is reseting itself every minute or
so.
Any clues on how to correct these problems? Or is it possible to hgave a script
executed after a user logs off to essentially 'init q'?
Here are my configurations:
INITTAB:
(cut)
d0:456:respawn:/sbin/uugetty -t 90 ttyS0 38400 vt100
#d1:456:respawn:/sbin/uugetty -t 90 ttyS1 19200 vt100
d2:456:respawn:/sbin/uugetty -t 90 ttyS1 19200 vt100
(cut)
GETTYDEFS:
(cut)
38400# B38400 CS8 # B38400 CRTSCTS SANE -ISTRIP HUPCL #Account Name: #38400
19200# B19200 CS8 # B19200 CRTSCTS SANE -ISTRIP HUPCL #Account Name: #B19200
(cut)
/etc/default/uugetty.ttyS0
ALTLOCK=cua0
ALTLINE=cua0
INITLINE=cua0
CLEAR=YES
HANGUP=YES
LOGIN=/bin/login
ISSUE=/etc/serialissue
VERSION=/proc/version
SYSTEM=Orbital
TIMEOUT=60
INIT="" \d+++\dATH-\r OK \r\n ATZ0\r\n
WAITFOR=RING
CONNECT="" ATA\r CONNECT\s\A
/etc/default/uugetty.ttyS2
ALTLOCK=cua2
ALTLINE=cua2
INITLINE=cua2
CLEAR=YES
HANGUP=YES
LOGIN=/bin/login
ISSUE=/etc/serialissue
VERSION=/proc/version
SYSTEM=Orbital
TIMEOUT=60
#INIT="" \d+++\dATH0\r OK \r\n ATZ\r\n # <- Won't workon the ATI???
INIT="" ATZ\r OK\r\n
WAITFOR=RING
CONNECT="" ATA\r CONNECT\s\A
Help would be appreciated!
--
"http://www.veryComputer.com/;/"http://www.veryComputer.com/"
"A single note, chord, or noise - whether *, passionate, regular,
uniform or beautifully calm, conveys what we are feeling." - B. Hannant