Subject: Re: PPP woes; won't dial.
To: None <port-mac68k@netbsd.org>
From: Matthew <mtheobalds@mac.com>
List: port-mac68k
Date: 10/13/2001 00:13:19
On Saturday, October 13, 2001, at 12:07  am, Bob Nestor wrote:

> On 10/12/01 4:53 PM, Matthew (mtheobalds@mac.com) wrote:
>
>> On Friday, October 12, 2001, at 10:42  pm, Paul Goyette wrote:
>>
>>> Try putting an ATE0 in your chat script - looks like the modem
>>> echoed your dial command when you were expecting the CONNECT
>>> string.
>>
>> Okie dokie.
>>
>> Where specifically would I put this in the file?
>>
>> ATZ OK ATE0 ATDT0-844-040-2001 CONNECT
>>
>> Like that?
>
> Most likely  "ATZ OK ATE0 OK ATDT0-844-040-2001 CONNECT"
>
> The "script" is written as a command-response pair.  You send a command
> and expect to see the response before sending the next command.  I think
> the man page does a better job of explaining it.

Thanks, I guessed that myself, tried it, getting this response:

Oct 12 23:47:19 sonic pppd[23138]: pppd 2.4.0 started by matthew, uid 0
Oct 12 23:47:20 sonic chat[23140]: send (ATZ^M)
Oct 12 23:47:20 sonic chat[23140]: expect (OK)
Oct 12 23:47:21 sonic chat[23140]: ATZ^M^M
Oct 12 23:47:21 sonic chat[23140]: OK
Oct 12 23:47:21 sonic chat[23140]:  -- got it
Oct 12 23:47:21 sonic chat[23140]: send (ATE0^M)
Oct 12 23:47:21 sonic chat[23140]: expect (OK)
Oct 12 23:47:21 sonic chat[23140]: ^M
Oct 12 23:47:21 sonic chat[23140]: ATE0^M^M
Oct 12 23:47:21 sonic chat[23140]: OK
Oct 12 23:47:21 sonic chat[23140]:  -- got it
Oct 12 23:47:21 sonic chat[23140]: send (ATDT08440402001^M)
Oct 12 23:47:21 sonic chat[23140]: expect (CONNECT)
Oct 12 23:47:21 sonic chat[23140]: ^M
Oct 12 23:47:21 sonic chat[23140]: ^M
Oct 12 23:47:21 sonic chat[23140]: ERROR^M
Oct 12 23:48:06 sonic chat[23140]: alarm
Oct 12 23:48:06 sonic chat[23140]: Failed
Oct 12 23:48:06 sonic pppd[23138]: Connect script failed
Oct 12 23:48:08 sonic pppd[23138]: Exit.

So it seems that the modem is very broken. Should I return it and 
request a replacement?

Take care,

~ Matthew