Where does the LIME2 get its MAC address?

Started by jmyreen, August 06, 2017, 09:02:18 PM

Previous topic - Next topic

jmyreen

I'm running Arch Linux ARM on an A20-OLinuXIno-LIME2 and can't figure out where the eth0 MAC address is set. http://linux-sunxi.org/Ethernet says the MAC address is random that changes at every boot, but that's not what I'm seeing: the address is the same every time after cycling the power. Where does the MAC address come from?

JohnS

It varies with the software.  Ask in the place you got it from (or read the source).

John

jmyreen

Answering my own question: U-Boot sets the MAC address based on variable 'ethaddr'.