Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 1999 22:53:56 -0500
From:      Mathew Kanner <mat@cs.mcgill.ca>
To:        mark <mp@luthier.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: PPPoE
Message-ID:  <19991222225356.B23214@cs.mcgill.ca>
In-Reply-To: mark's message [PPPoE] as of Wed, Dec 22, 1999 at 10:23:38PM -0500
References:  <XFMail.991222222338.mp@luthier.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 22, mark wrote:
> dear sirs,
> 
> my ISP is now using ppp over ethernet to establish a DSL connection.
> i understand this is supported in 3.4 through the netgraph system,
> but as a newbie (and dumbass) the man pages for netgraph and pppoe
> read more like old stereo instructions than anything i'm used to in
> the freeBSD handbook or GAQ.  might i suggest that you consider the
> establishment of a pppoe DSL connection as one of your FAQ,
> especially considering the fact that most ISP's seem to be moving in
> this direction for their DSL.  something like that would be a great
> help to those of us who use and like freeBSD as a bulletproof and
> exceptional OS, instead of being technogeeks.  i've had to use linux
> since my ISP went PPPoE and i've love to switch back...
> 
> mark pullen 

This is what I need to do PPPoE on -current system at home.
   -the interface is ed0
   -it uses the /modules/ng-* modules
   -should probably have a tun device in the kernel
   -as well as the following line your kernel config

options         NETGRAPH                #netgraph(4) system

/etc/ppp/ppp.conf
------------------
default:
 set log Phase tun command

pppoe:
 set device PPPoE:ed0:
 set mru 1492
 set mtu 1492
 set speed sync
 enable lqr
 set cd 5
 set dial
 set login
 set redial 0 0
 set authname b1XXXXXXX@sympatico.ca
 set authkey YYYYYYYY
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR
 enable dns
------------------

/usr/local/etc/rc.d/000pppoe.sh
------------------
#!/bin/sh

  ifconfig ed0 1.1.1.1 netmask 255.255.255.255 > /dev/null
  ppp -dedicated pppoe  > /dev/null
  echo -n 'PPPoE '
------------------

        I don't know if the ifconfig part is needed, it just works for
me.  I think there is more info in /usr/share/examples/ppp.

        --Mat




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991222225356.B23214>