From owner-freebsd-questions Sun Aug 13 14: 0:43 2000 Delivered-To: freebsd-questions@freebsd.org Received: from xena.gsicomp.on.ca (gsi.enoreo.on.ca [209.82.52.145]) by hub.freebsd.org (Postfix) with ESMTP id 06BF037B66F for ; Sun, 13 Aug 2000 14:00:29 -0700 (PDT) (envelope-from matt@gsicomp.on.ca) Received: from matt (cr677933-a.ktchnr1.on.wave.home.com [24.42.130.87]) by xena.gsicomp.on.ca (8.10.1/8.9.2) with SMTP id e7DL05K78071; Sun, 13 Aug 2000 17:00:05 -0400 (EDT) (envelope-from matt@gsicomp.on.ca) Message-ID: <00ba01c00569$90e9f2d0$1200a8c0@matt> From: "Matthew Emmerton" To: "David J. Kanter" , "FreeBSD questions" References: <20000813144811.A18380@localhost.localdomain> Subject: Re: PPPoE and dhclient for DSL? Date: Sun, 13 Aug 2000 17:00:50 -0400 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.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I'm a little confused on what I need to configure for my upcoming DSL > connection that uses PPPoE: Do I need to simply configure PPPoE, or > must I configure PPPoE *and* dhclient? > > My address will be dynamically assigned, and it seems that both PPPoE > and dhclient take care of this. But after a little more reading, it > seems that dhclient is for a true Ethernet, whereas I should stick > with PPPoE, right? Exactly. If your ISP is using PPPoE, then you can forget all about DHCP. > Do I have to make changes to /etc/rc.conf like this: > > ifconfig_xl0="DHCP" > > or should I just leave it alone, since my PPPoE connection will be > using the tun0 device? Leave it alone. Here's a piece of my ppp.conf which configures tun0 and your choice of ethernet device to do PPPoE. (You'd change ed1 to xl0). Note that this uses netgraph, so you need to have 3.4-RELEASE or newer, plus the appropriate kernel configuration to use it. (options NETGRAPH needs to be specified.) mydsl: set device PPPoE:ed1 set authname name set authkey pass set mru 1492 set mtu 1492 set speed sync set cd 5 set dial set login set redial 10 10 enable lqr -- Matthew Emmerton GSI Computer Services +1 (800) 217-5409 (Canada) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message