[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

ppp and CHAP Authentication Problem

Posted on 2000-01-10
8
Medium Priority
?
308 Views
Last Modified: 2012-05-05
I have been trying to connect to my ISP using RedHat 6.1 and have copied the sample script files to the /etc/ppp directory.  As I am required to use CHAP authentication I have added the necessary options (ie: name [username] pap-refuse) but I'm still not able to authenticate.
My ISP is telling me that my system is responding to their chap challenge with a pap response.

Could ANYONE please help me.  I have been trying to solve this myself for a week now.  

It seems that there are some files in the /etc/?/network-scripts/* directory that seem to capture the ppp settings and alter to some default settings but I'm not aware of how this can be changed...
0
Comment
Question by:fdkonline
  • 2
  • 2
  • 2
  • +2
8 Comments
 
LVL 2

Expert Comment

by:bernardh
ID: 2342694
You don't have to do it the hard way...

RH6.1 comes with a utility called RP3 that makes connecting to the Internet a flash. Go to this link for a step-by-step instructions:

http://www.redhat.com/support/manuals/RHL-6.1-Manual/getting-started-guide/ch-ppp.html#S1-PPP-STARTING

Good luck.
0
 

Author Comment

by:fdkonline
ID: 2343615
Thankyou for your help but RP3 uses PAP for authentication and I *need* CHAP authentication for my connection.

Does ANYONE know how to force CHAP authentication?
0
 
LVL 2

Expert Comment

by:EatEmAndSmile
ID: 2345644
Try modifying the scripts in your /etc/ppp directory. I believe that "pap" and "chap" are commands for pppd, so you could maybe find "pap" somewhere in your current scripts and then modify it to "chap".

 You could also run "pppsetup" from the machine of a friend of yours that use Slackware and then copy the /etc/ppp files to your machine. Configuring your Internet connection with pppsetup is so easy, it creates all the scripts for you based on info you input, like authentication method (pap, chap, script), for example.

 Hope this can help.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 

Expert Comment

by:nholowat
ID: 2346177
My ISP also told me they use chap, could never get it to work so I cheated.  I use Kppp and tell it text based instead of chap.  When I get my connection for my ISP it asks for my ID and then my password.  then I just click okay when those strange stream of characters starts comming across the screen.
Hope it works for you.

Have a great day,

Nick
0
 
LVL 2

Expert Comment

by:EatEmAndSmile
ID: 2346314
That could work for provisory connections, but to actually get pppd to work, possibly with demand dialing feature you'll have to configure your /etc/ppp files right.

 You could visit www.slackware.com/forum and do a search on the forum for my "Demand-Dialing-HOWTO". It's the most interesting way to get connected to the Internet, that is, automatically.

 Later.
0
 

Accepted Solution

by:
ibishop earned 210 total points
ID: 2348039
I ended up cheating a little (I have scripts that work, but I needed to implement a system that a less experienced person could operate, as I live about 700 miles from the system in question) and use a program called X-ISP as my dialler - almost infinite configuration flexibility - and it does support CHAP logins.

http://users.hol.gr/~dbouras/

I've just found it really convenient because I need to keep a lot of different configs around for when I travel & test stuff, and it's just a tad more convenient than working with raw scripts.
0
 

Author Comment

by:fdkonline
ID: 2348073
That looks exactly what I need.  Thankyou!
0
 

Expert Comment

by:ibishop
ID: 2348114
I hope it works out well for you - I know I've had nothing but the very best of success with it - even with inexperienced users - once it is configured it runs and runs.

I forgot to mention that the only issue I've had with it is with occasional "zombie" instances of PPP - but I believe that's something specific to my setup - which has a lot of static-ip-routing going on.
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn different types of Android Layout and some basics of an Android App.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month7 days, 19 hours left to enroll

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question