forked from freifunk-franken/firmware
fff-network: adjust network configuration of TP-Link TL-WDR4900 for DSA
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 <fabian@blaese.de>
This commit is contained in:
parent
dfb892d4ac
commit
fc1c0c39ae
|
@ -19,6 +19,7 @@ get_cpu_port() {
|
||||||
netgear,r6220|\
|
netgear,r6220|\
|
||||||
tplink,cpe210-v2|\
|
tplink,cpe210-v2|\
|
||||||
tplink,cpe210-v3|\
|
tplink,cpe210-v3|\
|
||||||
|
tplink,tl-wdr4900-v1|\
|
||||||
ubnt,edgerouter-4|\
|
ubnt,edgerouter-4|\
|
||||||
ubnt,edgerouter-x|\
|
ubnt,edgerouter-x|\
|
||||||
ubnt,edgerouter-x-sfp|\
|
ubnt,edgerouter-x-sfp|\
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
. /lib/functions/fff/network
|
. /lib/functions/fff/network
|
||||||
|
|
||||||
WANDEV=eth0
|
WANDEV=switch0
|
||||||
SWITCHDEV=eth0
|
SWITCHDEV=switch0
|
||||||
CLIENT_PORTS="0t 4 5"
|
CLIENT_PORTS="lan3 lan4"
|
||||||
WAN_PORTS="0t 1"
|
WAN_PORTS="wan"
|
||||||
BATMAN_PORTS="0t 2 3"
|
BATMAN_PORTS="lan1 lan2"
|
||||||
|
DSA=1
|
||||||
|
|
||||||
# use mac address from phy1 with 'locally administered' bit set to '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'
|
# only possible, because wXmesh is created first and therefore gets the 'universally administered address'
|
||||||
|
|
Loading…
Reference in New Issue