[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ISP modem connection



On Tue, 3 Oct 2000 romeu@petrobras.com.br wrote:
> commands. This is my modem log under windows:
<...> 
> 09-11-2000 02:52:45.70 - Initializing modem.
> 09-11-2000 02:52:45.70 - Send: AT<cr>
> 09-11-2000 02:52:45.72 - Recv: AT<cr>
> 09-11-2000 02:52:45.72 - Recv: <cr><lf>OK<cr><lf>
> 09-11-2000 02:52:45.72 - Interpreted response: Ok
> 09-11-2000 02:52:45.72 - Send: AT &F E0 &C1 &D2 V1 S0=0\V1w0<cr>
> 09-11-2000 02:52:45.75 - Recv: AT &F E0 &C1 &D2 V1 S0=0\V1w0<cr>
> 09-11-2000 02:52:45.75 - Recv: <cr><lf>OK<cr><lf>
> 09-11-2000 02:52:45.75 - Interpreted response: Ok
> 09-11-2000 02:52:45.75 - Send: ATS7=60S30=0L0M1\N3%C1&K3B0B15N1X4<cr>
> 09-11-2000 02:52:45.76 - Recv: <cr><lf>OK<cr><lf>
> 09-11-2000 02:52:45.76 - Interpreted response: Ok
> 09-11-2000 02:52:45.76 - Send: Ats109=2<cr>
> 09-11-2000 02:52:45.76 - Recv: <cr><lf>OK<cr><lf>
> 09-11-2000 02:52:45.76 - Interpreted response: Ok
> 09-11-2000 02:52:45.76 - Dialing.
> 09-11-2000 02:52:45.76 - Send: ATDT;<cr>
> 09-11-2000 02:52:49.30 - Recv: <cr><lf>OK<cr><lf>
> 09-11-2000 02:52:49.30 - Interpreted response: Ok
> 09-11-2000 02:52:49.32 - Dialing.
> 09-11-2000 02:52:49.32 - Send: ATDT#######<cr>
> 09-11-2000 02:53:21.68 - Recv: <cr><lf>CONNECT 115200 V42bis<cr><lf>
> 09-11-2000 02:53:21.68 - Interpreted response: Connect
> 09-11-2000 02:53:21.68 - Connection established at 115200bps.
> 09-11-2000 02:53:21.68 - Error-control on.
> 09-11-2000 02:53:21.68 - Data compression on.
> 
> These are the last lines of my /var/log/syslog:
> Oct  3 04:12:35 colorado pppd[664]: pppd 2.3.11 started by root, uid 0
<...>
> Oct  3 04:12:36 colorado chat[665]: send (AT &F0 E0 &C1 &D2 V1 S0=0\V1W0^M)
> Oct  3 04:12:37 colorado chat[665]: expect (OK)
> Oct  3 04:13:05 colorado chat[665]: ^M
> Oct  3 04:13:05 colorado chat[665]: OK
> Oct  3 04:13:05 colorado chat[665]:  -- got it
> Oct  3 04:13:05 colorado chat[665]: send (ATDT6129220^M)
> Oct  3 04:13:05 colorado chat[665]: expect (CONNECT)
> Oct  3 04:13:05 colorado chat[665]: ^M
> Oct  3 04:13:50 colorado pppd[664]: Connect script failed

It looks like either your modem is not sending a connect message (just
a CR), or the chat script is timing out before it is sent.  Maybe fiddle
with the "expect" after dialing (or change the timeout, assuming that
can be done).

> The only information I have, now, is an alarm.
> You may ask of the sequence ATS7=60S30=0L0M1\N3%C1&K3B0B15N1X4. I tried it
> to, but nothing works.

What does "Ats109=2<cr>" do (aside from setting register s109 to 2 :)?

Have you tried sending ATZ first, then all three of the AT command
sequences the win prog sends before dialing?


later,

	Bruce



Reply to: