diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-12-10 17:57:48 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-12-10 17:57:48 +0000 |
commit | 5b0c83edd9b5f8286dfbf31fc7b6e0993a9fe91a (patch) | |
tree | 104b5223bf788efd477f36d575d540fdb579c476 /target/linux/ar71xx/base-files/etc | |
parent | 912a140b19f36cb50bfffcc39ceb7bece8d439a6 (diff) | |
download | mtk-20170518-5b0c83edd9b5f8286dfbf31fc7b6e0993a9fe91a.zip mtk-20170518-5b0c83edd9b5f8286dfbf31fc7b6e0993a9fe91a.tar.gz mtk-20170518-5b0c83edd9b5f8286dfbf31fc7b6e0993a9fe91a.tar.bz2 |
ar71xx: add support for the TP-LINK TL-MR3220 v1 board
SVN-Revision: 24439
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rw-r--r-- | target/linux/ar71xx/base-files/etc/defconfig/tl-mr3220/network | 24 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/diag.sh | 4 |
2 files changed, 26 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/tl-mr3220/network b/target/linux/ar71xx/base-files/etc/defconfig/tl-mr3220/network new file mode 100644 index 0000000..de201bf --- /dev/null +++ b/target/linux/ar71xx/base-files/etc/defconfig/tl-mr3220/network @@ -0,0 +1,24 @@ +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 + +config interface wan + option ifname eth1 + option proto dhcp + +config switch eth0 + option enable_vlan 1 + +config switch_vlan + option device eth0 + option vlan 1 + option ports "0 1 2 3 4" diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index a89ede9..7abedc0 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -81,8 +81,8 @@ get_status_led() { tew-632brp) status_led="tew-632brp:green:status" ;; - tl-mr3420) - status_led="tl-mr3420:green:system" + tl-mr3220 | tl-mr3420) + status_led="tl-mr3x20:green:system" ;; tl-wa901nd) status_led="tl-wa901nd:green:system" |