Solved

How do I set PPP under LINUX

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Guacamole cut and paste issue 3 74
How to have a cron job run until a condition is met 12 66
Debug VNC connection on CentOS7 server 22 86
expectj telnet failing 5 36
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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…
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.

809 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