Link to home
Start Free TrialLog in
Avatar of fdkonline
fdkonline

asked on

ppp and CHAP Authentication Problem

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...
Avatar of bernardh
bernardh

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.
Avatar of fdkonline

ASKER

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?
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.
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
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.
ASKER CERTIFIED SOLUTION
Avatar of ibishop
ibishop

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That looks exactly what I need.  Thankyou!
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.