2017-11-11 11:39:00 +01:00
|
|
|
. /lib/functions/fff/network
|
|
|
|
|
2016-05-11 08:40:27 +02:00
|
|
|
WANDEV=eth0
|
|
|
|
SWITCHDEV=eth0
|
|
|
|
CLIENT_PORTS="0t"
|
|
|
|
WAN_PORTS="0t"
|
|
|
|
BATMAN_PORTS="0t"
|
|
|
|
|
2017-11-11 11:39:00 +01:00
|
|
|
# use mac address from phy0 with 'locally administered' bit set to '1'
|
|
|
|
# only possible, because wXmesh is created first and therefore gets the 'universally administered address'
|
|
|
|
|
|
|
|
ETHMESHMAC=$(macFlipLocalBit "$(cat /sys/class/ieee80211/phy0/macaddress)")
|
2017-11-03 15:59:18 +01:00
|
|
|
ROUTERMAC=$(cat /sys/class/net/eth0/address)
|
2016-05-11 08:40:27 +02:00
|
|
|
|
|
|
|
. /etc/network.mode
|
|
|
|
|
2017-08-21 18:46:28 +02:00
|
|
|
LAN0PORT=5
|
|
|
|
LAN1PORT=4
|