This is an old revision of the document!


Enable your box for getting internet access

Devices with one ethernet-port

The following lines can be used to exchange the behaviour of the LAN port to a WAN port

cp /etc/config/network /etc/config/network.backup
uci set network.wan=interface 
uci set network.wan.ifname=$( uci get network.lan.ifname )
uci set network.wan.macaddr=$( uci get network.lan.macaddr )  ## this line is needed at VoCore
uci set network.wan.proto=dhcp
uci del network.lan.ifname
uci commit

Additional steps on already installed PirateBox

FIXME

 /etc/init.d/piratebox nodns

Devices with a separate WAN Port

FIXME

No special setup needed, maybe see “Additional steps on already installed PirateBox”