From owner-freebsd-questions Wed Dec 22 19:54: 4 1999 Delivered-To: freebsd-questions@freebsd.org Received: from milquetoast.cs.mcgill.ca (milquetoast.CS.McGill.CA [132.206.2.5]) by hub.freebsd.org (Postfix) with ESMTP id C99DC14DBD for ; Wed, 22 Dec 1999 19:54:00 -0800 (PST) (envelope-from mat@milquetoast.cs.mcgill.ca) Received: (from mat@localhost) by milquetoast.cs.mcgill.ca (8.8.8/8.8.8) id WAA24523; Wed, 22 Dec 1999 22:53:56 -0500 (EST) Date: Wed, 22 Dec 1999 22:53:56 -0500 From: Mathew Kanner To: mark Cc: questions@FreeBSD.ORG Subject: Re: PPPoE Message-ID: <19991222225356.B23214@cs.mcgill.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.94.15i In-Reply-To: mark's message [PPPoE] as of Wed, Dec 22, 1999 at 10:23:38PM -0500 Organization: SOCS, McGill University, Montreal, CANADA Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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