Recently I needed to setup a new XS4all line (yes, my first choice when delivering new DSL lines in the Netherlands), for the first time though I was connecting my soekris (Tinybsd build) to this kind of XS4all line (my other ones are either routed through a router and the other one is a former BBned line) so i needed some puzzling:

With mpd and a load of netgraph modules I obtained a working configuration, the external IP is mounted on my soekris, and my statetables are used directly instead of depending on the router/modem device behind it.

My mpd.conf:

startup:
# configure mpd users
set user remko
# configure the console
set console self 127.0.0.1 5005
set console open
# configure the web server
set web self 0.0.0.0 5006
set web open

default:
load pppoe_client

pppoe_client:
#
# PPPoE client: only outgoing calls, auto reconnect,
# ipcp-negotiated address, one-sided authentication,
# default route points on ISP’s end
#

create bundle static B1
set iface route default
set ipcp ranges 0.0.0.0/0 0.0.0.0/0

create link static L1 pppoe
set link action bundle B1
set auth authname insertyourusernamehere@xs4all.nl
set auth password somepassthiscanbeanythingyouwant
set link max-redial 0
set link mtu 1460
set link keep-alive 10 60
set pppoe iface vr0
set pppoe service “”
open

With the following netgraph modules:

13 8 0xc31f4000 b000 netgraph.ko
14 1 0xc3203000 4000 ng_ipacct.ko
15 1 0xc3215000 6000 ng_pppoe.ko
16 1 0xc321b000 4000 ng_socket.ko
17 1 0xc3224000 4000 ng_ether.ko
18 1 0xc322e000 3000 ng_tee.ko
19 1 0xc3248000 4000 ng_iface.ko
20 1 0xc324c000 7000 ng_ppp.ko

Hopefully this helps others that want to play around with this :-) Goodluck!

Share →

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>