?
Solved

How do I set PPP under LINUX

Posted on 1997-01-31
1
Medium Priority
?
333 Views
Last Modified: 2013-12-15
I have just installed LINUX 2.0.0 and have made most of my devices to work. Now I want to set up my PPP so that I can dial out. I have read instructions from 4 different books, but I still have not be able to setup PPP yet. Can someone tell me which files do I need to have created under LINUX (and at which directories) with their real names, and what are the minimum info needed in them to have the PPP setup. I have set PPP accounts under NT and windows 3.11 with great success before, but LINUX is surely different!!
0
Comment
Question by:tolis
[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
1 Comment
 
LVL 1

Accepted Solution

by:
mstonge earned 100 total points
ID: 1626715
Hi first let me suggest to look at the following URL and even print it if you can because it's the bible for PPP on Linux:
http://sunsite.unc.edu/LDP/HOWTO/PPP-HOWTO.html

You have to determine the server type, login vs PAP/CHAP.  You also have to determine DNS but it is not required to get ppp up.

A common mistake is to try to run pppd as a regular user without changing the file permission on pppd.   pppd is meant to be run by root but if you use it as a user, change its permission as follows:
chmod u+s /usr/sbin/pppd

Now back to your configuration, go to the documentations above and head into chapter 11.

Your ppp distribution came with a ppp-on script that is not great.  Is is probable that you are using dynamic IP, default gateway to the ISP so here are some more popular options:

pppd asyncmap 0 -detach modem crtscts defaultroute /dev/$DEVI

I am assuming that your modem works properly and that it actually dials out.  If it does not we are still OK but you will have to see if you can talk to your modem.  If you can't get back to me and we will resolve that one first.

Marc St-Onge
mstonge@jklmicro.com
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

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). …
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
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…
Suggested Courses

719 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