ar71xx/all0258n: add default config
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 1 Nov 2011 09:23:31 +0000 (09:23 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 1 Nov 2011 09:23:31 +0000 (09:23 +0000)
This adds default network and uboot-env settings for the ALL0258N.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28699 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ar71xx/base-files/etc/defconfig/all0258n/network [new file with mode: 0644]
target/linux/ar71xx/base-files/etc/defconfig/all0258n/ubootenv [new file with mode: 0644]

diff --git a/target/linux/ar71xx/base-files/etc/defconfig/all0258n/network b/target/linux/ar71xx/base-files/etc/defconfig/all0258n/network
new file mode 100644 (file)
index 0000000..81ddd9f
--- /dev/null
@@ -0,0 +1,12 @@
+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 eth1'
+       option type     bridge
+       option proto    static
+       option ipaddr   192.168.1.1
+       option netmask  255.255.255.0
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/all0258n/ubootenv b/target/linux/ar71xx/base-files/etc/defconfig/all0258n/ubootenv
new file mode 100644 (file)
index 0000000..31af726
--- /dev/null
@@ -0,0 +1,5 @@
+config ubootenv
+       option dev      /dev/mtd1
+       option offset   0x0
+       option envsize  0x10000
+       option secsize  0x10000