ATTENTION! The following description is for pppd 2.2.0, so if you have installed pppd >=2.3
(all Mfl III users have this) read descriptions for
pppd 2.3.x
first! The files in /etc/ppp/peers/ are the same as the /etc/ppp/options file, so you can follow
the instructions below.
A little sidewalk, the pppd "looks" first if there exists a /home/.ppprc file, after
that he "looks" for /etc/ppp/options.ttyx and at last for /etc/ppp/options.
So you can individually configure the pppd to your needs.
Now I tell you how to configure a standard ISP entry with PPP and PAP-authentication.
As an example I use my own provider, you should have got the similiar informations
from your internet provider(So don't use mine.:):
User m.kehr
password secret
nameserver1 194.97.97.10
nameserver2 194.97.97.15
domain ndh.net
SMTP-Server mail.ndh.net
POP-Server mail.ndh.net
NNTP-Server news.ndh.net
Now you're loading the /etc/ppp/options file to your text editor (which can handle
unix line ends!), this file is already commented. Example is my own provider NDH.
# Example options for NDH
# Mfl-project
# Put tty device here (ttya=modem1 etc.) look also at MINT.CNF
/dev/ttyb
# Device speed
115200
# Please keep your hands off for now
crtscts
lock
modem
debug ----- when everything works, you can delete this
noipdefault
defaultroute
-vj
asyncmap 0
netmask 255.255.255.0
# The values for mtu and mru you will get from your provider
mru 1500
mtu 1500
# Put your user word (Example from above)
user m.kehr
# From this point chat is executed with the chat script
connect "/usr/etc/chat -f /etc/ppp/pppchat.ndh"
^ You can put -v here, to get more
(error)-messages from chat
In this place you only have to enter the device (/dev/ttya for modem1,
/dev/ttyb for modem2 and so on) and the device speed, all other entries can be
left in peace.
In the variable 'user' you have to enter your user identifier that you have got
from your provider, in my case it's m.kehr, see above.
Some words to the IP, most providers today handle your access with dynamic IP's, that
means you got your IP automatically from your provider when you establish a connection. In this
case you have not to change anything. If your provider offers only static IP's, you have to
enter the IP you've got from your provider in the following way to your options file:
Local IP:Remote IP
Naturally not exactly this, but for Local IP you give your own IP and for
Remote IP you give the IP you've got from your provider. It doesn't matter in which place
in your options the line is. For example:
192.168.0.10:192.32.0.17