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
tostosAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
foronConnect With a Mentor Commented:
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
 
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
 
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
All Courses

From novice to tech pro — start learning today.