Mailing List Archive

Support open source code!


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

Re: PPP



In article <01BB63CD.C7B69DA0@example.com>,
tsle@example.com (Tan Siong Lian) wrote:
>I added "debug" into the /etc/ppp/options..
>could'nt find the var/log/ppp/log
>instead i found these on the /log/ppp/messages
>
>Jun 27 01:38:15 tsle pppd[112]: pppd 2.2.0 started by root, uid 0
>Jun 27 01:38:16 tsle chat[114]: abort on (NO CARRIER) 
>Jun 27 01:38:16 tsle chat[114]: abort on (BUSY) 
>Jun 27 01:38:16 tsle chat[114]: send (ATZ^M) 
>Jun 27 01:38:16 tsle chat[114]: expect (OK) 
>Jun 27 01:38:17 tsle chat[114]: ATZ^M^M 
>Jun 27 01:38:17 tsle chat[114]: OK -- got it 
>Jun 27 01:38:17 tsle chat[114]: send (ATDT7739080^M) 
>Jun 27 01:38:17 tsle chat[114]: expect (#ATDT8729100) 

You don't need to "expect" the ATDT string back from your
provider... especially since you seem to be expecting back
a different string than the one you are sending.

>Jun 27 01:38:17 tsle chat[114]: ^M 
>Jun 27 01:38:35 tsle chat[114]: ATDT7739080^M^M 
>Jun 27 01:38:36 tsle chat[114]: CONNECT 28800/V42BIS^M 
>Jun 27 01:38:43 tsle chat[114]: ^M 
>Jun 27 01:38:43 tsle chat[114]:  
>Jun 27 01:38:43 tsle last message repeated 23 times
>Jun 27 01:38:43 tsle chat[114]: Pacific Internet Pte Ltd^M 
>Jun 27 01:38:43 tsle chat[114]: ^M 
>Jun 27 01:38:43 tsle chat[114]: ^M 
>Jun 27 01:39:02 tsle chat[114]: Login: 
>Jun 27 01:39:02 tsle chat[114]: alarm
>Jun 27 01:39:02 tsle chat[114]: Failed
>Jun 27 01:39:02 tsle pppd[112]: Exit.

I would suggest
send            expect
ATDT7739080     CONNECT
""              ogin:        (send null string, the two "expects"
                              help in debugging and reset the timeout)
username        word:        (don't know about this, just guessing
password                      what your service prompts for next)

-- 
Jim Tittsler, Tokyo  7j1ajh@example.com  <URL:http://shrine.cyber.ad.jp/~jwt/>


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links