PPP Over Ethernet (PPPoE)
Many xDSL users must set up nonpersistent PPP-based connections over an Ethernet interface; this is the case, for instance, when an ADSL modem connected to the FreeBSD machine via Ethernet does the dialing. PPPoE can be used in FreeBSD with only a few minor additions to the user PPP configuration file.
Create a new /etc/ppp/ppp.conf file as shown in Listing 24.1, replacing fxp0 with the name of your Ethernet device connected to the xDSL modem (if necessary), myisp with a keyword identifying your ISP, remoteaddr with the remote dial-up server’s contact IP address and yourname and yourpassword with your username and password used for logging in via PPP.
Listing 24.1. A Sample PPPoE Configuration File
default: set device ... |
Get FreeBSD6 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.