From owner-freebsd-questions Tue Mar 4 7:59:11 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D844F37B401 for ; Tue, 4 Mar 2003 07:59:09 -0800 (PST) Received: from mail.chakradeo.net (adsl-63-207-141-252.dsl.sndg02.pacbell.net [63.207.141.252]) by mx1.FreeBSD.org (Postfix) with SMTP id 822DB43F93 for ; Tue, 4 Mar 2003 07:59:08 -0800 (PST) (envelope-from sdbug@spam.chakradeo.net) Received: (qmail 13652 invoked by uid 1001); 4 Mar 2003 15:59:07 -0000 Date: Tue, 4 Mar 2003 07:59:07 -0800 From: Amit Chakradeo To: sdbug@sdbug.org Cc: questions@freebsd.org Subject: Re: [SDBUG] SBC DSL vs Fbsd 4.7 PPPoE? Message-ID: <20030304155907.GA21111@mail.chakradeo.net> Mail-Followup-To: sdbug@sdbug.org, questions@freebsd.org References: <20030304010550.F214264C2E@mail.cloud9.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030304010550.F214264C2E@mail.cloud9.net> User-Agent: Mutt/1.5.3i 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 On Mon, Mar 03, 2003 at 05:05:50PM -0800, Hostmaster@Video2Video.Com wrote: > How-do. Has anyone gotten SBC's DSL service working on FreeBSD? Yes. > I've tinkered with netgraph, pppoe, and my ppp.conf file but still get an > error about device tun0 or tun1; I'm not sure what to do. man ppp man 8 pppoe It works with generic kernel. ppp loads the netgraph module automatically. Here is what you need to have in rc.conf: ifconfig_rl0="up" ppp_enable="YES" ppp_mode="ddial" ppp_nat="YES" ppp_profile="SBC" Then in ppp.conf you have: default: set log Phase tun command set ifaddr 10.0.0.1/0 10.0.0.2/0 SBC: set device PPPoE:rl0 set authname myusername@sbcglobal.net set authkey mypassword set dial set login add default HISADDR Note, my external interface is rl0 and ppp_profile points to relevant stanza in ppp.conf You can also add line in /etc/ppp/ppp.linkup to update the ipnat and ipf rules. Use tun0 as the external interface. DO not filter on rl0. Email me privately if you need help... Amit > > Also, how do I know what hostname to set in my rc.conf file ... before > I've been assigned a dynamic IP?? > > Please CC: me in your reply. Thank you all. PS-(SDBUG, next mtg?) > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message