Solved

How do I set PPP under LINUX

Posted on 1997-01-31
1
325 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

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…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

910 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

21 Experts available now in Live!

Get 1:1 Help Now