also sprach Mathieu Lemaitre <[email protected]> [2009.09.08.1452 
+0200]:
> pppoe-server kernel mode is still unavailable in debian lenny (pppoe
> 3.8-3). the only way to do it is to include a line "#define
> HAVE_LINUX_KERNEL_PPPOE 1" in pppoe-server.c, then "pppoe-server -k"
> works. with this, my cpu load decreased from 100 to 5%
> 
> is there an easier way to get it work in debian lenny ? any fix since
> 2005 ?

I think you want to use rp-pppoe.so (a userspace driver), like so in
the /etc/ppp/peers/dsl-provider file:

  plugin rp-pppoe.so eth1

That plugin is in the pppoe package. Alternatively, you can use
/usr/sbin/pppoe as described in the /etc/ppp/peers/dsl-provider
example shipped by the pppoe package.

You can then use a stanza in /etc/network/interfaces to configure it:

  auto dsl
  iface dsl inet ppp
    pppoe-iface eth1
    provider dsl-provider
    pre-up ip link set $IF_PPPOE_IFACE up
    pre-up ip addr flush dev $IF_PPPOE_IFACE
    down ip link set $IF_PPPOE_IFACE down

and finally run 'ifup dsl' as root.

-- 
 .''`.   martin f. krafft <[email protected]>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to