See the comments below.
On Wed, 13 Oct 1999, Danila Vologdin wrote:
|I've generated ppp script by pppsetup 1.98. My ISP use CHAP.
|Modems connect but after small amount of time connection breaks.
|I use pppd 2.2.0 under kernel 2.0.35
|I get from docs how to log all messages of the ppp dialup process and
|put it into ppp_log :
|
|Oct 13 11:11:33 lin_admin login[133]: ROOT LOGIN on `tty2'
|Oct 13 11:11:40 lin_admin pppd[204]: pppd 2.2.0 started by root, uid 0
|Oct 13 11:11:41 lin_admin chat[205]: timeout set to 60 seconds
|Oct 13 11:11:41 lin_admin chat[205]: abort on (ERROR)
|Oct 13 11:11:41 lin_admin chat[205]: abort on (BUSY)
|Oct 13 11:11:41 lin_admin chat[205]: abort on (NO CARRIER)
|Oct 13 11:11:41 lin_admin chat[205]: abort on (NO DIALTONE)
|Oct 13 11:11:41 lin_admin chat[205]: send (AT&FH0^M)
|Oct 13 11:11:41 lin_admin chat[205]: expect (OK)
|Oct 13 11:11:41 lin_admin chat[205]: AT&FH0^M^M
|Oct 13 11:11:41 lin_admin chat[205]: OK -- got it
|Oct 13 11:11:41 lin_admin chat[205]: send (atdp9W451313^M)
|Oct 13 11:11:41 lin_admin chat[205]: timeout set to 75 seconds
|Oct 13 11:11:41 lin_admin chat[205]: expect (CONNECT)
|Oct 13 11:11:41 lin_admin chat[205]: ^M
|Oct 13 11:12:10 lin_admin chat[205]: atdp9W451313^M^M
|Oct 13 11:12:10 lin_admin pppd[204]: Serial connection established.
|Oct 13 11:12:10 lin_admin chat[205]: CONNECT -- got it
|Oct 13 11:12:11 lin_admin kernel: ppp_tty_ioctl: set flags to 70000
|Oct 13 11:12:11 lin_admin pppd[204]: Using interface ppp0
|Oct 13 11:12:11 lin_admin pppd[204]: Connect: ppp0 <--> /dev/cua0
The AT&FH0 initialization string isn't in the chat script you show below??
Also in this log chat gives control back to pppd immediately after the
CONNECT but the chat script expects to do password/login?? Moreover, your
options show the pppd "name" option which is used in CHAP authentication
where login/password usually doesn't happen. We need to know what scripts
you actually used and what authentication you expect.
I don't think it's the problem here but the `>' in the chat script should
be escaped with \> or '>' .
Finally, please remove the "kdebug 7" option, this problem doesn't need it
(very few do) and it makes reading the pppd log difficult.
...
|Here is my options :
|lock
|defaultroute
|noipdefault
|kdebug 7
|modem
|/dev/cua0
|38400
|crtscts
|debug
|passive
|asyncmap 0
|name "myname"
|
|and script
|"" ats11=55dp431313 CONNECT "" rname: myname sword: password > ppp
---
Clifford Kite Not a guru. (tm)
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]