PPP (Point-to-Point Protocol) is commonly used in establishing a direct connection between two networking nodes. It can provide connection authentication, transmission encryption, and compression.
|activefilter||No||Enables active filter support|
|atm||No||Enables ATM (Asynchronous Transfer Mode) protocol support|
|dhcp||No||Installs PPP DHCP client plugin for IP address allocation by a DHCP server (see http://www.netservers.co.uk/gpl/)|
|eap-tls||No||Enables support for Extensible Authentication Protocol and Transport Level Security (see http://www.nikhef.nl/~janjust/ppp/index.html)|
|gtk||No||Installs GTK+ password prompting program that can be used by passprompt.so PPP plugin for reading the password from a X11 input terminal|
|ipv6||Yes||Enables support for IP version 6|
|pam||Yes||Enables PAM (Pluggable Authentication Modules) support|
|radius||No||Enables RADIUS support|
Portage has a USE flag ppp for enabling support for PPP for other packages.
After setting global USE flags update your system to the changes take effect:
Or emerge net-dialup/ppp package manually:
Following kernel options need to be enabled, to support PPPoE, which is used in most cases.
|PPP BSD-Compress compression||ppp_bsdcomp||(Not recommended) Support for data compression. "PPP Deflate compression" is preferable.|
|PPP filtering||-||Support for packet filtering.|
|PPP MPPE compression (encryption)||ppp_mppe||Driver for Microsoft Point-to-Point Encryption.|
|PPP multilink support||-||Support for PPP multilink to combine serveral lines.|
|PPP over Ethernet||pppoe||Driver for PPPoE.|
|PPP support for sync tty ports||ppp_sync_tty||Support for synchronous devices.|
Finally you need to rebuild linux, install and boot new kernel with PPP support.
Provided eth0 following lines should be added for PPPoE connection:
Create an init script for the PPP device by symlinking to net.lo: