From aef49b0447e8ffe4d77aac2e54f9cfd6b82683bd Mon Sep 17 00:00:00 2001 From: juhosg Date: Thu, 1 Oct 2009 19:41:06 +0000 Subject: [PATCH] ar71xx: add default network configuration for the Bullet M git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17810 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../ar71xx/base-files/etc/defconfig/bullet-m/network | 12 ++++++++++++ target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++ 2 files changed, 15 insertions(+) create mode 100644 target/linux/ar71xx/base-files/etc/defconfig/bullet-m/network diff --git a/target/linux/ar71xx/base-files/etc/defconfig/bullet-m/network b/target/linux/ar71xx/base-files/etc/defconfig/bullet-m/network new file mode 100644 index 000000000..7c9fb6363 --- /dev/null +++ b/target/linux/ar71xx/base-files/etc/defconfig/bullet-m/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 + 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/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 6ef7605a5..aafeaa393 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -19,6 +19,9 @@ ar71xx_board_name() { *AW-NR580) name="aw-nr580" ;; + *"Bullet M") + name="bullet-m" + ;; *LS-SR71) name="ls-sr71" ;; -- 2.35.1