Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

pppd and authentication

Posted on 1997-02-12
2
Medium Priority
?
361 Views
Last Modified: 2013-12-15
I'm attempting to configure my linux system to work with my new ISP (running NT and requiring PAP authentication) - I've read the docs and everything seems to be setup correctly, but when I run pppd I receive an error message of:

pppd: authentication required but no authentication files accessible

Now, I've got a /etc/ppp/pap-secrets file correctly setup and definitely readable, but for some reason pppd can't seem to access it (even logged in as root).  I'm running pppd version 2.2.0 and Slakware linux (kernel version 2.something)...  Any ideas?  Thanks...  :)
0
Comment
Question by:bert020697
[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
2 Comments
 
LVL 19

Accepted Solution

by:
xterm earned 200 total points
ID: 1626942
Add:   +ua /etc/ppp/pap-secrets  to your pppd command in your
chat script to force it to read it.  If you run pppd from the
wrong directory it'll sometimes miss your auth file; this way
it shouldn't matter.  Mine looks like this:

pppd asyncmap 0 -detach modem crtscts +ua /etc/ppp/auth
(and so on and so forth...)

Good luck =)
0
 

Expert Comment

by:crhea
ID: 1626943
I expected a more in-depth answer than given. Also, I wouldn't
give advise where the man page for pppd clearly states that the +ua option is obsolescent.
0

Featured Post

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

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

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Fine Tune your automatic Updates for Ubuntu / Debian
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…
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.
Suggested Courses

715 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