FreeBSD Handbook
: PPP and SLIP
: Setting up User PPP
: Summary
Previous: Final system configuration
Next: Acknowledgments
15.1.7. Summary
To recap, the following steps are necessary when setting up ppp
for the first time:
Client side:
- Ensure that the tun device is built into your kernel.
- Ensure that the tunX device file is available in the
/dev
directory.
- Create an entry in
/etc/ppp/ppp.conf
. The
pmdemand
example should suffice for most
ISPs.
- If you have a dynamic IP address, create an entry in
/etc/ppp/ppp.linkup
.
- Update your
/etc/rc.conf
(or sysconfig
) file.
- Create a start_if.tun0 script if you require demand
dialing.
Server side:
- Ensure that the tun device is built into your kernel.
- Ensure that the tunX device file is available in the
/dev
directory.
- Create an entry in /etc/passwd (using the vipw(8)
program).
- Create a profile in this users home directory that
runs ``ppp -direct direct-server'' or similar.
- Create an entry in
/etc/ppp/ppp.conf
. The
direct-server
example should suffice.
- Create an entry in
/etc/ppp/ppp.linkup
.
- Update your
/etc/rc.conf
(or sysconfig
) file.
FreeBSD Handbook
: PPP and SLIP
: Setting up User PPP
: Summary
Previous: Final system configuration
Next: Acknowledgments