Pick a Free OS

User login

Navigation

Setting up PPP and KPPPD

to the original specified in „/etc/resolv.conf" when the connection

goes down. If it is left blank no changes are made to the domain name specified

in /etc/resolv.conf Add the Domain Name servers assigned to you by your ISP.

You must specify at least a Domain Name server for your OS to be able to resolve

human readable IP addresses such as ftp.kde.org. The DNS server addresses supplied

must be in numeric form, e.g 128.231.231.233. The addresses will be added at

runtime to „/etc/resolv.config".

If you are using PAP authentication then that's all you need to configure for

the account. If your ISP just gave you a user id and a password for a PAP account

the odds are that you can skip this section and that you will get by just reading

the next one entitled 'PAP with kppp'.

PAP seems a lot more complicated at first glance than it really is. The server

(the machine you are connecting to) basically tells the client (your machine)

to authenticate using PAP. The client (pppd) looks in a specific file for an

entry that contains a matching server name and client's name for this connection,

and then sends the password it finds there. That's about it! Now, here's how

to make that happen. We are assuming a pppd version of 2.2.0 and a standard

installation of configuration files under /etc/ppp.

For the purposes of illustration, pretend that we have an Internet account with

'glob.net', under the user name 'booger', and a password of 'foobar'. First,

we need to add all this to the file /etc/ppp/pap-secrets . The format of an

entry for our purposes, is:

USERNAME SERVERNAME PASSWORD

so we add the line:

booger glob foobar

to the file and save it.


Note: We can use any name for the server we wish as long as we use the same

name in the pppd arguments, as we'll see shortly. We have shortened it to 'glob'.

This name is just used to locate the correct password.


Now, we need to set up our connection in kppp. The basics are the same as any

other connection, and we won't go into details here, except to say that you

probably want to make sure that the /etc/ppp/options, is empty, and you probably

don't want any login script either. Now, in the settings dialog, at the bottom,

is the pppd arguments button. This brings up a dialog similar to the one used