Subject: Re: chat/PAP/ppp probs
To: None <port-mac68k@NetBSD.ORG>
From: Tristan Doherty <ristar@abacom.com>
List: port-mac68k
Date: 04/03/1997 21:46:42
At 3:16 PM -0800 4/3/97, Bill Studenmund wrote:
>
>I think you're using +ua right, but man pppd says that +ua is obsolecent.
>I think the new way is to use the "user" option to say what user name
>to use, and to use a /etc/ppp/pap-secrets file.
OK, so I don't want to use +ua, what's the syntax for the "user"
option in the PAP-secrets file. Is it something like:
* * <password>
user <username>
Last night, after tinkering a bit with my scripts, I succeded in
getting the chat script to work properly and the following log looks like
it's trying to establish and configure a link, but something goes amuck.
pppd-error.log
Apr 3 21:10:33 homer pppd[106]: pppd 2.3.0 started by root, uid 0
Apr 3 21:10:50 homer pppd[106]: Serial connection established.
Apr 3 21:10:51 homer pppd[106]: Using interface ppp0
Apr 3 21:10:51 homer pppd[106]: Connect: ppp0 <--> /dev/tty00
Apr 3 21:10:51 homer pppd[106]: sent [LCP ConfReq id=0x1 <auth pap> <magic
0xfcfadef4> <pcomp> <accomp>]
Apr 3 21:10:51 homer pppd[106]: rcvd [LCP ConfReq id=0x1 <auth pap> <magic
0xfcfadef4> <pcomp> <accomp>]
Apr 3 21:10:51 homer pppd[106]: sent [LCP ConfNak id=0x1 <magic 0x179ef9b9>]
Apr 3 21:10:51 homer pppd[106]: rcvd [LCP ConfNak id=0x1 <magic 0x179ef9b9>]
Apr 3 21:10:51 homer pppd[106]: sent [LCP ConfReq id=0x2 <auth pap> <magic
0xcf8ea5ed> <pcomp> <accomp>]
Apr 3 21:10:52 homer pppd[106]: rcvd [LCP ConfReq id=0x2 <auth pap> <magic
0xcf8ea5ed> <pcomp> <accomp>]
Apr 3 21:10:52 homer pppd[106]: sent [LCP ConfNak id=0x2 <magic 0xfcabec1a>]
Apr 3 21:10:52 homer pppd[106]: rcvd [LCP ConfNak id=0x2 <magic 0xfcabec1a>]
Apr 3 21:10:52 homer pppd[106]: sent [LCP ConfReq id=0x3 <auth pap> <magic
0x842e4f39> <pcomp> <accomp>]
Apr 3 21:10:52 homer pppd[106]: rcvd [LCP ConfReq id=0x3 <auth pap> <magic
0x842e4f39> <pcomp> <accomp>]
Apr 3 21:10:52 homer pppd[106]: sent [LCP ConfNak id=0x3 <magic 0x95b4b59d>]
Apr 3 21:10:53 homer pppd[106]: rcvd [LCP ConfNak id=0x3 <magic 0x95b4b59d>]
Apr 3 21:10:53 homer pppd[106]: sent [LCP ConfReq id=0x4 <auth pap> <magic
0x2cbefe2b> <pcomp> <accomp>]
Apr 3 21:10:53 homer pppd[106]: rcvd [LCP ConfReq id=0x4 <auth pap> <magic
0x2cbefe2b> <pcomp> <accomp>]
Apr 3 21:10:53 homer pppd[106]: sent [LCP ConfNak id=0x4 <magic 0xb1ee6bd5>]
Apr 3 21:10:53 homer pppd[106]: rcvd [LCP ConfNak id=0x4 <magic 0xb1ee6bd5>]
Apr 3 21:10:53 homer pppd[106]: sent [LCP ConfReq id=0x5 <auth pap> <magic
0x1e72148d> <pcomp> <accomp>]
Apr 3 21:10:54 homer pppd[106]: rcvd [LCP ConfReq id=0x5 <auth pap> <magic
0x1e72148d> <pcomp> <accomp>]
Apr 3 21:10:54 homer pppd[106]: sent [LCP ConfNak id=0x5 <magic 0x53a582a0>]
Apr 3 21:10:54 homer pppd[106]: rcvd [LCP ConfNak id=0x5 <magic 0x53a582a0>]
Apr 3 21:10:54 homer pppd[106]: Serial line is looped back.
Apr 3 21:10:54 homer pppd[106]: sent [LCP TermReq id=0x6 4c 6f 6f 70 62 61
63 6b 20 64 65 74 65 63 74 65 64]
Apr 3 21:10:54 homer pppd[106]: rcvd [LCP TermReq id=0x6 4c 6f 6f 70 62 61
63 6b 20 64 65 74 65 63 74 65 64]
Apr 3 21:10:54 homer pppd[106]: sent [LCP TermAck id=0x6]
Apr 3 21:10:54 homer pppd[106]: rcvd [LCP TermAck id=0x6]
Apr 3 21:10:54 homer pppd[106]: Connection terminated.
Apr 3 21:10:57 homer pppd[106]: Terminating on signal 15.
Apr 3 21:10:58 homer pppd[106]: Serial link disconnected.
Apr 3 21:11:00 homer pppd[106]: Exit.
What do you make of it? It seems as though my box is sending my ISP
a whole bunch of config requests, but they're being echoed back. Could this
be due to the fact that I'm using +ua, and not "user" in pap-secrets? There
aren't any errors in the chat-log.
-Tristan
P.S. Does anyone other than me think that a section on PAP would be a good
addition to the FAQ?
------------------------------------------------------
Tristan Doherty ristar@abacom.com