linux pppd version 2.2pl0 and chap md5 ?

linux pppd version 2.2pl0 and chap md5 ?

Post by Fabien Mounie » Fri, 04 Jun 1999 04:00:00



I have recently tried to setup a connection to a new isp and while my
connectscripts with those who use login authentication continue to work
perfectly well, I have trouble with this one :

As far as I understand, from the debug output, the isp wants me to
authenticate myself using chap, I have put my login, the providername and
the password in cleartext tab-seperated into the chap-secrets file and I
have set the corresponding user- and remotename-values in the options file
and even added -pap for good luck. One thing worth mentioning is the fact

I am using pppd version 2.2pl0 compiled into the kernel 2.0.35.

Jun  2 20:45:54 arwen pppd[1137]: Connect: ppp0 <--> /dev/modem
Jun  2 20:45:54 arwen pppd[1137]: sent [LCP ConfReq id=0x1 <mru 1500><magic 0xea8f> <pcomp> <accomp>]
Jun  2 20:45:54 arwen pppd[1137]: rcvd [LCP ConfReq id=0x1 <mru 1522><asyncmap 0xa0000> <auth chap md5> <magic 0xd761f728> <accomp> < 11 04 05
f2> < 12 02> < 13 09 03 00 80 d3 6d da 00>]
Jun  2 20:45:54 arwen pppd[1137]: sent [LCP ConfRej id=0x1 <auth chap md5>< 11 04 05 f2> < 12 02> < 13 09 03 00 80 d3 6d da 00>]
Jun  2 20:45:54 arwen pppd[1137]: rcvd [LCP ConfAck id=0x1 <mru 1500><magic 0xea8f> <pcomp> <accomp>]
Jun  2 20:45:54 arwen pppd[1137]: rcvd [LCP ConfReq id=0x2 <mru 1522><asyncmap 0xa0000> <auth chap md5> <magic 0xd761f728> <accomp>]
Jun  2 20:45:54 arwen pppd[1137]: sent [LCP ConfRej id=0x2 <auth chap md5>]

same pattern continues id=0x3 --> id=0xa

Jun  2 20:45:55 arwen pppd[1137]: rcvd [LCP ConfReq id=0xb <mru 1522><asyncmap 0xa0000> <auth chap md5> <magic 0xd761f728> <accomp>]
Jun  2 20:45:55 arwen pppd[1137]: sent [LCP ConfRej id=0xb <auth chap md5>]
Jun  2 20:45:55 arwen pppd[1137]: rcvd [LCP TermReq id=0x1 02]
Jun  2 20:45:55 arwen pppd[1137]: sent [LCP TermAck id=0x1]
Jun  2 20:45:57 arwen pppd[1137]: sent [LCP ConfReq id=0x1 <mru 1500>
<magic 0xea8f> <pcomp> <accomp>]
Jun  2 20:46:24 arwen last message repeated 9 times
Jun  2 20:46:27 arwen pppd[1137]: LCP: timeout sending Config-Requests

I think that I am not very far from a working connection, but something
still seems to go terribly wrong and your help is truly appreciated ; I
will post a summary to comp.os.linux.networking when I get this one going.

Best regards

--
Fabien Mounier

 
 
 

linux pppd version 2.2pl0 and chap md5 ?

Post by James Carlso » Fri, 04 Jun 1999 04:00:00



> Jun  2 20:45:54 arwen pppd[1137]: rcvd [LCP ConfReq id=0x2 <mru 1522><asyncmap 0xa0000> <auth chap md5> <magic 0xd761f728> <accomp>]

He asks you to do standard CHAP to identify yourself.

Quote:> Jun  2 20:45:54 arwen pppd[1137]: sent [LCP ConfRej id=0x2 <auth chap md5>]

You refuse to identify yourself.

Quote:> I think that I am not very far from a working connection, but something
> still seems to go terribly wrong and your help is truly appreciated ; I
> will post a summary to comp.os.linux.networking when I get this one going.

Set up your /etc/ppp/chap-secrets file correctly, and the problem
should go away.

--

IronBridge Networks / 55 Hayden Avenue   71.246W   Vox:  +1 781 372 8132
Lexington MA  02421-7996 / USA           42.423N   Fax:  +1 781 372 8090
"PPP Design and Debugging" --- http://people.ne.mediaone.net/carlson/ppp

 
 
 

linux pppd version 2.2pl0 and chap md5 ?

Post by Fritz Whittingto » Sat, 05 Jun 1999 04:00:00



> I have recently tried to setup a connection to a new isp and while my
> connectscripts with those who use login authentication continue to work
> perfectly well, I have trouble with this one :

> As far as I understand, from the debug output, the isp wants me to
> authenticate myself using chap, I have put my login, the providername and

See a very good explanation of how to do it at:

http://www.wurd.com/wurd/software/dialers/linux.html

The instructions are for Worldnet.att.net users, but since they use
CHAP, are appropriate for other servers who use CHAP.
--
Fritz