Differences
This shows you the differences between two versions of the page.
Last revision Both sides next revision | |||
openwrt:internet_enabling [2013/11/12 20:56] matthias created basic mockup for Network configuration |
openwrt:internet_enabling [2014/11/30 14:52] matthias [Devices with one ethernet-port] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Enable your box for getting internet access ====== | ====== Enable your box for getting internet access ====== | ||
===== Devices with one ethernet-port ===== | ===== Devices with one ethernet-port ===== | ||
- | FIXME | + | 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 ==== | ==== Additional steps on already installed PirateBox ==== | ||
FIXME | FIXME |