Navigation Bar Top Applications Support Documentation Vendors Search Index Top Top
FreeBSD Handbook : PPP and SLIP : Setting up User PPP
Previous: PPP and SLIP
Next: Before you start

15.1. Setting up User PPP

User PPP was introduced to FreeBSD in release 2.0.5 as an addition to the existing kernel implementation of PPP. So, what is different about this new PPP that warrants its addition? To quote from the manual page:

This is a user process PPP software package. Normally, PPP is implemented as a part of the kernel (e.g. as managed by pppd) and it is thus somewhat hard to debug and/or modify its behavior. However, in this implementation PPP is done as a user process with the help of the tunnel device driver (tun).

In essence, this means that rather than running a PPP daemon, the ppp program can be run as and when desired. No PPP interface needs to be compiled into the kernel, as the program can use the generic tunnel device to get data into and out of the kernel.

From here on out, user ppp will be referred to simply as ppp unless a distinction needs to be made between it and any other PPP client/server software such as pppd. Unless otherwise stated, all commands in this section should be executed as root.

There are a large number of enhancements in version 2 of ppp. You can discover what version you have by running ppp with no arguments and typing show version at the prompt. It is a simple matter to upgrade to the latest version of ppp (under any version of FreeBSD) by downloading the latest archive via www.Awfulhak.org.

15.1.1. Before you start

15.1.2. Building a ppp ready kernel

15.1.3. Check the tun device

15.1.4. Name Resolution Configuration

15.1.4.1. Edit the /etc/host.conf file
15.1.4.2. Edit the /etc/hosts(5) file
15.1.4.3. Edit the /etc/resolv.conf file

15.1.5. PPP Configuration

15.1.5.1. PPP and Static IP addresses
15.1.5.2. PPP and Dynamic IP addresses
15.1.5.3. Receiving incoming calls with PPP
15.1.5.4. PAP and CHAP authentication
15.1.5.5. Changing your ppp configuration on the fly

15.1.6. Final system configuration

15.1.7. Summary

15.1.8. Acknowledgments


FreeBSD Handbook : PPP and SLIP : Setting up User PPP
Previous: PPP and SLIP
Next: Before you start
[email protected]
Updated March 2, 1999