SuSE Linux 8.0: adsl-start > CHAP authentication failed

SuSE Linux 8.0: adsl-start > CHAP authentication failed

Post by Andreas Diesne » Fri, 21 Jun 2002 19:10:32



I'm using SuSE Linux 8.0 Preoffesional and I'm trying to dial into DSL. I've used adsl-setup to setup the configuration.
Starting the DSL Connection by adsl-start always displays me an time out error. Dial-in name and passwort are both set correctly.

In the file /var/log/messages there is a line
CHAP authentication failed

For the whole Logfile look at the end...

I've been wondering about some lines.

1.) Why name = "SPYNEXES"
Jun 20 02:42:40 linux pppd[11048]: rcvd [CHAP Challenge id=0x0 <3de4570a61011f0a572c47153f629a9c>, name = "SPYNEXES"]

Spynexes is the name of my Win2k client in the local lan. He has used the dsl modem before i startet to use it whit linux. But why does the dsl
modem send it to me????

2.) Isn't something missing in this line?
Jun 20 02:42:40 linux pppd[11048]: sent [CHAP Response id=0x0
<db63526b71ac54aa618f570e614db7e8000000000000000056cfd58dec1f51e99fc14ca021
online.de"]

In other FAQ's i've seen lines like this, but always with a second parameter like passwort=<hidden>. Does my Linux maschine not send the
passwort for the connection??

3.)
Jun 20 02:42:40 linux pppd[11048]: CHAP authentication failed

What am i doing wrong?

Thx
Andreas Diesner

#tail -f /var/log/messages

Jun 20 02:42:39 linux pppd[11048]: pppd 2.4.1 started by root, uid 0
Jun 20 02:42:39 linux pppd[11048]: using channel 318
Jun 20 02:42:39 linux pppd[11048]: Using interface ppp0
Jun 20 02:42:39 linux pppd[11048]: Connect: ppp0 <--> /dev/pts/2
Jun 20 02:42:39 linux pppoe[11049]: Changed pty line discipline to N_HDLC for synchronous mode
Jun 20 02:42:39 linux pppoe[11049]: PADS: Service-Name: ''
Jun 20 02:42:39 linux pppoe[11049]: PPP session is 136
Jun 20 02:42:40 linux pppd[11048]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x384f6943>]
Jun 20 02:42:40 linux pppd[11048]: rcvd [LCP ConfReq id=0x0 <auth chap 81> <magic 0x2e0854ce> <callback CBCP> <mrru 1614> <endpoint
[MAC:00:01:02:18:5d:09]> < 17 04 00 43>]
Jun 20 02:42:40 linux pppd[11048]: sent [LCP ConfRej id=0x0 <mrru 1614> < 17 04 00 43>]
Jun 20 02:42:40 linux pppd[11048]: rcvd [LCP ConfNak id=0x1 <mru 1492>]
Jun 20 02:42:40 linux pppd[11048]: sent [LCP ConfReq id=0x2 <mru 1492> <magic 0x384f6943>]
Jun 20 02:42:40 linux pppd[11048]: rcvd [LCP ConfReq id=0x1 <auth chap 81> <magic 0x2e0854ce> <callback CBCP> <endpoint
[MAC:00:01:02:18:5d:09]>]
Jun 20 02:42:40 linux pppd[11048]: sent [LCP ConfAck id=0x1 <auth chap 81> <magic 0x2e0854ce> <callback CBCP> <endpoint
[MAC:00:01:02:18:5d:09]>]
Jun 20 02:42:40 linux pppd[11048]: rcvd [LCP ConfNak id=0x2 <mru 1492>]
Jun 20 02:42:40 linux pppd[11048]: sent [LCP ConfReq id=0x3 <mru 1492> <magic 0x384f6943>]
Jun 20 02:42:40 linux pppd[11048]: rcvd [LCP ConfNak id=0x3 <mru 1492>]
Jun 20 02:42:40 linux pppd[11048]: sent [LCP ConfReq id=0x4 <mru 1492> <magic 0x384f6943>]
Jun 20 02:42:40 linux pppd[11048]: rcvd [LCP ConfNak id=0x4 <mru 1492>]
Jun 20 02:42:40 linux pppd[11048]: sent [LCP ConfReq id=0x5 <mru 1492> <magic 0x384f6943>]
Jun 20 02:42:40 linux pppd[11048]: rcvd [LCP ConfNak id=0x5 <mru 1492>]
Jun 20 02:42:40 linux pppd[11048]: sent [LCP ConfReq id=0x6 <mru 1492> <magic 0x384f6943>]
Jun 20 02:42:40 linux pppd[11048]: rcvd [LCP ConfNak id=0x6 <mru 1492>]
Jun 20 02:42:40 linux pppd[11048]: sent [LCP ConfReq id=0x7 <mru 1492> <magic 0x384f6943>]
Jun 20 02:42:40 linux pppd[11048]: rcvd [LCP ConfNak id=0x7 <mru 1492>]
Jun 20 02:42:40 linux pppd[11048]: sent [LCP ConfReq id=0x8 <mru 1492> <magic 0x384f6943>]
Jun 20 02:42:40 linux pppd[11048]: rcvd [LCP ConfNak id=0x8 <mru 1492>]
Jun 20 02:42:40 linux pppd[11048]: sent [LCP ConfReq id=0x9 <mru 1492> <magic 0x384f6943>]
Jun 20 02:42:40 linux pppd[11048]: rcvd [LCP ConfNak id=0x9 <mru 1492>]
Jun 20 02:42:40 linux pppd[11048]: sent [LCP ConfReq id=0xa <mru 1492> <magic 0x384f6943>]
Jun 20 02:42:40 linux pppd[11048]: rcvd [LCP ConfNak id=0xa <mru 1492>]
Jun 20 02:42:40 linux pppd[11048]: sent [LCP ConfReq id=0xb <mru 1492> <magic 0x384f6943>]
Jun 20 02:42:40 linux pppd[11048]: rcvd [LCP ConfRej id=0xb <mru 1492>]
Jun 20 02:42:40 linux pppd[11048]: sent [LCP ConfReq id=0xc <magic 0x384f6943>]
Jun 20 02:42:40 linux pppd[11048]: rcvd [LCP ConfAck id=0xc <magic 0x384f6943>]
Jun 20 02:42:40 linux pppd[11048]: sent [LCP EchoReq id=0x0 magic=0x384f6943]
Jun 20 02:42:40 linux pppd[11048]: cbcp_lowerup
Jun 20 02:42:40 linux pppd[11048]: want: 2
Jun 20 02:42:40 linux pppd[11048]: rcvd [CHAP Challenge id=0x0 <3de4570a61011f0a572c47153f629a9c>, name = "SPYNEXES"]
Jun 20 02:42:40 linux pppd[11048]: sent [CHAP Response id=0x0
<db63526b71ac54aa618f570e614db7e8000000000000000056cfd58dec1f51e99fc14ca021
online.de"]
Jun 20 02:42:40 linux pppd[11048]: rcvd [LCP EchoRep id=0x0 magic=0x2e0854ce]
Jun 20 02:42:40 linux pppd[11048]: rcvd [CHAP Failure id=0x0 "E=691 R=1 C=43F19B3D9873E4902327D1466CF16001 V=3"]
Jun 20 02:42:40 linux pppd[11048]: Remote message: E=691 R=1 C=43F19B3D9873E4902327D1466CF16001 V=3
Jun 20 02:42:40 linux pppd[11048]: CHAP authentication failed
Jun 20 02:42:40 linux pppd[11048]: cbcp_lowerdown
Jun 20 02:42:40 linux pppd[11048]: sent [LCP TermReq id=0xd "Failed to authenticate ourselves to peer"]
Jun 20 02:42:40 linux pppd[11048]: rcvd [LCP TermAck id=0xd "Failed to authenticate ourselves to peer"]
Jun 20 02:42:40 linux pppd[11048]: Connection terminated.
Jun 20 02:42:40 linux pppd[11048]: Waiting for 1 child processes...
Jun 20 02:42:40 linux pppd[11048]: script /usr/sbin/pppoe -p /var/run/pppoe.conf-adsl.pid.pppoe -I eth0 -T 80 -U -s -m 1412 , pid 11049
Jun 20 02:42:40 linux pppoe[11049]: read (syncReadFromPPP): Input/output error
Jun 20 02:42:40 linux pppoe[11049]: Sent PADT
Jun 20 02:42:40 linux pppd[11048]: Script /usr/sbin/pppoe -p /var/run/pppoe.conf-adsl.pid.pppoe -I eth0 -T 80 -U -s -m 1412 finished (pid
11049), status = 0x100
Jun 20 02:42:40 linux pppd[11048]: Exit.

 
 
 

SuSE Linux 8.0: adsl-start > CHAP authentication failed

Post by James Carlso » Tue, 25 Jun 2002 19:44:38



> 1.) Why name = "SPYNEXES"
> Jun 20 02:42:40 linux pppd[11048]: rcvd [CHAP Challenge id=0x0 <3de4570a61011f0a572c47153f629a9c>, name = "SPYNEXES"]

> Spynexes is the name of my Win2k client in the local lan. He has used the dsl modem before i startet to use it whit linux. But why does the dsl
> modem send it to me????

This isn't coming from the modem itself, it's coming from your ISP.
Perhaps that's the name of your ISP.

> 2.) Isn't something missing in this line?
> Jun 20 02:42:40 linux pppd[11048]: sent [CHAP Response id=0x0
> <db63526b71ac54aa618f570e614db7e8000000000000000056cfd58dec1f51e99fc14ca021
> online.de"]

> In other FAQ's i've seen lines like this, but always with a second
> parameter like passwort=<hidden>.

That's only true for PAP, the *Password* Authentication Protocol,
which uses passwords.  CHAP, the Challenge-Handshake Authentication
Protocol, does not use passwords.

Quote:> Does my Linux maschine not send the
> passwort for the connection??

No.  Nor should it.  That's not how CHAP works.

Quote:> 3.)
> Jun 20 02:42:40 linux pppd[11048]: CHAP authentication failed

> What am i doing wrong?

Your configured user name and/or secret are not the ones that your ISP
has configured to authenticate you.  Perhaps you have special
characters in your /etc/ppp/chap-secrets file, and you've neglected to
escape the properly.

Quote:> Jun 20 02:42:40 linux pppd[11048]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x384f6943>]
> Jun 20 02:42:40 linux pppd[11048]: rcvd [LCP ConfNak id=0x1 <mru 1492>]

The peer appears to be an idiot.  Note that the suggested value in his
Configure-Nak is the same value that you're sending.

You might want to ask the ISP to upgrade their equipment to something
that actually implements PPP correctly.  Unfortunately, given the way
things are done these days, it's unlikely that they'd listen.

In the meantime, you can probably speed this up with the "default-mru"
option.

> Jun 20 02:42:40 linux pppd[11048]: rcvd [CHAP Challenge id=0x0 <3de4570a61011f0a572c47153f629a9c>, name = "SPYNEXES"]
> Jun 20 02:42:40 linux pppd[11048]: sent [CHAP Response id=0x0
> <db63526b71ac54aa618f570e614db7e8000000000000000056cfd58dec1f51e99fc14ca021
> online.de"]
> Jun 20 02:42:40 linux pppd[11048]: rcvd [CHAP Failure id=0x0 "E=691 R=1 C=43F19B3D9873E4902327D1466CF16001 V=3"]
> Jun 20 02:42:40 linux pppd[11048]: Remote message: E=691 R=1 C=43F19B3D9873E4902327D1466CF16001 V=3

According to the MS-CHAP documentation, this Microsoft-proprietary
error message means this:

            691 ERROR_AUTHENTICATION_FAILURE

In other words, the user name and/or secret that you've configured are
incorrect.

--

SUN Microsystems / 1 Network Drive         71.234W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.497N   Fax +1 781 442 1677

 
 
 

1. Pap/Chap authentication with Suse Linux

I'm having the following problem:
Using Suse 6.3 and ISDN, I'm having trouble with the chap
authentication. I have configured my chap-secrets file correctly
(<name> * <passwd>), and have tried it with 2 providers I am registered
with. I think the problem is that my computer asks the other host to
authenticate (although I have disabled all +pap and +chap entries in my
options file; I even put the noauth option!!!).
This is what I get:

1st provider
------------
ipppd[3783]: sent [0][LCP ConfReq id=0x1 <mru 1524> <magic 0x75bbeda8>]
ipppd[3783]: rcvd [0][LCP ConfReq id=0x80 <auth chap md5> <magic
0x6ca3ee97>]
ipppd[3783]: sent [0][LCP ConfRej id=0x80 <auth chap md5>]
ipppd[3783]: rcvd [0][LCP ConfAck id=0x1 <mru 1524> <magic 0x75bbeda8>]
ipppd[3783]: rcvd [0][LCP ConfReq id=0x81 <auth chap md5> <magic
0x6ca3ee97>]
ipppd[3783]: sent [0][LCP ConfRej id=0x81 <auth chap md5>]
ipppd[3783]: rcvd [0][LCP ConfReq id=0x82 <auth chap md5> <magic
0x6ca3ee97>]
ipppd[3783]: sent [0][LCP ConfRej id=0x82 <auth chap md5>]
ipppd[3783]: rcvd [0][LCP ConfReq id=0x83 <auth chap md5> <magic
0x6ca3ee97>]
ipppd[3783]: sent [0][LCP ConfRej id=0x83 <auth chap md5>]
ipppd[3783]: rcvd [0][LCP ConfReq id=0x84 <auth chap md5> <magic
0x6ca3ee97>]
... etc ...
ipppd[3783]: rcvd [0][LCP TermReq id=0x8b]
ipppd[3783]: sent [0][LCP TermAck id=0x8b]

Does the first line (ConfReq) really mean that my machine asks
authentication of the other party? Because the next send message is
ConfRej. What can I do about that?

2nd provider
------------

ipppd[1997]: sent [0][LCP ConfReq id=0x1 <mru 1524> <magic 0xaa9fd3ff>]
ipppd[1997]: rcvd [0][LCP ConfAck id=0x1 <mru 1524> <magic 0xaa9fd3ff>]
ipppd[1997]: rcvd [0][LCP ConfReq id=0x2 <mru 1500> <auth chap md5>
<magic 0xa83caa01> <pcomp> <accomp> <MPmrru 0x5e2> <MPdiscr: 0x3 [ 00
10 bc 00 99 60 ]>]
ipppd[1997]: sent [0][LCP ConfRej id=0x2 <pcomp> <accomp> <MPmrru
0x5e2>]
ipppd[1997]: rcvd [0][LCP ConfReq id=0x3 <mru 1500> <auth chap md5>
<magic 0xa83caa01> <MPdiscr: 0x3 [ 00 10 bc 00 99 60 ]>]
ipppd[1997]: sent [0][LCP ConfNak id=0x3 <auth pap>]

Here it seems that my machine simply rejects the request??? What goes
wrong?

Since I've been trying to get this working for some months now, any
help would be greatly appreciated.

Sent via Deja.com http://www.deja.com/
Before you buy.

2. GPL release announce: IPtrafficvol-0.1

3. <chap 80> versus <chap 05>...?!?

4. Q: Does Sun provide secure NFS?

5. Samba problem: WinXP <-> ADSL <-> Internet <-> Cable <-> Linux

6. Trap SIGTERM question

7. chap authentication fails

8. Redhat lilo login screen

9. CHAP authentication failed

10. RH9: I need to start ADSL-START as root for the first time after boot ....

11. How to set adsl-start as a start up script?

12. Adsl-start as start-up script

13. Success! pppd -> win98 with ms-chap authentication