forked from freifunk-franken/firmware
19 lines
453 B
Plaintext
19 lines
453 B
Plaintext
. /lib/functions/fff/network
|
|
|
|
WANDEV=eth0
|
|
SWITCHDEV=eth0
|
|
CLIENT_PORTS="0t"
|
|
WAN_PORTS="0t"
|
|
BATMAN_PORTS="0t"
|
|
|
|
# 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)")
|
|
ROUTERMAC=$(cat /sys/class/net/eth0/address)
|
|
|
|
. /etc/network.mode
|
|
|
|
LAN0PORT=5
|
|
LAN1PORT=4
|