LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-22-2003, 06:23 PM   #1
socratez
LQ Newbie
 
Registered: Feb 2003
Distribution: mandrake 8.2
Posts: 1

Rep: Reputation: 0
Mandrake 8.2 - CHAP authentication?


Hello guys,

I have such a problem:

I want to dial from my Linux-Mandrake box out to a Windows 98 SE Dial-Up Server (don't ask me why i use it, i just have to!). So to make it simple - on my (client) side is Linux Mandrake 8.2 with a KDE 2.2.2, running kppp (pppd), trying to connect to the Windows 98 SE Dial-Up server on the other (server) side of the line (line is POTS). I am using a common 56k PCI hardware modem.
The problem is, that Windows 98SE Dial-Up server requires _blank_ username and a password (password is not blank in this case), and it requires CHAP authentication. So I set up my kppp connection to use CHAP authentication, but when I enter blank username and a valid password and i try to connect, kppp fails (before dialing out) with a message "CHAP requires you to provide valid username and a password" - so it doesn't accept a blank username ! If I just enter e.g. a space in a username field, kppp dials out, connects to Windows 98SE Dial-Up server and then fails - log follows:

---paste begin---
Feb 15 00:15:12 localhost pppd[2404]: pppd 2.4.1 started by socrates, uid 501
Feb 15 00:15:12 localhost pppd[2404]: using channel 2
Feb 15 00:15:12 localhost pppd[2404]: Using interface ppp0
Feb 15 00:15:12 localhost pppd[2404]: Connect: ppp0 <--> /dev/tts/3
Feb 15 00:15:12 localhost pppd[2404]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xcfd21dd> <pcomp> <accomp>]
Feb 15 00:15:12 localhost pppd[2404]: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000> <auth chap m$oft> <magic 0x33f750b> <pcomp> <accomp> <mrru 1500> <endpoint [local:10.28.92.cc.0b.75.3f.03.90.15.a4.cc.22.17.00.00]>]
Feb 15 00:15:12 localhost pppd[2404]: sent [LCP ConfRej id=0x1 <mrru 1500>]
Feb 15 00:15:12 localhost pppd[2404]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xcfd21dd> <pcomp> <accomp>]
Feb 15 00:15:12 localhost pppd[2404]: rcvd [LCP ConfReq id=0x2 <asyncmap 0xa0000> <auth chap m$oft> <magic 0x33f750b> <pcomp> <accomp> <endpoint [local:10.28.92.cc.0b.75.3f.03.90.15.a4.cc.22.17.00.00]>]
Feb 15 00:15:12 localhost pppd[2404]: sent [LCP ConfAck id=0x2 <asyncmap 0xa0000> <auth chap m$oft> <magic 0x33f750b> <pcomp> <accomp> <endpoint [local:10.28.92.cc.0b.75.3f.03.90.15.a4.cc.22.17.00.00]>]
Feb 15 00:15:13 localhost pppd[2404]: rcvd [CHAP Challenge id=0x1 <d1d0459a0ecab3fb>, name = ""]
Feb 15 00:15:13 localhost pppd[2404]: sent [CHAP Response id=0x1 <0000000000000000000000000000000000000000000000003edccb8ed5ef3e60760fc6f1b9bf2bdeb000d7d0d052b23301> , name = " "]
Feb 15 00:15:13 localhost pppd[2404]: rcvd [CHAP Failure id=0x1 "E=691 R=1 C=72A31FEC4291547D"]
Feb 15 00:15:13 localhost pppd[2404]: Remote message: E=691 R=1 C=72A31FEC4291547D
Feb 15 00:15:13 localhost pppd[2404]: sent [LCP TermReq id=0x2 "Failed to authenticate ourselves to peer"]
Feb 15 00:15:13 localhost pppd[2404]: rcvd [LCP TermAck id=0x2]
Feb 15 00:15:13 localhost pppd[2404]: Connection terminated.
Feb 15 00:15:13 localhost pppd[2404]: Exit.
---paste end---

So, my question is - how to force kppp (or better said, pppd) to accept blank username for CHAP authentication ?

Thanks to everybody in advance !
s.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
windows proxy authentication on mandrake 10.0 fitzy85 Linux - Networking 0 07-08-2004 04:03 PM
PPTP (VPN) server: authentication options (Radiut / Chap-secrets / ldap/..) ? aa_tango Linux - Wireless Networking 0 05-27-2004 09:47 AM
CHAP authentication failed iduru Linux - Newbie 4 12-29-2003 10:37 PM
bellsouth adsl, redhat 9, CHAP authentication pld Linux - Software 2 10-29-2003 07:43 PM
CHAP Authentication failure reader Linux - Networking 2 04-30-2001 10:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:40 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration