Solved

pppd and authentication

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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…

820 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