[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 421
  • Last Modified:

CHAP authentication

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
tostos
Asked:
tostos
1 Solution
 
kiffneyCommented:
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
 
jlevieCommented:
kiffney is right on... I've never heard of an ISP using CHAP for ordinary dialup. You need to change to PAP authentication.
0
 
foronCommented:
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
 
tostosAuthor Commented:
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
 
foronCommented:
you can try this if chap-secrets didn't work

chap-secrets
    user                 *            password
    your_ISP   username   same_password
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now