aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-10-01 19:41:06 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-10-01 19:41:06 +0000
commitdd3b2ae8af2bb3d7d7607c8545d2e62d64959aee (patch)
treecf8f7d8c45b52d1db8789f7d90acb0d96bf510a5 /target/linux/ar71xx
parentfa59c658474125b454ee5a1212106c2f27c0cee6 (diff)
downloadupstream-dd3b2ae8af2bb3d7d7607c8545d2e62d64959aee.tar.gz
upstream-dd3b2ae8af2bb3d7d7607c8545d2e62d64959aee.tar.bz2
upstream-dd3b2ae8af2bb3d7d7607c8545d2e62d64959aee.zip
ar71xx: add default network configuration for the Bullet M
SVN-Revision: 17810
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r--target/linux/ar71xx/base-files/etc/defconfig/bullet-m/network12
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
2 files changed, 15 insertions, 0 deletions
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 0000000000..7c9fb63637
--- /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 6ef7605a54..aafeaa3932 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"
;;