From 4a1af8218a5070960387f2b0616fbe9ba3da69ab Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Tue, 1 Nov 2011 09:23:31 +0000 Subject: [PATCH] ar71xx/all0258n: add default config This adds default network and uboot-env settings for the ALL0258N. Signed-off-by: Daniel Golle git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28699 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../ar71xx/base-files/etc/defconfig/all0258n/network | 12 ++++++++++++ .../base-files/etc/defconfig/all0258n/ubootenv | 5 +++++ 2 files changed, 17 insertions(+) create mode 100644 target/linux/ar71xx/base-files/etc/defconfig/all0258n/network create mode 100644 target/linux/ar71xx/base-files/etc/defconfig/all0258n/ubootenv 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 index 0000000000..81ddd9fb29 --- /dev/null +++ b/target/linux/ar71xx/base-files/etc/defconfig/all0258n/network @@ -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 index 0000000000..31af7266e4 --- /dev/null +++ b/target/linux/ar71xx/base-files/etc/defconfig/all0258n/ubootenv @@ -0,0 +1,5 @@ +config ubootenv + option dev /dev/mtd1 + option offset 0x0 + option envsize 0x10000 + option secsize 0x10000