PPP over EthernetSynopsis:PPP over Ethernet or just PPPoE is a common method used by Internet Service Providers or ISPs to provide end user Internet access with authentication via PPP (Point to Point Protocol). # # cd /etc/ppp # lsIf an existing ppp.conf file is found, then let us back it up. # # mv ppp.conf ppp.conf.org #Now, create a new ppp.conf and include the following: MyISP: set device PPPoE:re0 set authname ??????????? set authkey ******** set dial set login add default HISADDR Where re0 is the name of the interface facing the ISP, ???????? is the PPP username provided by your provider and ******* is the password provided by your provider. Save the file. Lastly, make sure the file is only readable by root. # # chmod 600 ppp.conf # Now add the following to your /etc/rc.conf file: ppp_enable="YES" ppp_mode="ddial" ppp_nat="YES" ppp_profile="MyISP" natd_enable="YES" natd_interface="re0" Connect your system and reboot. For more information, see the FreeBSD Handbook. |