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

Re: PPP Connection Problems



This is what my log looks like:

Jul 20 20:32:22 moira pppd[1881]: pppd 2.3.8 started by eric, uid 1000
Jul 20 20:32:23 moira chat[1882]: abort on (BUSY)
Jul 20 20:32:23 moira chat[1882]: abort on (NO CARRIER)
Jul 20 20:32:23 moira chat[1882]: abort on (VOICE)
Jul 20 20:32:23 moira chat[1882]: abort on (NO DIALTONE)
Jul 20 20:32:23 moira chat[1882]: abort on (NO ANSWER)
Jul 20 20:32:23 moira chat[1882]: send (ATZ^M)
Jul 20 20:32:23 moira chat[1882]: expect (OK)
Jul 20 20:32:23 moira chat[1882]: ATZ^M^M
Jul 20 20:32:23 moira chat[1882]: OK
Jul 20 20:32:23 moira chat[1882]:  -- got it 
Jul 20 20:32:23 moira chat[1882]: send (ATDT2310899^M)
Jul 20 20:32:23 moira chat[1882]: expect (CONNECT)
Jul 20 20:32:23 moira chat[1882]: ^M
Jul 20 20:32:50 moira chat[1882]: ATDT2310899^M^M
Jul 20 20:32:50 moira chat[1882]: CONNECT
Jul 20 20:32:50 moira chat[1882]:  -- got it 
Jul 20 20:32:50 moira chat[1882]: send (\d)
Jul 20 20:32:51 moira pppd[1881]: Serial connection established.
Jul 20 20:32:51 moira pppd[1881]: Using interface ppp0
Jul 20 20:32:51 moira pppd[1881]: Connect: ppp0 <--> /dev/ttyS1
Jul 20 20:32:52 moira pppd[1881]: Remote message: ^@
Jul 20 20:32:53 moira kernel: PPP BSD Compression module registered 

My /etc/chatscripts/provider looks thusly:

ABORT BUSY
ABORT "NO CARRIER"
ABORT VOICE
ABORT "NO DIALTONE" 
ABORT "NO ANSWER"
"" ATZ
OK ATDT2310899
CONNECT \d\c

Actually, it looks like your first initialization string didn't send
anything to your modem:

>   |  Jul 20 00:51:29 cheshire chat[304]: send (ATZ^M)
>   |  Jul 20 00:51:29 cheshire chat[304]: expect (OK)
>   |  Jul 20 00:51:38 cheshire chat[304]: 
>   |  Jul 20 00:51:48 cheshire chat[304]: OK
>   |  Jul 20 00:51:48 cheshire chat[304]:  -- got it 

But then it sets up for dialing:

>   |  Jul 20 00:51:48 cheshire chat[304]: send (ATDT7770591^M)
>   |  Jul 20 00:51:48 cheshire chat[304]: expect (CONNECT)
>   |  Jul 20 00:51:48 cheshire chat[304]: ^M
>   |  Jul 20 00:51:58 cheshire chat[304]: ATZ^M^M
>   |  Jul 20 00:51:58 cheshire chat[304]: OK^M

But the dial string isn't echoed, and it's followed by the
initialization string followed with "OK^M" which is sent instead of
returned.

It's all pretty cryptic stuff, but what does your chatscript look like?

-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!


Reply to: