LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-03-2009, 02:24 AM   #1
maus
LQ Newbie
 
Registered: Jun 2009
Posts: 14

Rep: Reputation: 0
pppd: CHAP authentication failure - sometimes


Hi,

I got a group of embedded devices (running Linux) repeatedly connecting to an ISP over a ordinary analog PPP connection.

Sometimes (every third connection time) the pppd authentication breaks up with a chap error. Here are the according log lines:

Code:
Nov  2 13:43:05 40-363DA691-240 daemon.notice pppd[8023]: Connect: ppp0 <--> /dev/ttyACM0
Nov  2 13:43:06 40-363DA691-240 daemon.debug pppd[8023]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xcb5bf37> <pcomp> <accomp>]
Nov  2 13:43:06 40-363DA691-240 daemon.debug pppd[8023]: rcvd [LCP ConfReq id=0x1 <mru 1514> <asyncmap 0x0> <auth chap MD5> <magic 0x444317ad> <pcomp> <accomp> <mrru 1514> <endpoint [null]>]
Nov  2 13:43:06 40-363DA691-240 daemon.debug pppd[8023]: sent [LCP ConfRej id=0x1 <mrru 1514>]
Nov  2 13:43:06 40-363DA691-240 daemon.debug pppd[8023]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xcb5bf37> <pcomp> <accomp>]
Nov  2 13:43:06 40-363DA691-240 daemon.debug pppd[8023]: rcvd [LCP ConfReq id=0x2 <mru 1514> <asyncmap 0x0> <auth chap MD5> <magic 0x444317ad> <pcomp> <accomp>]
Nov  2 13:43:06 40-363DA691-240 daemon.debug pppd[8023]: sent [LCP ConfAck id=0x2 <mru 1514> <asyncmap 0x0> <auth chap MD5> <magic 0x444317ad> <pcomp> <accomp>]
Nov  2 13:43:06 40-363DA691-240 daemon.debug pppd[8023]: rcvd [CHAP Challenge id=0x3 <bf2b15282cf4f6672f1b809a251bd731>, name = "HiPer"]
Nov  2 13:43:06 40-363DA691-240 daemon.debug pppd[8023]: sent [CHAP Response id=0x3 <69cd88a27098f6c3e961f49f0cec74fb>, name = "Sunrise"]
Nov  2 13:43:39 40-363DA691-240 daemon.debug pppd[8023]: rcvd [CHAP Failure id=0x3 "\37777777677+\025(,\37777777764\37777777766g/\033\37777777600\37777777632%\033\377777777271"]
Nov  2 13:43:39 40-363DA691-240 daemon.info pppd[8023]: CHAP authentication failed: M-?+^U(,M-tM-vg/^[M-^@M-^Z%^[M-W1
Nov  2 13:43:39 40-363DA691-240 daemon.err pppd[8023]: CHAP authentication failed
Nov  2 13:43:39 40-363DA691-240 daemon.debug pppd[8023]: sent [LCP TermReq id=0x2 "Failed to authenticate ourselves to peer"]
Nov  2 13:43:39 40-363DA691-240 daemon.debug pppd[8023]: rcvd [LCP TermReq id=0x4]
Nov  2 13:43:39 40-363DA691-240 daemon.debug pppd[8023]: sent [LCP TermAck id=0x4]
Note: Username (Sunrise) and password (freesurf) aren't confidential (public swiss ISP, payment by line billing) and always the same -> Therefore the reason for this can't be any mistyped auth data.

Could anybody help me in interpreting these log lines (CHAP Failure id=0x3 etc.)? I'm tending to accuse the ISP for this auth failures. Am I right?

Are there any settings in pppd which provoke a retry of the chap authentication process ?

thanks for any suggestions.
 
  


Reply

Tags
ppp, embedded


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SUSE 10 | Disabling PAP & CHAP w/ pppd foolishone Suse/Novell 11 11-14-2005 02:29 PM
CHAP authentication failed iduru Linux - Newbie 4 12-29-2003 10:37 PM
bellsouth adsl, redhat 9, CHAP authentication pld Linux - Software 2 10-29-2003 07:43 PM
Mandrake 8.2 - CHAP authentication? socratez Linux - General 0 02-22-2003 06:23 PM
CHAP Authentication failure reader Linux - Networking 2 04-30-2001 10:08 AM


All times are GMT -5. The time now is 02:07 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration