Consistent bat0 hardware address?
Is there a way to ensure that the assigned hardware address for bat0 is consistent? What I would like to have is keep the hardware address the same across reboots. Can this be done? Would it be done through /etc/udev/rules.d? Or some other mechanism?
Thanks!
Jon
Signature · 4 lines
Jonathan R. Haws Embedded Engineer Space Dynamics Laboratory [email protected]
Quoted 4 lines · Jonathan Haws
Is there a way to ensure that the assigned hardware address for bat0 is consistent? What I would like to have is keep the hardware address the same across reboots. Can this be done? Would it be done through
/etc/udev/rules.d? Or some other mechanism?
Yes, I'd suggest using udev for this. batman-adv generates a random address every time it creates a new batX interface, therefore you need to use some userspace tool to make it static.
Cheers,
Signature · 1 line
Antonio Quartulli