summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/defconfig
diff options
context:
space:
mode:
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