On Mon, Mar 03, 2003 at 05:05:50PM -0800, [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
        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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to