Solved

pppd and authentication

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now