From owner-freebsd-questions Thu Nov 22 13:39:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tomts12-srv.bellnexxia.net (tomts12.bellnexxia.net [209.226.175.56]) by hub.freebsd.org (Postfix) with ESMTP id D66DB37B405 for ; Thu, 22 Nov 2001 13:39:37 -0800 (PST) Received: from xena.gsicomp.on.ca ([199.243.149.34]) by tomts12-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20011122213936.FAOV18252.tomts12-srv.bellnexxia.net@xena.gsicomp.on.ca>; Thu, 22 Nov 2001 16:39:36 -0500 Received: from hermes (memmerto@hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.1/8.11.1) with SMTP id fAMLVOW41244; Thu, 22 Nov 2001 16:31:24 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <006f01c1739e$2e2b6f30$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: Cc: References: <000d01c17381$94666b00$7301a8c0@eagle.ca> <000c01c17393$fd7255c0$660f129f@bro5637> <3.0.5.32.20011122151000.010034b0@mail.sage-american.com> Subject: Re: high speed internet connection and lesstif question Date: Thu, 22 Nov 2001 16:39:34 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG There is a long and convoluted explanation for that. I may be a bit off, but Brian Somers cleared me up on a lot of things wrt this earlier on this week, so here's everything in one place for the benefit of the archives. In the beginning, you had to have 'options NETGRAPH' in the kernel to use any of the netgraph widgets, and widgets could be dynamically loaded when you needed them. (So, for PPPoE, it would dyanmically load the pppoe, socket and ether widgets, with the base netgraph module being part of the kernel.) This worked just fine in 3.4-RELEASE, but broke in 4.0-RELEASE (and remains so.) The handbook was then updated to say that you needed to have all four netgraph options compiled into your kernel. This would ensure that it would never have to dynamically load modules and bail out. Somewhere after 4.0-REL (between 4.2-REL and 4.3-REL?), the FreeBSD gods made some changes so 'options NETGRAPH' *wasn't* required in your kernel anymore - it too could be loaded dynamically. So if you didn't have anything in your kernel and wanted to use PPPoE, the 'ppp' program would dynamically load the required modules and all would be well. In summary, to use PPPoE now, you don't need to modify your kernel -- everything will be loaded on the fly. However, if you want to have the support statically-linked in your kernel, be sure to add all 4 required components for PPPoE, otherwise you'll have problems. -- Matt Emmerton > > Really? This is still goofy? I re-read over the PPPoE section in the > handbook and was happy to see you could just run with it without compiling. > I wonder why the handbook would suggest recompiling the kernel with the four > options is not required when you say it is? Odd. > > > Ver 4.4 (and I believe 4.3) will indeed take care of the NETGRAPH stuff, > but has to load it on the fly if not compiled into the kernel.... prior ro > 4.3, I believe it HAS to be compiled. > > At 03:39 PM 11.22.2001 -0500, ScaryG wrote: > >> I believe your [Fuji Zhang's] best bet is to forget the USB, > >> part with you're $25 -> $30 (CDN) and pick up an > >> ethernet card. Make sure it's on this list: > >> > >> ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/4.4-RELEASE/HARDWARE.TXT > > > > Couldn't agree more! > > > >> A few good reasons to stick with Ethernet: > >> > >> - It will also work with a cable modem if you decide to try Rogers/Shaw > >> - or any other ISP's DSL package > >> - If you decide to share the connection with more than 1 computer via BB > >> router (Link-Sys, SMC Barricade, etc) you'll already be prepared. These > >> goodies cost under $140 CDN and you get the benefit of an IP firewall as > >> well. > > > > More good info. I often wondered if I should have just broke down and > >bought a Netgear RT314 and saved me some grief configuring my FreeBSD box > >but hey, I had all the stuff here and it didn't cost me anything but time. I > >have two NICS in my box in which the second feeds a hub and my other > >machines. > > > > But for those not willing to goof around with NAT and IPFW in addition to > >trying PPPoE the Internet Gateway gadgets are a nice idea. > > > >> ScaryG has it right about the ppp.conf and kernel config. I -did- have to > >> re-compile my 4.4 kernel to get it to work, the handbook does appear to be > >> wrong on this. > > > > Really? This is still goofy? I re-read over the PPPoE section in the > >handbook and was happy to see you could just run with it without compiling. > >I wonder why the handbook would suggest recompiling the kernel with the four > >options is not required when you say it is? Odd. > > > > Oh well, rock on with your bad self. > > > >-- > >I can please only one person per day. Today is not your day. > >Tomorrow isn't looking good either. > > > > > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-questions" in the body of the message > > > > > > Best regards, > Jack L. Stone, > Server Admin > > Sage-American > http://www.sage-american.com > jacks@sage-american.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message