Hi,


I have a problem connecting to an ISP which apparently uses
chap authentization. I'm not quite sure how to go about that
since any ISP I've used in the past has either used pap or
dialog style logins. Anyway here is the relevant output from syslogd:

[....]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1c757907>]
rcvd [LCP ConfReq id=0x2a <asyncmap 0xa0000> <auth chap MD5> <magic 0x2c0e3fad> < 11 
04 05 f4> < 13 0b 01 63 69 73 63 6f 34 32 36>]
sent [LCP ConfRej id=0x2a < 11 04 05 f4> < 13 0b 01 63 69 73 63 6f 34 32 36>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x1c757907>]
rcvd [LCP ConfReq id=0x2b <asyncmap 0xa0000> <auth chap MD5> <magic 0x2c0e3fad>]
sent [LCP ConfAck id=0x2b <asyncmap 0xa0000> <auth chap MD5> <magic 0x2c0e3fad>]
rcvd [CHAP Challenge id=0xb <7bb659dd387964affc04c499dd8ebabd>, name = "cisco426"]
sent [CHAP Response id=0xb <8bfa0441d26e9642375b15347e3fea5c>, name = "x-101963"]
rcvd [CHAP Failure id=0xb "Authentication failure"]
Remote message: Authentication failure
CHAP authentication failed
[....]

As you can see the server "challenges" me with the name
"cisco426" which is infact unique for every login and I respond
with my username, "x-101963", failing miserably because the two
don't match. Of course I have put 

        my_username   *   my_password

into /etc/ppp/chap-secrets. 

And the script I use to connect is this:

#!/bin/sh

/usr/sbin/pppd connect '/usr/sbin/chat -v "" "AT&F" "OK" ATDN77668031 \
"CONNECT"' /dev/ttyS1 230400 debug crtscts defaultroute user x-101963
 

What is the magic in connecting to an ISP which is using chap?

Any help much appreciated.


Best regards,

Morten


-- 
"Either we live by accident and die by accident, or we live by plan and 
 die by plan."                                        (Thornton Wilder)


-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to