Solved

CHAP authentication

Posted on 2000-03-27
5
400 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
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 50 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

828 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