?
Solved

CHAP authentication

Posted on 2000-03-27
5
Medium Priority
?
411 Views
Last Modified: 2013-12-15
I'm trying to connect to an ISP. They have given me a username and password. I'm using Linux rEDHAT 6.1. I've setup the PPP connection OK.
The problem is that CHAP authentication always fails.

In /etc/ppp/chat-secrets, what do I put in the 'secret' field ? I tried the password but NO-GO !!

I can connect using PAP no problem
0
Comment
Question by:tostos
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 4

Expert Comment

by:kiffney
ID: 2664416
Very few ISPs support CHAP (I've never heard of one that did) and you generally won't be able to connect if you use it.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2667610
kiffney is right on... I've never heard of an ISP using CHAP for ordinary dialup. You need to change to PAP authentication.
0
 

Accepted Solution

by:
foron earned 150 total points
ID: 2672373
I am using CHAP with an ISDN connection. I don't know if the options for ppp are the same for ippp, but I think they can be usefull for you.

I have an options.ippp0 file. Here I choose between CHAP and PAP. For CHAP I add a line:
      name username
For PAP I add a line:
      user username@xxxxx

chap secrets file:
      username   server     password
      server       username    password
      
      
0
 

Author Comment

by:tostos
ID: 2678404
Thankyou foron for your answer. Although I found out the answer by trial and error, your answer maches mine so - you got the points!

ps this ISP (Telstra) uses CHAP contrary to the comments of the others

Thanks to all for your contributions
0
 

Expert Comment

by:foron
ID: 2686629
you can try this if chap-secrets didn't work

chap-secrets
    user                 *            password
    your_ISP   username   same_password
0

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month11 days, 18 hours left to enroll

752 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