Ticket #175 (closed bug-report: fixed)

Opened 6 months ago

Last modified 3 months ago

mac-adress of br-mesh changes with testing-firmware

Reported by: bjo Owned by:
Priority: major Milestone: FF-OL FW 0.3
Component: Firmware Keywords:
Cc:

Description

the mac adress of br-mesh changes with our batman-adv 2011.4.0 firmware, although it also bases on openwrt backfire r28601

Change History

comment:1 Changed 6 months ago by bjo

  • Milestone set to FF-OL FW 0.3

comment:2 Changed 6 months ago by bjo

maybe we should use

#set fixed mac address that is 1 lower than eth0 mac on br-mesh so that the ipv6 addres
#This idea is stolen from freifunk l..beck set_hostname.sh
MAC="`ip link show eth0 | grep "link/ether" | \
      sed "s/^[ ]*//" | cut -d' ' -f2 | sed "s/://g" | \
      tr 'a-z' 'A-Z'`"
MAC="`printf "%012X\n" $((0x$MAC - 0x01))`"

uci set network.mesh.macaddr=$MAC
uci commit

in all rc.locals, not just on wrt54gl

comment:3 Changed 3 months ago by bjo

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.