script question
Sam Barasch (barasch@node052.med.wisc.edu)
Mon, 9 Nov 1998 16:46:06 -0600
I have been trying to get my linux box to work as a dialup server for a few days now and am stuck, perhaps you can help me.
I can dial out using minicom, so I know that hardware, etc. works fine.
My problem is dialing into the modem. The modem will not pcik up when it is dialed.
I am using mgetty and added the following line to my /etc/inittab :
s3:23:respawn:/sbin/mgetty -D ttyS0 -s 115200
When I try to dial up my modem some interesting messages show up in logs. /var/log/messages reads
Nov 6 13:16:58 node052 mgetty[445]: init chat failed, exiting...: Interrupted system call
Nov 6 13:16:58 node052 mgetty[445]: failed in mg_init_data, dev=ttyS0, pid=445
Another interesting series of messages is in /var/log/log_mg.ttyS0
--
11/06 11:41:08 yS0 mgetty: experimental test release 1.1.9-Aug17
11/06 11:41:08 yS0 check for lockfiles
11/06 11:41:08 yS0 locking the line
11/06 11:41:08 yS0 lowering DTR to reset Modem
11/06 11:41:09 yS0 send: \dATQ0V1H0[0d]
11/06 11:41:09 yS0 waiting for ``OK''
11/06 12:38:18 yS0 timeout in chat script, waiting for `OK'
11/06 12:38:18 yS0 init chat timed out, trying force-init-chat
11/06 12:38:18 yS0 send: \d[10][03]\d\d\d+++\d\d\d[0d]\dATQ0V1H0[0d]
11/06 12:38:22 yS0 waiting for ``OK''
11/06 13:16:58 yS0 timeout in chat script, waiting for `OK'
11/06 13:16:58 yS0 init chat failed, exiting...: Interrupted system call
11/06 13:16:58 ##### failed in mg_init_data, dev=ttyS0, pid=445
--
After turning up debugging information, I was led to /etc/mgetty+sendfax/mgetty.config where I added the following line in hope that it would help:
init-chat "" \d\d\d+++\d\d\dAT OK ATSO=1 OK
Unfortunately, my modem will still not pick up the phone.
TIA,
Sam