This document assumes you are in roughly this position:
You have an account with an Internet Service Provider (ISP) which lets you use PPP. Further, you have a modem (or other device) connected and configured correctly which allows you to connect to your ISP.
You are going to need the following information to hand:
Your ISPs phone number(s).
Your login name and password. This can be either a regular unix style login/password pair, or a PPP PAP or CHAP login/password pair.
The IP addresses of one or more nameservers. Normally, you
will be given two IP numbers. You MUST have this
information for ppp version 1.X unless you run your own
nameserver. From version 2 onwards, ppp supports nameserver
address negotiation. If your ISP also supports this, then
using the command enable dns
in your config file
will tell ppp to set the nameservers up for you.
The following information may have been supplied by your ISP, but is not strictly necessary:
The IP address of your ISP's gateway. The gateway is the
machine to which you will connect and will be set up as your
default route
. If your ISP hasn't given you this
number, we can make one up and your ISP's PPP server will
tell us the correct value when we connect.
This IP number is referred to as HISADDR
by ppp.
Your ISP's netmask. If your ISP hasn't given you this information, you can safely use a netmask of 255.255.255.0.
If your ISP allocates you a static IP address and hostname then you can enter this information. Otherwise, we simply let the peer assign whatever IP number it sees fit.
If you do not have any of the required information, contact your ISP and make sure they provide it to you.