Unifix knowledge database - The original one

Dashboard - News - Search - List - About - Admin


PPPoE (router) i freebsd

Author:mike - Fri Mar 7 11:35:28 2003

To enable PPPoO in freebsd, your /etc/ppp/ppp.conf should look like this:

default:
  set log Phase tun command
  set ifaddr 10.0.0.1/0 10.0.0.2/0

internet:
  set device PPPoE:INTERFACE
  set authname USERNAME
  set authkey PASSWORD
  set dial
  set login
  add default HISADDR

Now "ppp -ddial internet" will connect you to the internet, there must be no default route prior to this.

If you want to setup the machine to connect to the internet on bootup, insert the following in /etc/rc.conf , 'ppp_nat="YES"' make freebsd share the internet connection.


ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="YES"
ppp_profile="internet"


Copyright(c) Unifix.org 2002-2011


Dashboard - News - Search - List - About - Admin
 
Powered by Mikjaer Consulting Solutions - Hosted by Specialhosting.dk