LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 04-29-2001, 04:05 PM   #1
reader
Member
 
Registered: Apr 2001
Location: Gulf of Biscay
Posts: 32

Rep: Reputation: 15
Question


Hello all,
I have installed my Linux Mandrake 7.2. All goes ok except but whenn I try to dial my isp. CHAP cannot authenticate.
My password is ok, and i donīt now what more can I do. Here is the log that I have captured.

pppd 2.4.0 started by root, uid 0
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2f8169e5> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0xe1 <auth chap MD5> <magic 0xe61664de> <mrru 1524> <endpoint 13...c>]
sent [LCP ConfRej id=0xe1 <mrru 1524>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x2f8169e5> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0xe2 <auth chap MD5> <magic 0xe61664de> <endpoint .........>]
sent [LCP ConfAck id=0xe2 <auth chap MD5> <magic 0xe61664de> <endpoint .........>]
rcvd [CHAP Challenge id=0xb1 <74...8>, name = "<deleted>"]
sent [CHAP Response id=0xb1 <e8...1>, name = "<deleted>"]
rcvd [CHAP Failure id=0xb1 "Authentication failure"]
Remote message: Authentication failure
CHAP authentication failed
sent [LCP TermReq id=0x2 "Failed to authenticate ourselves to peer"]
rcvd [LCP TermReq id=0xe3]
sent [LCP TermAck id=0xe3]
rcvd [LCP TermAck id=0x2]
Connection terminated.
Exit.

Thanks all.

PS: Excuse me for my english.

 
Old 04-30-2001, 10:29 AM   #2
raz
Member
 
Registered: Apr 2001
Location: London
Posts: 408

Rep: Reputation: 31
I'm not that good with all this modem stuff, but here is an overview of what it's trying to do.

Using interface ppp0
Connect: ppp0 <--> /dev/ttyS1
--------(Your system makes the link to the ISP)
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2f8169e5> <pcomp> <accomp>]
--------(the ISP's server sends a challenge request to your Linux Box)
rcvd [LCP ConfReq id=0xe1 <auth chap MD5> <magic 0xe61664de> <mrru 1524> <endpoint 13...c>]
sent [LCP ConfRej id=0xe1 <mrru 1524>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x2f8169e5> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0xe2 <auth chap MD5> <magic 0xe61664de> <endpoint .........>]
sent [LCP ConfAck id=0xe2 <auth chap MD5> <magic 0xe61664de> <endpoint .........>]
--------(Your Box responds with a value obtained by using a one-way hash function using MD5)
rcvd [CHAP Challenge id=0xb1 <74...8>, name = "<deleted>"]
sent [CHAP Response id=0xb1 <e8...1>, name = "<deleted>"]
--------(The server checks the response by comparing it its own calculation of the expected hash value.)
--------(Failed)
rcvd [CHAP Failure id=0xb1 "Authentication failure"]
Remote message: Authentication failure
CHAP authentication failed
sent [LCP TermReq id=0x2 "Failed to authenticate ourselves to peer"]
--------(Terminating the handshake)
rcvd [LCP TermReq id=0xe3]
sent [LCP TermAck id=0xe3]
rcvd [LCP TermAck id=0x2]
Connection terminated.
Exit.

From the log I think it is going to be one of these points.
1) Your accounts deleted from the ISP (check you've paid)
2) They don't use CHAP-MD5 but MS-CHAP (Ask you ISP if they support Unix SVR4 systems)
3) You have some corruption going on with the MD5 hash algorithm.

/Raz
 
Old 04-30-2001, 11:08 AM   #3
reader
Member
 
Registered: Apr 2001
Location: Gulf of Biscay
Posts: 32

Original Poster
Rep: Reputation: 15
Thanks for the reply

Thanks, razbot, but
> From the log I think it is going to be one of these points.
> 1) Your accounts deleted from the ISP (check you've paid)
I'm now connected from w2k.
> 2) They don't use CHAP-MD5 but MS-CHAP (Ask you ISP if they support Unix SVR4 systems)
The ISP packets say 'auth chap MD5' (?), or my linux interprets this as MD5
>3) You have some corruption going on with the MD5 hash algorithm.
I have unistall PPP and installed again but not go ok.
Can I reinstall the software that contains the MD5 hash algoritm?, where is it? in the kernel?

Thanks all

 
  


Reply


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
authentication failure mendiratta Linux - Security 1 07-03-2004 04:20 AM
PPTP (VPN) server: authentication options (Radiut / Chap-secrets / ldap/..) ? aa_tango Linux - Wireless Networking 0 05-27-2004 10:47 AM
CHAP authentication failed iduru Linux - Newbie 4 12-29-2003 11:37 PM
bellsouth adsl, redhat 9, CHAP authentication pld Linux - Software 2 10-29-2003 08:43 PM
Mandrake 8.2 - CHAP authentication? socratez Linux - General 0 02-22-2003 07:23 PM


All times are GMT -5. The time now is 02:39 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