Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Mar 2003 17:56:55 -0800 (PST)
From:      =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= <mbsd@pacbell.net>
To:        Hostmaster@Video2Video.Com
Cc:        questions@freebsd.org
Subject:   Re: SBC DSL vs Fbsd 4.7 PPPoE?
Message-ID:  <20030303173912.X6008-100000@atlas.home>
In-Reply-To: <20030304010550.F214264C2E@mail.cloud9.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 3 Mar 2003 Hostmaster@Video2Video.Com wrote:

> How-do.  Has anyone gotten SBC's DSL service working on FreeBSD?

Yes. Well, it was called PacBell DSL at the time, but it is still
working.  I pretty much just used the pppoe entry from
/usr/share/examples/ppp/ppp.conf.sample.  Something like this:

/etc/ppp/ppp.conf:
  sbc:
   # Replace "rl0" with your interface connected to the DSL box
   set device PPPoE:rl0
   # Hmmm... maybe these aren't needed anymore:
   set mru 1492
   set mtu 1492
   set speed sync
   enable lqr
   set cd 5
   set dial
   set login
   set redial 0 0
   set authname ********
   set authkey ********
   add default HISADDR

/etc/rc.conf:
  network_interfaces="rl0 lo0"
  # The pppoe interface has to be configured as "up".  Nothing else.
  ifconfig_rl0="up"
  ppp_enable="YES"
  ppp_mode="ddial"
  ppp_nat="YES"
  ppp_profile="sbc"

> 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.

Any chance that you might be a bit more specific?  (As in: exactly
what you did, and exactly what error messages that resulted in.
FreeBSD version might be useful information too).

Both "tun" and "netgraph" should be autoloaded by ppp(8).  Everything
should work out-of-the-box.  No tinkering required :-)

The only gotcha I can remember was that the interface used for PPPoE has
to be "ifconfig up" in order to be usable.  I don't even know whether
that is true any more.

> Also, how do I know what hostname to set in my rc.conf file ... before
> I've been assigned a dynamic IP??

Anything you want.  SBC won't care and it won't be visible to the
outside world anyway.

   $.02,
   /Mikko


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?20030303173912.X6008-100000>