From 4caed089f8188e5ac5fff36436f806543ec9cb45 Mon Sep 17 00:00:00 2001 From: Steffen Pankratz Date: Sun, 3 Jan 2016 18:03:17 +0100 Subject: [PATCH] Fixed sysupgrade.sh for TP-Link TL-WDR4310 v1 Signed-off-by: Steffen Pankratz Reviewed-by: Tim Niemeyer --- bsp/default/root_file_system/etc/rc.local.tpl | 1 + bsp/wdr4300/root_file_system/etc/network.tl-wdr4310-v1 | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 bsp/wdr4300/root_file_system/etc/network.tl-wdr4310-v1 diff --git a/bsp/default/root_file_system/etc/rc.local.tpl b/bsp/default/root_file_system/etc/rc.local.tpl index 35eee87..40ec442 100755 --- a/bsp/default/root_file_system/etc/rc.local.tpl +++ b/bsp/default/root_file_system/etc/rc.local.tpl @@ -32,6 +32,7 @@ case "$BOARD" in tl-wdr4300) grep "3600" /var/sysinfo/model && BOARD=tl-wdr3600-v1 grep "4300" /var/sysinfo/model && BOARD=tl-wdr4300-v1 + grep "4310" /var/sysinfo/model && BOARD=tl-wdr4310-v1 ;; esac diff --git a/bsp/wdr4300/root_file_system/etc/network.tl-wdr4310-v1 b/bsp/wdr4300/root_file_system/etc/network.tl-wdr4310-v1 new file mode 100644 index 0000000..fcac123 --- /dev/null +++ b/bsp/wdr4300/root_file_system/etc/network.tl-wdr4310-v1 @@ -0,0 +1,9 @@ +WANDEV=eth0 +SWITCHDEV=eth0 +CLIENT_PORTS="0t 4 5" +WAN_PORTS="0t 1" +BATMAN_PORTS="0t 2 3" + +CLIENTIF="eth0.1 w2ap w5ap" +ETHMESHMAC= +ROUTERMAC=w5mesh \ No newline at end of file