Solved

pppd and authentication

Posted on 1997-02-12
2
353 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 100 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AWS RDS 3 85
Xymon customize http timeout 2 88
Coding C# in Linux 8 71
Impact of disabling SMB v1 on Mac and Linux clients 4 382
Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

821 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