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
Oct 13 11:12:11 lin_admin kernel: ppp_tty_ioctl: get flags: addr
bffff9b0 flags 0
Oct 13 11:12:11 lin_admin kernel: ppp_tty_ioctl: set flags to 70000
Oct 13 11:12:11 lin_admin kernel: ppp_tty_ioctl: set xasyncmap
Oct 13 11:12:11 lin_admin kernel: ppp_tty_ioctl: set xmit asyncmap
ffffffff
Oct 13 11:12:11 lin_admin kernel: ppp_tty_ioctl: get flags: addr
bffff95c flags 0
Oct 13 11:12:11 lin_admin kernel: ppp_tty_ioctl: set flags to 70000
Oct 13 11:12:11 lin_admin kernel: ppp_tty_ioctl: set mru to 5dc
Oct 13 11:12:11 lin_admin kernel: ppp_tty_ioctl: set rcv asyncmap 0
Oct 13 11:12:11 lin_admin kernel: ppp_tty_ioctl: get flags: addr
bffff98c flags 0
Oct 13 11:12:11 lin_admin kernel: ppp_tty_ioctl: set flags to 70010
Oct 13 11:12:11 lin_admin kernel: ppp: write frame, count = 28
Oct 13 11:12:11 lin_admin kernel: FF 03 C0 21 01 01 00 18 ...!....
Oct 13 11:12:11 lin_admin kernel: 01 04 05 DC 02 06 00 00 ........
Oct 13 11:12:11 lin_admin kernel: 00 00 05 06 7E E9 FD EB ....~...
Oct 13 11:12:11 lin_admin kernel: 07 02 08 02             ....
Oct 13 11:12:11 lin_admin kernel: ppp_dev_xmit_lower: fcs is 4dbd
Oct 13 11:12:11 lin_admin pppd[204]: sent [LCP ConfReq id=0x1 <mru 1500>
<asyncmap 0x0> <magic 0x7ee9fdeb> <pcomp> <accomp>]
Oct 13 11:12:11 lin_admin kernel: ppp_dev_xmit: writing 53 chars
Oct 13 11:12:14 lin_admin pppd[204]: sent [LCP ConfReq id=0x1 <mru 1500>
<asyncmap 0x0> <magic 0x7ee9fdeb> <pcomp> <accomp>]
Oct 13 11:12:14 lin_admin kernel: ppp: write frame, count = 28
Oct 13 11:12:14 lin_admin kernel: FF 03 C0 21 01 01 00 18 ...!....
Oct 13 11:12:14 lin_admin kernel: 01 04 05 DC 02 06 00 00 ........
Oct 13 11:12:14 lin_admin kernel: 00 00 05 06 7E E9 FD EB ....~...
Oct 13 11:12:14 lin_admin kernel: 07 02 08 02             ....
Oct 13 11:12:14 lin_admin kernel: ppp_dev_xmit_lower: fcs is 4dbd
Oct 13 11:12:14 lin_admin kernel: ppp_dev_xmit: writing 53 chars
Oct 13 11:12:14 lin_admin kernel: ppp_tty_read: called buf=0805cf02
nr=1504
Oct 13 11:12:14 lin_admin kernel: ppp_tty_read: no data (EAGAIN)
Oct 13 11:12:17 lin_admin pppd[204]: sent [LCP ConfReq id=0x1 <mru 1500>
<asyncmap 0x0> <magic 0x7ee9fdeb> <pcomp> <accomp>]
Oct 13 11:12:17 lin_admin kernel: ppp: write frame, count = 28
Oct 13 11:12:17 lin_admin kernel: FF 03 C0 21 01 01 00 18 ...!....
Oct 13 11:12:17 lin_admin kernel: 01 04 05 DC 02 06 00 00 ........
Oct 13 11:12:17 lin_admin kernel: 00 00 05 06 7E E9 FD EB ....~...
Oct 13 11:12:17 lin_admin kernel: 07 02 08 02             ....
Oct 13 11:12:17 lin_admin kernel: ppp_dev_xmit_lower: fcs is 4dbd
Oct 13 11:12:17 lin_admin kernel: ppp_dev_xmit: writing 53 chars
Oct 13 11:12:17 lin_admin kernel: ppp_tty_read: called buf=0805cf02
nr=1504
Oct 13 11:12:17 lin_admin kernel: ppp_tty_read: no data (EAGAIN)
Oct 13 11:12:18 lin_admin kernel: ppp: channel ppp0 closing.
Oct 13 11:12:18 lin_admin pppd[204]: Modem hangup
Oct 13 11:12:18 lin_admin pppd[204]: Connection terminated.
Oct 13 11:12:18 lin_admin pppd[204]: Exit.

Unfortunetly I don't understand most of the messages to solve the
problem ...
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

May be anybody drop me a line to clear this problem
Sorry it was already described in the conference

Any help appreciated
Thanks in advance


Danila Vologdin




-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to