Solved

How do I set PPP under LINUX

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

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…
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

705 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

13 Experts available now in Live!

Get 1:1 Help Now