diff options
Diffstat (limited to 'target/linux/ar71xx/base-files')
4 files changed, 30 insertions, 3 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 0000000000..de201bf5ec --- /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 a89ede9493..7abedc0a2f 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" diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index ec3aa5b62a..ae50a23c52 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -100,6 +100,9 @@ ar71xx_board_name() { *"DIR-615 rev. C1") name="dir-615-c1" ;; + *TL-MR3220) + name="tl-mr3220" + ;; *TL-MR3420) name="tl-mr3420" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 36e2b2146f..1cbde8bc66 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -75,7 +75,7 @@ platform_check_image() { } return 0 ;; - tl-mr3420 | tl-wa901nd | tl-wr741nd | tl-wr841n-v1 | tl-wr941nd | tl-wr1043nd) + tl-mr3220 | tl-mr3420 | tl-wa901nd | tl-wr741nd | tl-wr841n-v1 | tl-wr941nd | tl-wr1043nd) [ "$magic" != "0100" ] && { echo "Invalid image type." return 1 |