ar71xx: add default network configuration for RS and RS-Pro
authorGabor Juhos <juhosg@openwrt.org>
Tue, 20 Oct 2009 19:36:47 +0000 (19:36 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 20 Oct 2009 19:36:47 +0000 (19:36 +0000)
SVN-Revision: 18103

target/linux/ar71xx/base-files/etc/defconfig/routerstation-pro/network [new file with mode: 0644]
target/linux/ar71xx/base-files/etc/defconfig/routerstation/network [new file with mode: 0644]
target/linux/ar71xx/base-files/lib/ar71xx.sh

diff --git a/target/linux/ar71xx/base-files/etc/defconfig/routerstation-pro/network b/target/linux/ar71xx/base-files/etc/defconfig/routerstation-pro/network
new file mode 100644 (file)
index 0000000..ff7b42d
--- /dev/null
@@ -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   eth1
+       option type     bridge
+       option proto    static
+       option ipaddr   192.168.1.1
+       option netmask  255.255.255.0
+
+config interface wan
+       option ifname   eth0
+       option proto    dhcp
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/routerstation/network b/target/linux/ar71xx/base-files/etc/defconfig/routerstation/network
new file mode 100644 (file)
index 0000000..ff7b42d
--- /dev/null
@@ -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   eth1
+       option type     bridge
+       option proto    static
+       option ipaddr   192.168.1.1
+       option netmask  255.255.255.0
+
+config interface wan
+       option ifname   eth0
+       option proto    dhcp
index aafeaa3932dd7c0bed99275839325d59ae678359..f8c46ac2bf49188a257411635e1b357fb5dde526 100755 (executable)
@@ -52,6 +52,9 @@ ar71xx_board_name() {
        *RouterStation)
                name="routerstation"
                ;;
+       *"RouterStation Pro")
+               name="routerstation-pro"
+               ;;
        *TEW-632BRP)
                name="tew-632brp"
                ;;