[Webinar] Streamline your web hosting managementRegister Today


ppp and CHAP Authentication Problem

Posted on 2000-01-10
Medium Priority
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...
Question by:fdkonline
  • 2
  • 2
  • 2
  • +2

Expert Comment

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:


Good luck.

Author Comment

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?

Expert Comment

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.
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

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,


Expert Comment

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.


Accepted Solution

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.


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.

Author Comment

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

Expert Comment

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.

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