Date: Tue, 4 Mar 2003 07:59:07 -0800 From: Amit Chakradeo <sdbug@spam.chakradeo.net> 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> In-Reply-To: <20030304010550.F214264C2E@mail.cloud9.net> References: <20030304010550.F214264C2E@mail.cloud9.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030304155907.GA21111>
