LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Anyone know about CHAP and EIRCOM?

[ILUG] Anyone know about CHAP and EIRCOM?

info at kennedysoftware.ie info at kennedysoftware.ie
Fri May 12 13:58:35 IST 2006


(Still trying to get a handle on this NG! I sent a "thank you" note to Paul, 
but to his private email address. Sorry, Paul, and Thank You again).

In case it helps, or in case someone else bumps into this thread later, here 
are some "logs":
  - First two I don't understand - some "PAD0" timeout - I think the system 
automatically retried anyway?? Probably not relevant.
  - Next one shows a "bad" CHAP  ;-(
  - Final one shows a "good" CHAP  ;-)

Seems our response to the CHAP challenge was invalid (and, therefore, 
correctly failed by eircom), or it was valid, and - for some strange 
reason - failed by eircom.

In English:
  - in the "good" sequence; we sent an LCP EchoReq, and got an EchoResp. We 
then got the CHAP challenge, and responded. Chap-OK.
  - in the "bad" sequence; we sent an LCP EchoReq. We then got the CHAP 
challenge, and responded. We then got the EchoResp. And a Chap-Failure. 
Maybe we should have waited for the EchoResp, before responding to the 
CHAP??

Strange that all this stuff seems to work well in 25-buck router boxes (many 
running *nix anyway!), and doesn't in a super Linux distro!!

One think clarified in the logs: eircom uses CHAP MD5, which is the 
"original" and most common version, and should be least problematic.

Finally, re Niall's mention of "noauth" - I think this refers to the 
"client" asking eircom to authenticate itself back to the client; which is 
surely a "no-no" ;-)

  - Mike

 16:23:48 pppd[8355]: Plugin rp-pppoe.so loaded.
 16:23:48 pppd[8355]: RP-PPPoE plugin version 3.3 compiled against pppd 
2.4.2
 16:23:49 pppd[8355]: Plugin passwordfd.so loaded.
 16:23:49 pppd[8355]: pppd 2.4.2 started by root, uid 0
 16:23:49 pppd[8355]: Interface eth1 has MTU of 1350 -- should be 1500.  You 
may have serious connection problems.
 16:24:24 pppd[8355]: Timeout waiting for PADO packets
 16:24:24 pppd[8355]: Unable to complete PPPoE Discovery
 16:24:24 pppd[8355]: Exit.

 16:25:10 pppd[14788]: Plugin rp-pppoe.so loaded.
 16:25:10 pppd[14788]: RP-PPPoE plugin version 3.3 compiled against pppd 
2.4.2
 16:25:10 pppd[14788]: Plugin passwordfd.so loaded.
 16:25:10 pppd[14788]: pppd 2.4.2 started by root, uid 0
 16:25:10 pppd[14788]: Interface eth1 has MTU of 1350 -- should be 1500. 
You may have serious connection problems.
 16:25:42 pppd[14788]: Terminating on signal 15.
 16:25:45 pppd[14788]: Timeout waiting for PADO packets
 16:25:45 pppd[14788]: Unable to complete PPPoE Discovery
 16:25:45 pppd[14788]: Exit.

 11:57:23 pppd[7904]: Plugin rp-pppoe.so loaded.
 11:57:23 pppd[7904]: RP-PPPoE plugin version 3.3 compiled against pppd 
2.4.2
 11:57:23 pppd[7904]: Plugin passwordfd.so loaded.
 11:57:23 pppd[7904]: pppd 2.4.2 started by root, uid 0
 11:57:23 pppd[7904]: Interface eth1 has MTU of 1350 -- should be 1500.  You 
may have serious connection problems.
 11:57:23 pppd[7904]: PADS: Service-Name: ''
 11:57:23 pppd[7904]: PPP session is 7694
 11:57:23 pppd[7904]: using channel 1
 11:57:23 pppd[7904]: Using interface ppp0
 11:57:23 pppd[7904]: Connect: ppp0 <--> eth1
 11:57:23 pppd[7904]: Couldn't increase MTU to 1500
 11:57:23 pppd[7904]: Couldn't increase MRU to 1500
 11:57:23 pppd[7904]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 
0x3c002cc3>]
 11:57:23 pppd[7904]: rcvd [LCP ConfReq id=0xd3 <mru 1492> <auth chap MD5> 
<magic 0x70782ff7>]
 11:57:23 pppd[7904]: sent [LCP ConfAck id=0xd3 <mru 1492> <auth chap MD5> 
<magic 0x70782ff7>]
 11:57:23 pppd[7904]: rcvd [LCP ConfAck id=0x1 <mru 1492> <magic 
0x3c002cc3>]
 11:57:23 pppd[7904]: sent [LCP EchoReq id=0x0 magic=0x3c002cc3]
 11:57:23 pppd[7904]: rcvd [CHAP Challenge id=0x5 
<6373a8e5fcacc16c30e27cdf7776126c>, name = "chf1.bras"]
 11:57:23 pppd[7904]: sent [CHAP Response id=0x5 
<f18335a625611c324d75dcdbb6ee106c>, name = "xxxxx"]
 11:57:23 pppd[7904]: rcvd [LCP EchoRep id=0x0 magic=0x70782ff7]
 11:57:24 pppd[7904]: rcvd [CHAP Failure id=0x5 ""]
 11:57:24 pppd[7904]: CHAP authentication failed
 11:57:24 pppd[7904]: Couldn't increase MTU to 1500
 11:57:24 pppd[7904]: Couldn't increase MRU to 1500
 11:57:24 pppd[7904]: sent [LCP TermReq id=0x2 "Failed to authenticate 
ourselves to peer"]
 11:57:24 pppd[7904]: rcvd [LCP TermReq id=0xd4]
 11:57:24 pppd[7904]: sent [LCP TermAck id=0xd4]
 11:57:24 pppd[7904]: rcvd [LCP TermAck id=0x2]
 11:57:24 pppd[7904]: Connection terminated.
 11:57:24 pppd[7904]: Exit.

 11:58:50 pppd[14752]: Plugin rp-pppoe.so loaded.
 11:58:50 pppd[14752]: RP-PPPoE plugin version 3.3 compiled against pppd 
2.4.2
 11:58:50 pppd[14752]: Plugin passwordfd.so loaded.
 11:58:50 pppd[14752]: pppd 2.4.2 started by root, uid 0
 11:58:50 pppd[14752]: Interface eth1 has MTU of 1350 -- should be 1500. 
You may have serious connection problems.
 11:58:50 pppd[14752]: PADS: Service-Name: ''
 11:58:50 pppd[14752]: PPP session is 4702
 11:58:50 pppd[14752]: using channel 2
 11:58:50 pppd[14752]: Using interface ppp0
 11:58:50 pppd[14752]: Connect: ppp0 <--> eth1
 11:58:50 pppd[14752]: Couldn't increase MTU to 1500
 11:58:50 pppd[14752]: Couldn't increase MRU to 1500
 11:58:50 pppd[14752]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 
0x47d7e11b>]
 11:58:50 pppd[14752]: rcvd [LCP ConfReq id=0xe0 <mru 1492> <auth chap MD5> 
<magic 0x64d7ead6>]
 11:58:50 pppd[14752]: sent [LCP ConfAck id=0xe0 <mru 1492> <auth chap MD5> 
<magic 0x64d7ead6>]
 11:58:50 pppd[14752]: rcvd [LCP ConfAck id=0x1 <mru 1492> <magic 
0x47d7e11b>]
 11:58:50 pppd[14752]: sent [LCP EchoReq id=0x0 magic=0x47d7e11b]
 11:58:50 pppd[14752]: rcvd [LCP EchoRep id=0x0 magic=0x64d7ead6]
 11:58:50 pppd[14752]: rcvd [CHAP Challenge id=0xcf 
<7cf0d4abd8c087bcade89412cd9b5d8f>, name = "chf1.bras"]
 11:58:50 pppd[14752]: sent [CHAP Response id=0xcf 
<ddf21130ec6f5a645d203e9eec931473>, name = "xxxxx"]
 11:58:50 pppd[14752]: rcvd [CHAP Success id=0xcf ""]
 11:58:50 pppd[14752]: CHAP authentication succeeded
 11:58:50 pppd[14752]: peer from calling number 00:90:1A:41:53:E3 authorized
 11:58:50 pppd[14752]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
 11:58:50 pppd[14752]: rcvd [IPCP ConfNak id=0x1 <addr 83.70.178.19>]
 11:58:50 pppd[14752]: sent [IPCP ConfReq id=0x2 <addr 83.70.178.19>]
 11:58:50 pppd[14752]: rcvd [IPCP ConfAck id=0x2 <addr 83.70.178.19>]
 11:58:50 pppd[14752]: rcvd [IPCP ConfReq id=0x7d <addr 159.134.155.21>]
 11:58:50 pppd[14752]: sent [IPCP ConfAck id=0x7d <addr 159.134.155.21>]
 11:58:51 pppd[14752]: local  IP address 83.70.178.19
 11:58:51 pppd[14752]: remote IP address 159.134.155.21
 11:58:51 pppd[14752]: Script /etc/ppp/ip-up started (pid 14768)
 11:58:52 pppd[14752]: Script /etc/ppp/ip-up finished (pid 14768), status = 
0x0

[End] 




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell