Clifford Kite says:
> Usually that means that the chat scirpt hasn't done what's needed to get
> the ISP to start PPP on it's end. Add the pppd debug option and the chat
> -v option and post *exact* copies of the logs as well as the chat script.
Thanks for the reply Clifford. Here are some logs but as I mentioned.
the PPP server and the client chat script has always worked fine until
I use the new pppd (2.3.7) on the PPP server.
The clocks on the client and server are not sync'd so ignore the time
stamps. Also, the PPP server is unplugged from the net, so when it
makes a successfull ppp connection, the connection is terminated
becuause the proxy-arp can't be completed or something. This is
just a quick test situtaion.
Thanks again!
--Paul T.
Here is the chat script on the client:
/usr/sbin/pppd -d connect '/usr/sbin/chat -v "" AT OK ATDTxxxxxxx CONNECT
"" ogin: me ord: \
secret $ /etc/ppp/ppplogin'
Here is the chat script logging in successfully when pppd 2.2.0 is
on the PPP server with the debug info from the PPP server:
Jan 3 12:43:25 chime pppd[4871]: pppd 2.3.7 started by root, uid 0
Jan 3 12:43:26 chime chat[4873]: send (AT^M)
Jan 3 12:43:26 chime chat[4873]: expect (OK)
Jan 3 12:43:26 chime chat[4873]: AT^M^M
Jan 3 12:43:26 chime chat[4873]: OK
Jan 3 12:43:26 chime chat[4873]: -- got it
.....
Jan 3 12:43:43 chime chat[4873]: ~^?}#@!}!}!} }2}!}$
Jan 3 12:43:43 chime chat[4873]: -- got it
Jan 3 12:43:43 chime chat[4873]: send (/etc/ppp/ppplogin^M)
Jan 3 12:43:44 chime pppd[4871]: Serial connection established.
Jan 3 12:43:44 chime pppd[4871]: Using interface ppp0
Jan 3 12:43:44 chime pppd[4871]: Connect: ppp0 <--> /dev/ttyS0
Jan 3 12:43:46 chime modprobe: can't locate module ppp-compress-21
Jan 3 12:43:46 chime modprobe: can't locate module ppp-compress-26
Jan 3 12:43:46 chime modprobe: can't locate module ppp-compress-24
Jan 3 12:43:47 chime pppd[4871]: local IP address 207.104.7.117
Jan 3 12:43:47 chime pppd[4871]: remote IP address 207.104.7.120
Jan 3 12:43:47 chime pppd[4871]: IPCP terminated by peer
Jan 3 12:43:50 chime pppd[4871]: Connection terminated.
Jan 3 12:43:50 chime pppd[4871]: Connect time 0.1 minutes.
Jan 3 12:43:50 chime pppd[4871]: Sent 194 bytes, received 157 bytes.
Jan 3 12:43:50 chime pppd[4871]: Hangup (SIGHUP)
Jan 3 12:43:50 chime pppd[4871]: Exit.
Please ignor the 'IPCP terminated by peer' as the PPP server is
not connected to the 'net, it is offline for this setup purpose so
the connection is terminated.
Respective PPP server debug log:
Jan 3 14:14:57 orbital pppd[100]: pppd 2.2.0 started by ppp, uid 533
Jan 3 14:14:57 orbital pppd[100]: Using interface ppp0
Jan 3 14:14:57 orbital pppd[100]: Connect: ppp0 <--> /dev/ttyS1
Jan 3 14:14:57 orbital pppd[100]: sent [LCP ConfReq id=0x1 <mru 1500>
<magic 0x
620cd0d> <pcomp> <accomp>]
Jan 3 14:14:58 orbital pppd[100]: rcvd [LCP ConfReq id=0x1 <asyncmap
0x0> <magi
c 0xbbf2f410> <pcomp> <accomp>]
Jan 3 14:14:58 orbital pppd[100]: sent [LCP ConfAck id=0x1 <asyncmap
0x0> <magi
c 0xbbf2f410> <pcomp> <accomp>]
Jan 3 14:15:00 orbital pppd[100]: sent [LCP ConfReq id=0x1 <mru 1500>
<magic 0x
620cd0d> <pcomp> <accomp>]
Jan 3 14:15:00 orbital pppd[100]: rcvd [LCP ConfAck id=0x1 <mru 1500>
<magic 0x
620cd0d> <pcomp> <accomp>]
Jan 3 14:15:00 orbital pppd[100]: sent [IPCP ConfReq id=0x1 <addr
207.104.7.120
> <compress VJ 0f 01>]
Jan 3 14:15:00 orbital pppd[100]: rcvd [IPCP ConfReq id=0x1 <addr
0.0.0.0> <com
press VJ 0f 01>]
Jan 3 14:15:00 orbital pppd[100]: sent [IPCP ConfNak id=0x1 <addr
207.104.7.117
>]
Jan 3 14:15:00 orbital modprobe: can't locate module ppp-compress-21
Jan 3 14:15:00 orbital pppd[100]: rcvd [IPCP ConfAck id=0x1 <addr
207.104.7.120
> <compress VJ 0f 01>]
Jan 3 14:15:00 orbital pppd[100]: rcvd [IPCP ConfReq id=0x2 <addr
207.104.7.117
> <compress VJ 0f 01>]
Jan 3 14:15:00 orbital pppd[100]: sent [IPCP ConfAck id=0x2 <addr
207.104.7.117
> <compress VJ 0f 01>]
Jan 3 14:15:00 orbital pppd[100]: local IP address 207.104.7.120
Jan 3 14:15:00 orbital pppd[100]: remote IP address 207.104.7.117
Jan 3 14:15:00 orbital pppd[100]: ioctl(SIOCADDRT) device route: Network
is dow
n
Jan 3 14:15:00 orbital pppd[100]: sent [IPCP TermReq id=0x2]
Jan 3 14:15:00 orbital pppd[100]: rcvd [IPCP TermAck id=0x2]
Jan 3 14:15:03 orbital pppd[100]: rcvd [LCP TermReq id=0x2 4e 6f 20 6e
65 74 77
6f 72 6b 20 70 72 6f 74 6f 63 6f 6c 73 20 72 75 6e 6e 69 6e 67]
Jan 3 14:15:03 orbital pppd[100]: LCP terminated at peer's request
Jan 3 14:15:03 orbital pppd[100]: sent [LCP TermAck id=0x2]
Jan 3 14:15:04 orbital pppd[100]: Hangup (SIGHUP)
Jan 3 14:15:04 orbital pppd[100]: Modem hangup
Jan 3 14:15:04 orbital pppd[100]: Connection terminated.
Jan 3 14:15:04 orbital pppd[100]: Exit.
This is what happens when I use the new pppd (2.3.7) in the
PPP server:
Client chat script:
Jan 3 12:57:19 chime pppd[4901]: pppd 2.3.7 started by root, uid 0
Jan 3 12:57:20 chime chat[4902]: send (AT^M)
Jan 3 12:57:20 chime chat[4902]: expect (OK)
Jan 3 12:57:20 chime chat[4902]: AT^M^M
Jan 3 12:57:20 chime chat[4902]: OK
Jan 3 12:57:20 chime chat[4902]: -- got it
....
Jan 3 12:57:39 chime chat[4902]: ~^?}#@!}!}!} }4}"}&} } } }
}%}&}2^Z:m}'}"}(}""
(~~^?}#@!}!}!} }4}"}&} } } } }%}&}2^Z:
Jan 3 12:57:45 chime chat[4902]: m}'}"}(}""(~~^?}#@!}!}!} }4}"}&} } } }
}%}&}2^
Z:m}'}"}(}""(~~^?}#@!}!}!} }4}"}&} }
Jan 3 12:57:51 chime chat[4902]: } } }%}&}2^Z:m}'}"}(}""(~~^?}#@!}!}!}
}4}"}&}
} } } }%}&}2^Z:m}'}"}(}""(~~^?}#@!}!}!
Jan 3 12:57:54 chime chat[4902]: } }4}"}&} } } }
}%}&}2^Z:m}'}"}(}""(~~^?}#@!}!
}!} }4}"}&} } } } }%}&}2^Z:m}'}"}(}""
Jan 3 12:58:00 chime chat[4902]: (~~^?}#@!}!}!} }4}"}&} } } }
}%}&}2^Z:m}'}"}(}
""(~~^?}#@!}!}!} }4}"}&} } } } }%}&}2
Jan 3 12:58:07 chime chat[4902]: ^Z:m}'}"}(}""(~~^?}#@!}!}!} }4}"}&} } }
} }%}&
}2^Z:m}'}"}(}""(~^M
Jan 3 12:58:07 chime chat[4902]: NO CARRIER^M
Jan 3 12:58:21 chime chat[4902]: alarm
Jan 3 12:58:21 chime chat[4902]: Failed
Jan 3 12:58:22 chime pppd[4901]: Exit.
PPP server reponse:
an 3 14:16:11 orbital pppd[117]: pppd 2.3.7 started by ppp, uid 533
Jan 3 14:16:11 orbital pppd[117]: Using interface ppp0
Jan 3 14:16:11 orbital pppd[117]: Connect: ppp0 <--> /dev/ttyS1
Jan 3 14:16:11 orbital pppd[117]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <magi
c 0xffd6c8ae> <pcomp> <accomp>]
Jan 3 14:16:41 orbital pppd[117]: LCP: timeout sending Config-Requests
Jan 3 14:16:41 orbital pppd[117]: Connection terminated.
Jan 3 14:16:41 orbital pppd[117]: Connect time 0.5 minutes.
Jan 3 14:16:41 orbital pppd[117]: Exit.
--
"Louis Pasteur's theory of germs is ridiculous fiction."
Pierre Pachet, Professor of Physiology at Toulouse, 1872.
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]