Please help on this PPP CHAP question?
I recently got a new Compaq computer with Windows XP (yuk) and also
purchased a copy of SuSE Linux 9.0 to dual boot. That part is working fine.
But SuSE 9 has changed its PPP dialer from KPPP (which worked great in
SuSE 6.4) to one called Kinternet. Kinternet (after being configured by
Yast) dials in ok and connects, but during the user authentication it is
sending a bad password after sending my correct user name. It fails on
a CHAP error as the ppp-log below shows. I noticed WVDIAL was used in
the log, so I also tried using WMDIAL directly after reading the
documentation. It failed the same way.
The password is correct - it is the same as I use here in XP and used in
SuSE 6.4.
The ISP help center suggested their own ppp script (which had nothing
about CHAP in it), but it failed too. See the second ppp log below.
The SuSE Help Center suggested putting my password in the CHAP-SECRETS
file, which I did - same result - it failed on the same CHAP error.
Has anyone else seen this error in SuSE 9 and found a solution? Do any
experts out there have any suggestions?
Don
------------------------
Here is the log from Kinternet:
SuSE Meta pppd (smpppd-ifcfg), Version 1.06 on linux.
Status is: disconnected
trying to connect to smpppd
connect to smpppd
Status is: disconnected
Status is: connecting
pppd[0]: Plugin passwordfd.so loaded.
pppd[0]: Perms of /dev/ttyS0 are ok, no 'mesg n' neccesary.
pppd[0]: --> WvDial: Internet dialer version 1.42
pppd[0]: --> Initializing modem.
pppd[0]: --> Sending: ATZ
pppd[0]: ATZ
pppd[0]: OK
pppd[0]: --> Sending: AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
pppd[0]: AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
pppd[0]: OK
pppd[0]: --> Sending: ATM0
pppd[0]: ATM0
pppd[0]: OK
pppd[0]: --> Modem initialized.
pppd[0]: --> Sending: ATDT7242851019
pppd[0]: --> Waiting for carrier.
pppd[0]: ATDT7242851019
pppd[0]: CONNECT 115200
pppd[0]: --> Carrier detected. Waiting for prompt.
pppd[0]: UQKT2 tnt4.phl1.da.uu.net
pppd[0]: Login:
pppd[0]: --> Looks like a login prompt.
pppd[0]: --> Sending: dfgrbac
pppd[0]: dfgrbac
pppd[0]: Password:
pppd[0]: --> Looks like a password prompt.
pppd[0]: --> Sending: (password)
pppd[0]: ** Bad Password
pppd[0]: Login:
pppd[0]: --> Looks like a login prompt.
pppd[0]: --> Sending: dfgrbac
pppd[0]: dfgrbac
pppd[0]: Password:
pppd[0]: --> Looks like a password prompt.
pppd[0]: --> Sending: (password)
pppd[0]: ** Bad Password
pppd[0]: Login:
pppd[0]: --> Looks like a login prompt.
pppd[0]: --> Sending: dfgrbac
pppd[0]: --> Don't know what to do! Starting pppd and hoping for the best.
pppd[0]: Serial connection established.
pppd[0]: using channel 4
pppd[0]: Using interface ppp0
pppd[0]: Connect: ppp0 <--> /dev/ttyS0
pppd[0]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6d8c5aec>
<pcomp> <accomp>]
pppd[0]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6d8c5aec>
<pcomp> <accomp>]
pppd[0]: rcvd [LCP ConfReq id=0x1 < 00 04 00 00> <mru 1524> <asyncmap
0x0> <auth chap MD5> <pcomp> <accomp> <mrru 1524> <endpoint
[MAC:00:c0:7b:7b:f8:ee]>]
pppd[0]: sent [LCP ConfRej id=0x1 < 00 04 00 00> <mrru 1524>]
pppd[0]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x6d8c5aec>
<pcomp> <accomp>]
pppd[0]: rcvd [LCP ConfReq id=0x2 <mru 1524> <asyncmap 0x0> <auth chap
MD5> <pcomp> <accomp> <endpoint [MAC:00:c0:7b:7b:f8:ee]>]
pppd[0]: sent [LCP ConfAck id=0x2 <mru 1524> <asyncmap 0x0> <auth chap
MD5> <pcomp> <accomp> <endpoint [MAC:00:c0:7b:7b:f8:ee]>]
pppd[0]: sent [LCP EchoReq id=0x0 magic=0x6d8c5aec]
pppd[0]: cbcp_lowerup
pppd[0]: want: 2
pppd[0]: rcvd [CHAP Challenge id=0x1 <9f0637d9027e012973348e0721a99beb>,
name = "tnt4.phl1"]
pppd[0]: sent [CHAP Response id=0x1 <040a246e29469d511b6471d053d97a8d>,
name = "dfgrbac"]
pppd[0]: rcvd [LCP EchoRep id=0x0 magic=0x0]
pppd[0]: rcvd [CHAP Failure id=0x1 "\000"]
pppd[0]: Remote message: ^@
pppd[0]: CHAP authentication failed
Authentication error. Maybe bad account or password.
pppd[0]: cbcp_lowerdown
pppd[0]: sent [LCP TermReq id=0x2 "Failed to authenticate ourselves to
peer"]
pppd[0]: rcvd [LCP TermAck id=0x2]
pppd[0]: Connection terminated.
pppd[0]: Hangup (SIGHUP)
Status is: disconnected
pppd[0] died: Authentication error (exit code 19)
------------------------
Here is the log from using the pppscript for chat:
Jan 28 18:10:32 linux pppd[3413]: pppd 2.4.1 started by dfgrbac, uid 0
Jan 28 18:10:32 linux pppd[3413]: Perms of /dev/modem are ok, no 'mesg
n' neccesary.
Jan 28 18:11:07 linux pppd[3413]: Serial connection established.
Jan 28 18:11:07 linux pppd[3413]: using channel 9
Jan 28 18:11:07 linux pppd[3413]: Using interface ppp0
Jan 28 18:11:07 linux pppd[3413]: Connect: ppp0 <--> /dev/modem
Jan 28 18:11:08 linux pppd[3413]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <magic 0x3659e6be> <pcomp> <accomp>]
Jan 28 18:11:10 linux pppd[3413]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <magic 0x3659e6be> <pcomp> <accomp>]
Jan 28 18:11:10 linux pppd[3413]: rcvd [LCP ConfReq id=0x1 < 00 04 00
00> <mru 1524> <asyncmap 0x0> <auth chap MD5> <pcomp> <accomp> <mrru
1524> <endpoint [MAC:00:c0:7b:7b:f8:ee]>]
Jan 28 18:11:10 linux pppd[3413]: sent [LCP ConfRej id=0x1 < 00 04 00
00> <auth chap MD5> <mrru 1524>]
Jan 28 18:11:10 linux pppd[3413]: rcvd [LCP ConfAck id=0x1 <asyncmap
0x0> <magic 0x3659e6be> <pcomp> <accomp>]
Jan 28 18:11:10 linux pppd[3413]: rcvd [LCP ConfReq id=0x2 <mru 1524>
<asyncmap 0x0> <auth pap> <pcomp> <accomp> <endpoint
[MAC:00:c0:7b:7b:f8:ee]>]
Jan 28 18:11:10 linux pppd[3413]: sent [LCP ConfRej id=0x2 <auth pap>]
Jan 28 18:11:11 linux pppd[3413]: rcvd [LCP TermReq id=0x3]
Jan 28 18:11:11 linux pppd[3413]: sent [LCP TermAck id=0x3]
Jan 28 18:11:12 linux pppd[3413]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <magic 0x3659e6be> <pcomp> <accomp>]
Jan 28 18:11:44 linux last message repeated 16 times
Jan 28 18:11:50 linux last message repeated 3 times
Jan 28 18:11:51 linux pppd[3413]: Terminating on signal 2.
Jan 28 18:11:51 linux pppd[3413]: sent [LCP TermReq id=0x2 "User request"]
Jan 28 18:11:53 linux pppd[3413]: sent [LCP TermReq id=0x3 "User request"]
Jan 28 18:11:55 linux pppd[3413]: Connection terminated.
Jan 28 18:11:56 linux pppd[3413]: Exit.
linux:~ #
|