Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

pppd and authentication

Posted on 1997-02-12
2
Medium Priority
?
362 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
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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
Course of the Month10 days, 5 hours left to enroll

926 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