changing mac adress


In the kernel 4.1 it’s easy to change the mac address with the command :

ifconfig eth0 hw ether 00:80:48:BA:d1:22

but after rebooting the beagle, the mac address is changed.

Does someone know who change the address mac at the boot ?



# The primary network interface
auto eth0
iface eth0 inet dhcp
hwaddress ether 00:80:48:BA:d1:22

or do it in u-boot..