Solved

How do I set PPP under LINUX

Posted on 1997-01-31
1
327 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
1 Comment
 
LVL 1

Accepted Solution

by:
mstonge earned 50 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

756 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