summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/defconfig
diff options
context:
space:
mode:
authoragb <agb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-26 05:54:07 +0000
committeragb <agb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-26 05:54:07 +0000
commit5a829455cb922742a6e02c7e3200d3395fd75383 (patch)
treef7d4fb10be8466af0b981573b8a02e3af5f82f0a /target/linux/ar71xx/base-files/etc/defconfig
parenta1a27e73363abcc8f30f131d75b52d3ee2ea14a8 (diff)
[ar71xx] defconfig: move defaults from /etc/config/defaults/ to /etc/defconfig/, previous location broke uci
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14662 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/defconfig')
-rw-r--r--target/linux/ar71xx/base-files/etc/defconfig/generic/network16
-rw-r--r--target/linux/ar71xx/base-files/etc/defconfig/mzk-w04nu/network16
-rw-r--r--target/linux/ar71xx/base-files/etc/defconfig/tl-wr941nd/network19
3 files changed, 51 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/generic/network b/target/linux/ar71xx/base-files/etc/defconfig/generic/network
new file mode 100644
index 000000000..2d4d8e012
--- /dev/null
+++ b/target/linux/ar71xx/base-files/etc/defconfig/generic/network
@@ -0,0 +1,16 @@
+config interface loopback
+ option ifname lo
+ option proto static
+ option ipaddr 127.0.0.1
+ option netmask 255.0.0.0
+
+config interface lan
+ option ifname eth0
+ option type bridge
+ option proto static
+ option ipaddr 192.168.1.1
+ option netmask 255.255.255.0
+
+config interface wan
+ option ifname eth1
+ option proto dhcp
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/mzk-w04nu/network b/target/linux/ar71xx/base-files/etc/defconfig/mzk-w04nu/network
new file mode 100644
index 000000000..2d4d8e012
--- /dev/null
+++ b/target/linux/ar71xx/base-files/etc/defconfig/mzk-w04nu/network
@@ -0,0 +1,16 @@
+config interface loopback
+ option ifname lo
+ option proto static
+ option ipaddr 127.0.0.1
+ option netmask 255.0.0.0
+
+config interface lan
+ option ifname eth0
+ option type bridge
+ option proto static
+ option ipaddr 192.168.1.1
+ option netmask 255.255.255.0
+
+config interface wan
+ option ifname eth1
+ option proto dhcp
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/tl-wr941nd/network b/target/linux/ar71xx/base-files/etc/defconfig/tl-wr941nd/network
new file mode 100644
index 000000000..65f6c3fc6
--- /dev/null
+++ b/target/linux/ar71xx/base-files/etc/defconfig/tl-wr941nd/network
@@ -0,0 +1,19 @@
+config interface loopback
+ option ifname lo
+ option proto static
+ option ipaddr 127.0.0.1
+ option netmask 255.0.0.0
+
+config interface eth
+ option ifname eth0
+
+config interface lan
+ option ifname "lan1 lan2 lan3 lan4"
+ option type bridge
+ option proto static
+ option ipaddr 192.168.1.1
+ option netmask 255.255.255.0
+
+config interface wan
+ option ifname wan
+ option proto dhcp