From fc1c0c39ae3e06eac85fc5d4f44e49a66e1e0673 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Bl=C3=A4se?= Date: Thu, 25 Jan 2024 17:53:50 +0100 Subject: [PATCH] fff-network: adjust network configuration of TP-Link TL-WDR4900 for DSA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit the TL-WDR4900 was migrated to a DSA driver with OpenWrt 23.05. Adjust our network configuration accordingly. Fixes: #302 Signed-off-by: Fabian Bläse --- .../fff/fff-network/files/lib/functions/fff/cpuport | 1 + .../fff-network/powerpc/network.tplink,tl-wdr4900-v1 | 11 ++++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/packages/fff/fff-network/files/lib/functions/fff/cpuport b/src/packages/fff/fff-network/files/lib/functions/fff/cpuport index ab577be9..42a77c74 100644 --- a/src/packages/fff/fff-network/files/lib/functions/fff/cpuport +++ b/src/packages/fff/fff-network/files/lib/functions/fff/cpuport @@ -19,6 +19,7 @@ get_cpu_port() { netgear,r6220|\ tplink,cpe210-v2|\ tplink,cpe210-v3|\ + tplink,tl-wdr4900-v1|\ ubnt,edgerouter-4|\ ubnt,edgerouter-x|\ ubnt,edgerouter-x-sfp|\ diff --git a/src/packages/fff/fff-network/powerpc/network.tplink,tl-wdr4900-v1 b/src/packages/fff/fff-network/powerpc/network.tplink,tl-wdr4900-v1 index 97085959..545f55f8 100644 --- a/src/packages/fff/fff-network/powerpc/network.tplink,tl-wdr4900-v1 +++ b/src/packages/fff/fff-network/powerpc/network.tplink,tl-wdr4900-v1 @@ -1,10 +1,11 @@ . /lib/functions/fff/network -WANDEV=eth0 -SWITCHDEV=eth0 -CLIENT_PORTS="0t 4 5" -WAN_PORTS="0t 1" -BATMAN_PORTS="0t 2 3" +WANDEV=switch0 +SWITCHDEV=switch0 +CLIENT_PORTS="lan3 lan4" +WAN_PORTS="wan" +BATMAN_PORTS="lan1 lan2" +DSA=1 # use mac address from phy1 with 'locally administered' bit set to '1' # only possible, because wXmesh is created first and therefore gets the 'universally administered address'