Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: jmyreen on August 06, 2017, 09:02:18 PM

Title: Where does the LIME2 get its MAC address?
Post by: jmyreen on August 06, 2017, 09:02:18 PM
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 (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?
Title: Re: Where does the LIME2 get its MAX address?
Post by: JohnS on August 10, 2017, 12:39:29 PM
It varies with the software.  Ask in the place you got it from (or read the source).

John
Title: Re: Where does the LIME2 get its MAC address?
Post by: jmyreen on August 10, 2017, 09:14:07 PM
Answering my own question: U-Boot sets the MAC address based on variable 'ethaddr'.