* adds sane default uci environment * adds sane default package selection
[openwrt/openwrt.git] / target / linux / x86 / geos / base-files / etc / uci-defaults / network
diff --git a/target/linux/x86/geos/base-files/etc/uci-defaults/network b/target/linux/x86/geos/base-files/etc/uci-defaults/network
new file mode 100644 (file)
index 0000000..a30be95
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+uci batch <<__EOF__
+
+delete network.lan
+
+set network.lan=interface
+set network.lan.type=bridge
+set network.lan.ifname="eth0 eth1"
+set network.lan.proto=static
+set network.lan.ipaddr="192.168.1.1"
+set network.lan.netmask="255.255.255.0"
+set network.lan.nat=1
+
+commit network
+__EOF__