modem hangs up immediately after mgetty answers remote modem
"Phil Laird" (wpl@qad.com)
Fri, 16 Apr 1999 14:03:29 +1100
Hi all;
I have a newbie type mgetty question re Win95 dialup connection to Linux
Redhat 5.2 and mgetty. When the xircom in the Win95 laptop finishs modem
negotiation with the US Robotics Sportster 28.8 the USR modem immediately
hangs up. Please see snipet of /var/log/mgetty.log.ttyS1
I get the same result when I use a internal Creative Labs Voice modem in
the Linux box. The Linux modem hangs up on issueing a ATA.
Any ideas? I've tried a few different settings in the mgetty.config right
down to the ATZ described for the Sportster in the mgetty FAQ.
Thank you in advance.
Rgds
Phillip Laird
wpl@qad.com
<-----snip---->
04/15 22:18:56 yS1 mgetty: experimental test release 1.1.14-Apr02
04/15 22:18:56 yS1 check for lockfiles
04/15 22:18:56 yS1 checklock: stat failed, no file
04/15 22:18:56 yS1 locking the line
04/15 22:18:56 yS1 makelock(ttyS1) called
04/15 22:18:56 yS1 do_makelock: lock='/var/lock/LCK..ttyS1'
04/15 22:18:56 yS1 lock made
04/15 22:18:56 yS1 tio_get_rs232_lines: status: RTS CTS DSR DTR
04/15 22:18:56 yS1 lowering DTR to reset Modem
04/15 22:18:57 yS1 tss: set speed to 38400 (017)
04/15 22:18:57 yS1 tio_set_flow_control( HARD )
04/15 22:18:57 yS1 waiting for line to clear (VTIME), read: [0d][0a]NO
CARRIER[0d][0a]
04/15 22:18:57 yS1 send: \d\d\d+++\d\d\dATZ[0d]
04/15 22:19:00 yS1 waiting for ``OK''
04/15 22:19:00 yS1 got: +++ATZ[0d]
04/15 22:19:00 yS1 CND: +++ATZ[0d][0a]OK ** found **
04/15 22:19:00 yS1 send: AT&H3&I2&R2S7=9[0d]
04/15 22:19:00 yS1 waiting for ``OK''
04/15 22:19:00 yS1 got: [0d]
04/15 22:19:00 yS1 CND: OK[0a]AT&H3&I2&R2S7=9[0d]
04/15 22:19:00 yS1 CND: AT&H3&I2&R2S7=9[0d][0a]OK ** found **
04/15 22:19:00 yS1 send: AT[0d]
04/15 22:19:00 yS1 do_stat: expect 'OK' ** found **
04/15 22:19:01 yS1 send: ATI2[0d]
04/15 22:19:01 yS1 do_stat: expect 'OK' ** found **
04/15 22:19:01 yS1 waiting for line to clear (VTIME), read:
[0a][0d][0a]OK[0d][0a]
04/15 22:19:01 yS1 removing lock file
04/15 22:19:01 yS1 waiting...
04/15 22:21:13 yS1 select returned 1
04/15 22:21:13 yS1 checking lockfiles, locking the line
04/15 22:21:13 yS1 makelock(ttyS1) called
04/15 22:21:13 yS1 do_makelock: lock='/var/lock/LCK..ttyS1'
04/15 22:21:13 yS1 lock made
04/15 22:21:13 yS1 waiting for ``RING''
04/15 22:21:13 yS1 got: [0d]
04/15 22:21:13 yS1 CND: OK[0a]RING ** found **
04/15 22:21:13 yS1 CND: check no: 'none'
04/15 22:21:13 yS1 send: ATA[0d]
04/15 22:21:13 yS1 waiting for ``CONNECT''
04/15 22:21:13 yS1 got: [0d]
04/15 22:21:13 yS1 CND: RING[0a]ATA[0d]
04/15 22:21:13 yS1 CND: ATA[0d][0a]NO CARRIER
04/15 22:21:25 yS1 found action string: ``NO CARRIER''
04/15 22:21:25 ##### failed A_FAIL dev=ttyS1, pid=3297, caller='none',
conn='', name=''
<-----end snip---->