install pppoe, pppoeconf, pppstatus. configure pppoe with pppoeconf. Choose start at boot-time.

Config-files are in /etc/ppp. The main config-file for dsl is /etc/ppp/peers/dsl-provider. Read man-page pppd for more options.

If you want dial-on-demand the you must activate this in dsl-provider:

         idle 300

Edit /etc/ppp/ppp-on-boot.dsl.

Append line

echo 2 > /proc/sys/net/ipv4/ip_dynaddr

to ppp-on-boot.dsl or /etc/init.d/ This prevents errors with dynamic IPs when using dial-on-demand.

To enable ppp create a link /etc/ppp/ppp-on-boot to /etc/ppp/ppp-on-boot.dsl. To disable ppp just remove the link.