> Well, I figured out why the pap was messing up, it was getting confused
> with what user to use, so I have to explicitly put it in the pppd
> command line... no big deal, but now it can't negotiate protocals! here
> are the snippets of the log files....
>
> messages:
> Aug 17 23:42:51 chaoscentral pppd[169]: Serial connection established.
> Aug 17 23:42:52 chaoscentral pppd[169]: Using interface ppp0
> Aug 17 23:42:52 chaoscentral pppd[169]: Connect: ppp0 <--> /dev/ttyS3
> Aug 17 23:42:58 chaoscentral pppd[169]: Remote message:
> Aug 17 23:43:00 chaoscentral pppd[169]: Connection terminated.
> Aug 17 23:43:00 chaoscentral pppd[169]: Hangup (SIGHUP)
> Aug 17 23:43:00 chaoscentral pppd[169]: Exit.
>
> and syslog:
> Aug 17 23:43:00 chaoscentral pppd[169]: Unsupported protocol (0x8029)
> received
> Aug 17 23:43:00 chaoscentral pppd[169]: Unsupported protocol (0x802b)
> received
> Aug 17 23:43:00 chaoscentral pppd[169]: ioctl(SIOCADDRT) device route:
> Network is down(100)
>
>
most of the information is in the log below:
> and debug for the cryptic stuff.....
> Aug 17 23:42:52 chaoscentral pppd[169]: sent [LCP ConfReq id=0x1 <magic
> 0x58c231f0> <pcomp> <accomp>]
> Aug 17 23:42:52 chaoscentral pppd[169]: rcvd [LCP ConfAck id=0x1 <magic
> 0x58c231f0> <pcomp> <accomp>]
> Aug 17 23:42:53 chaoscentral pppd[169]: rcvd [proto=0x3d] c0 00 00 00
> Aug 17 23:42:54 chaoscentral pppd[169]: rcvd [LCP ConfReq id=0x1
> <asyncmap 0x0> <auth pap> <magic 0x7e7ec93f> <pcomp> <accomp> < 11 04 05
> dc> < 12 02> < 13 09 03 00 80 2d 05 7c ea>]
> Aug 17 23:42:54 chaoscentral pppd[169]: sent [LCP ConfRej id=0x1 < 11 04
> 05 dc> < 12 02> < 13 09 03 00 80 2d 05 7c ea>]
>
in the above line your machine is sending a rejection to the lcp
config request id=0x1.... and recieves a second lcp config request id=0x2...
which it acknowlages. so far so good.
> Aug 17 23:42:54 chaoscentral pppd[169]: rcvd [LCP ConfReq id=0x2
> <asyncmap 0x0> <auth pap> <magic 0x7e7ec93f> <pcomp> <accomp>]
> Aug 17 23:42:54 chaoscentral pppd[169]: sent [LCP ConfAck id=0x2
> <asyncmap 0x0> <auth pap> <magic 0x7e7ec93f> <pcomp> <accomp>]
> Aug 17 23:42:54 chaoscentral pppd[169]: sent [PAP AuthReq id=0x1
> user="sideways" password="pword"]
> Aug 17 23:42:58 chaoscentral pppd[169]: sent [PAP AuthReq id=0x2
> user="sideways" password="pword"]
> Aug 17 23:42:58 chaoscentral pppd[169]: rcvd [PAP AuthAck id=0x2 ""]
>
above your machine sends an authorisation request for pap id=0x1...
and after recieving no answer in 3 seconds, repeats thae request. this time
it is acknowlaged by the peer. this is taking a little long IMHO.
now things start going a little haywire. your machine is now happy
with the negotiation and tries to negotiate an IP address and then finish
off. it sends a request fir IP address 0.0.0.0, but the peer sends a CCP
config request of some kind (no idea what CCP is) your machine sends a ccp
config request with id=0x1 and also rejects the ccp request with id=0x3...
> Aug 17 23:42:58 chaoscentral pppd[169]: sent [IPCP ConfReq id=0x1 <addr
> 0.0.0.0> <compress VJ 0f 01>]
> Aug 17 23:42:58 chaoscentral pppd[169]: rcvd [CCP ConfReq id=0x3 < 12 06
> 00 00 00 01> < 11 05 00 01 03> <bsd v1 12> <predictor 1>]
> Aug 17 23:42:58 chaoscentral pppd[169]: sent [CCP ConfReq id=0x1]
> Aug 17 23:42:58 chaoscentral pppd[169]: sent [CCP ConfRej id=0x3 < 12 06
> 00 00 00 01> < 11 05 00 01 03>]
>
now the peer decides to do the IPCP config after all and requests
the IP address of 207.250.150.101 which your machine acknowlages.
> Aug 17 23:42:58 chaoscentral pppd[169]: rcvd [IPCP ConfReq id=0x4
> <compress VJ 0f 01> <addr 207.250.150.101>]
> Aug 17 23:42:58 chaoscentral pppd[169]: sent [IPCP ConfAck id=0x4
> <compress VJ 0f 01> <addr 207.250.150.101>]
>
below there is another rejection of your machine to the peer for
another config request by the peer.
> Aug 17 23:43:00 chaoscentral pppd[169]: rcvd [proto=0x8029] 01 05 00 24
> 01 06 00 ff a4 37 02 04 00 00 06 0d 00 01 0f 00 00 00 41 6e 6e 65 78 07
> 03 2a 08 06 00 00 00 00
> Aug 17 23:43:00 chaoscentral pppd[169]: sent [LCP ProtRej id=0x2 80 29
> 01 05 00 24 01 06 00 ff a4 37 02 04 00 00 06 0d 00 01 0f 00 00 00 41 6e
> 6e 65 78 07 03 2a 08 06 00 00 00 00]
>
and another...
> Aug 17 23:43:00 chaoscentral pppd[169]: rcvd [IPXCP ConfReq id=0x6
> <network 0> <node 00802d057cea> <router proto 2> <router name
> "LM057CEA">]
> Aug 17 23:43:00 chaoscentral pppd[169]: sent [LCP ProtRej id=0x3 80 2b
> 01 06 00 20 01 06 00 00 00 00 02 08 00 80 2d 05 7c ea 04 04 00 02 05 0a
> 4c 4d 30 35 37 43 45 41]
>
here there seems to be a second IPCP negotiation:
> Aug 17 23:43:00 chaoscentral pppd[169]: rcvd [IPCP ConfNak id=0x1 <addr
> 207.250.150.149>]
> Aug 17 23:43:00 chaoscentral pppd[169]: sent [IPCP ConfReq id=0x2 <addr
> 207.250.150.149> <compress VJ 0f 01>]
>
now more CCP config negotiation which is again unsuccessful:
> Aug 17 23:43:00 chaoscentral pppd[169]: rcvd [CCP ConfAck id=0x1]
> Aug 17 23:43:00 chaoscentral pppd[169]: rcvd [CCP ConfReq id=0x7 <bsd v1
> 12> <predictor 1>]
> Aug 17 23:43:00 chaoscentral pppd[169]: sent [CCP ConfRej id=0x7 <bsd v1
> 12>]
>
now the peer acknowlages the request sent by your machine two
paragraphs back. then your machine decides that the whole negotiation
process was a bit of a ballsup (i don't blame it) and sends a termination
request whaich starts a process of further terminations.
> Aug 17 23:43:00 chaoscentral pppd[169]: rcvd [IPCP ConfAck id=0x2 <addr
> 207.250.150.149> <compress VJ 0f 01>]
> Aug 17 23:43:00 chaoscentral pppd[169]: sent [IPCP TermReq id=0x3
> "Interface configuration failed"]
> Aug 17 23:43:00 chaoscentral pppd[169]: rcvd [CCP ConfReq id=0x8
> <predictor 1>]
> Aug 17 23:43:00 chaoscentral pppd[169]: sent [CCP ConfRej id=0x8
> <predictor 1>]
> Aug 17 23:43:00 chaoscentral pppd[169]: rcvd [IPCP TermAck id=0x3]
> Aug 17 23:43:00 chaoscentral pppd[169]: sent [LCP TermReq id=0x4 "No
> network protocols running"]
> Aug 17 23:43:00 chaoscentral pppd[169]: rcvd [CCP ConfReq id=0x9]
> Aug 17 23:43:00 chaoscentral pppd[169]: rcvd [LCP TermAck id=0x4]
>
>
i think one needs to have a good look at your options file. my
apologies if you have allready sent it.
cheers
andreas
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]