Subject: Re: Internet connection via Kernel PPPoE is not working
To: None <carstenlaux@online.de>
From: uhel <uhel@gmx.net>
List: netbsd-help
Date: 01/10/2005 16:57:30
Hi Carsten,

> Hi,

[....]

> create
> # Mark the physical interface used by this PPPoE interface up
> ! /sbin/ifconfig ne0 up
> # Let $int use ne0 as its Ethernet interface
> ! /sbin/pppoectl -e ne0 $int
> # Configure authentication

you need to replace the ne0 nic with the nic you'll like to use..

> ! /sbin/pppoectl $int idle-timeout=60 myauthproto=pap
> 'myauthname=XXX' 'myauthsecret=YYY' hisauthproto=none
> # Configure the PPPoE interface itself. These addresses are magic
> # meaning we don't care about either address and let the remote
> # ppp choose them.
> 0.0.0.0 0.0.0.1 link1 up
> ! /sbin/route add default -iface 0.0.0.1

> Then I set this sysctl variable:
> # Obey interface MTUs when calculating MSS
> net.inet.tcp.mss_ifmtu=1

For a gateway you also need to activate forwarding. Add
'net.inet.ip.forwarding=1' to your /etc/sysctl.conf.

[...]

> In the Manual Pages from NetBSD 2.0 the Connection Scripts are a
> little bit different as they are in the FAQ´s. I tried parts of the
> examples with the same result.

> I would be grateful for any help.

@Online.de... should be german ;) Maybe you'll have a look at this:
http://www.newbie-net.de/anleitung_netbsd_router.html (german text)

> Regards
> Carsten Laux

regards Uli

--
  _     mailto:uhel@gmx.net
 ( )            --
  x    ASCII RIBBON CAMPAIGN
 / \     AGAINST HTML MAIL