Previous Next Contents

5. Authentication files

5.1 What goes into the /etc/ppp/pap-secrets file? Do you have a sample?

The PAP protocol is most often implemented as your user name and password. You need to include the name of the remote system, your account name, and the password. If the user on abbot wishes to call costello, the entry would be similar to the following.

   #account   remote     password     IP address list
   abbot      *          firstbase

5.2 What goes into the /etc/ppp/chap-secrets file? Do you have a sample?

The most common problem is that people don't recognize that CHAP deals with a pair of secrets. Both computers involved in the link must have both secrets to work.

For example, if abbot wants to talk to costello, then abbot's file would have:

   #remote    local      secret       IP address list
   abbot      costello   firstbase    10.10.10.2
   costello   abbot      who          10.10.10.1

And costello's file would have:

   #remote    local      secret       IP address list
   abbot      costello   firstbase    10.10.10.2
   costello   abbot      who          10.10.10.1


Previous Next Contents