firmware/src/packages/fff/fff-network/ath79/network.tplink,tl-wr1043nd-v4

17 lines
379 B
Plaintext

PORTORDER="5 4 3 2 1"
WANDEV=eth0
SWITCHDEV=eth0
CLIENT_PORTS="1 2 0t"
WAN_PORTS="5 0t"
BATMAN_PORTS="3 4 0t"
. /lib/functions/system.sh
. /lib/functions.sh
# Load second MAC address from flash because we haven't any interface with this
# address where we can copy it from
ETHMESHMAC=$(macaddr_add $(mtd_get_mac_binary info 8) 1)
ROUTERMAC=$(cat /sys/class/net/eth0/address)