Solved

CHAP authentication

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
i can not do linux commands in cygwin windows 10 6 75
Can't See Site After DNS Resolved 7 55
How to make a Bash alias that takes parameters 5 55
awk variable in printf 1 25
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will giveā€¦
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.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

803 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