mgetty with external Motorola Modem
"PG" (notAvalidAddress@home.com)
Mon, 31 Jan 2000 13:01:20 GMT
"Gert Doering" <gert@greenie.muc.de> wrote in message
news:20000130221351.D18914@greenie.muc.de...
> Should work without major problems.
>
>
> Logfile? ATS0 set to "=0"?
>
> gert
> --
----------------------------------
Gert,
Yes, S0=0 - and the modem does answer the call. The modems
don't seem to establish communications beyond the initial pick up of the
phone line.
Here is a log from an attempted session:
01/29 14:39:31 yS1 do_makelock: lock='/var/lock/LCK..ttyS1'
01/29 14:39:31 yS1 lock made
01/29 14:39:32 yS1 tio_get_rs232_lines: status: RTS CTS DSR DTR
01/29 14:39:32 yS1 lowering DTR to reset Modem
01/29 14:39:32 yS1 tss: set speed to 38400 (017)
01/29 14:39:32 yS1 tio_set_flow_control( HARD )
01/29 14:39:32 yS1 waiting for line to clear (VTIME), read:
01/29 14:39:33 yS1 send: \dATQ0V1H0[0d]
01/29 14:39:33 yS1 waiting for ``OK''
01/29 14:39:33 yS1 got: ATQ0V1H0[0d][0d][0a]OK ** found **
01/29 14:39:33 yS1 send: ATS0=0Q0&D3&C1[0d]
01/29 14:39:33 yS1 waiting for ``OK''
01/29 14:39:33 yS1 got: [0d][0a]ATS0=0Q0&D3&C1[0d][0d][0a]OK ** found **
01/29 14:39:33 yS1 waiting for line to clear (VTIME), read: [0d][0a]
01/29 14:39:34 yS1 removing lock file
01/29 14:39:34 yS1 waiting...
01/29 15:04:13 yS1 checking lockfiles, locking the line
01/29 15:04:13 yS1 makelock(ttyS1) called
01/29 15:04:13 yS1 do_makelock: lock='/var/lock/LCK..ttyS1'
01/29 15:04:13 yS1 lock made
01/29 15:04:13 yS1 wfr: waiting for ``RING''
01/29 15:04:13 yS1 got: [0d][0a]RING[0d]
01/29 15:04:13 yS1 wfr: rc=0, drn=0
01/29 15:04:13 yS1 send: ATA[0d]
01/29 15:04:13 yS1 waiting for ``CONNECT''
01/29 15:04:13 yS1 got: ATA[0d][0d][0a]CONNECT ** found **
01/29 15:04:42 yS1 send:
01/29 15:04:42 yS1 waiting for ``_''
01/29 15:04:42 yS1 got: 38400[0d][0a] ** found **
Note: This is where it stops working....
01/29 15:04:42 yS1 waiting for line to clear (VTIME), read:
[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]*
[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13]
[94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]
e[13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0
][c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[1
0][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]*[0
d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][9
4]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[
13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][
c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10]
[e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]
'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]
*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13
][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1
]e[13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e
0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[
10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]*[
0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][
94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e
[13][94]*[0d]'[10][e0][c1]e[13][94]*[0d]'[10][e0][c1]e
Note: at this point the other modem hangs up.....and I never see the login
prompt or welcome banner....
01/29 15:05:16 yS1 clean_line: only 500 of 899 bytes logged
01/29 15:05:16 yS1 utmp + wtmp entry made
01/29 15:05:17 yS1 tio_set_flow_control( HARD )
01/29 15:05:17 yS1 print welcome banner (/etc/issue)
01/29 15:05:17 yS1 getlogname (AUTO_PPP), read:[0d]
01/29 15:05:17 yS1 input finished with '\r', setting ICRNL ONLCR
01/29 15:05:17 yS1 tio_set_flow_control( HARD )
01/29 15:05:17 yS1 print welcome banner (/etc/issue)
01/29 15:05:17 yS1 getlogname (AUTO_PPP), read:[0a]
01/29 15:05:17 yS1 tio_set_flow_control( HARD )
01/29 15:05:17 yS1 print welcome banner (/etc/issue)
01/29 15:05:17 yS1 getlogname (AUTO_PPP), read:NO CARRIER[0d]
01/29 15:05:17 ##### failed dev=ttyS1, pid=5566, got modem error 'NO
CARRIER'
I think the problem is the 2 modems never sucessfully talk to each other.
Intit string ?
I swapped out the Motorola Modem for an an older USR 14.4 internal ISA
model, and was able to sucessfully start mgetty, and to start a PPP session.
However I would like to try and get the Motorola working as it is a faster
modem.
Thanks.
Paul
----------------
ptgaffney@hotmail.com