Modem not answering
System Administrator (admin@castle.cdsnet.com)
Wed, 7 Jul 1999 16:43:50 -0500
We recently bought 9 new 56k modems. 8 of the 9 are working fine. However
the last one is being a pest. The port specific variables for each modem
are exactly the same.
port ttyC8
debug 4
data-only y
init-chat "" \d\d\d+++\d\d\dAT&FM0W2S37
speed 115200
The logs for the working modems shows:
07/07 16:18:14 yC4 locking the line
07/07 16:18:14 yC4 lowering DTR to reset Modem
07/07 16:18:15 yC4 send: \d\d\d+++\d\d\dAT&FM0W2[0d]
07/07 16:18:18 yC4 waiting...
07/07 16:18:33 yC4 waiting for ``RING'' ** found **
07/07 16:18:33 yC4 send: ATA[0d]
07/07 16:18:33 yC4 waiting for ``CONNECT'' ** found **
07/07 16:18:46 yC4 send:
07/07 16:18:46 yC4 waiting for ``_'' ** found **
07/07 16:18:50 ##### data dev=ttyC4, pid=2708, caller='none',
conn='26400', name='', cmd='/bin/login', user='hebenn'
The logs for the troubled modem shows this instead:
07/07 16:18:14 yC8 check for lockfiles
07/07 16:18:14 yC8 checklock: stat failed, no file
07/07 16:18:14 yC8 locking the line
07/07 16:18:14 yC8 makelock(ttyC8) called
07/07 16:18:14 yC8 do_makelock: lock='/var/lock/LCK..ttyC8'
07/07 16:18:14 yC8 lock made
07/07 16:18:14 yC8 tio_get_rs232_lines: status: RTS CTS DSR DTR RI
07/07 16:18:14 yC8 lowering DTR to reset Modem
07/07 16:18:15 yC8 tss: set speed to 115200 (10002)
07/07 16:18:15 yC8 tio_set_flow_control( HARD )
07/07 16:18:15 yC8 waiting for line to clear (VTIME), read:
07/07 16:18:15 yC8 send: \d\d\d+++\d\d\dAT&FM0[0d]
07/07 16:18:18 yC8 waiting for line to clear (VTIME), read:
AT&FM0[0d][0d][0a]OK[0d][0a]
07/07 16:18:18 yC8 removing lock file
another piece shows something slightly different but the first log is the
dominant output
07/07 16:20:28 yC8 removing lock file
07/07 16:20:28 yC8 waiting...
07/07 16:21:56 yC8 select returned 1
07/07 16:21:56 yC8 checking lockfiles, locking the line
07/07 16:21:56 yC8 makelock(ttyC8) called
07/07 16:21:56 yC8 do_makelock: lock='/var/lock/LCK..ttyC8'
07/07 16:21:56 yC8 lock made
07/07 16:21:56 yC8 waiting for ``RING''
07/07 16:21:56 yC8 got: [0d][0a]RING ** found **
07/07 16:21:56 yC8 CND: check no: 'none'
07/07 16:21:56 yC8 send: ATA[0d]
07/07 16:21:56 yC8 waiting for ``CONNECT''
07/07 16:21:56 yC8 got: [0d]
07/07 16:21:56 yC8 CND: RING[0a]ATA[0d]
07/07 16:21:56 yC8 CND: ATA[0d][0a]NO CARRIER
07/07 16:22:59 yC8 found action string: ``NO CARRIER''
07/07 16:22:59 ##### failed A_FAIL dev=ttyC8, pid=2845, caller='none',
conn='',
name=''