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...
fdkonlineAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

bernardhCommented:
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
fdkonlineAuthor Commented:
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
EatEmAndSmileCommented:
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
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

nholowatCommented:
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
EatEmAndSmileCommented:
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
ibishopCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
fdkonlineAuthor Commented:
That looks exactly what I need.  Thankyou!
0
ibishopCommented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.