09-11-2016, 02:18 AM
Depending on the linux distro / image you are using, it is likely that the /boot/uEnv.txt file has a line like below in it. You can change this to match the ethernet address printed on your board.
Alternatively, you could edit /etc/network/interfaces, so that the section configuring the ethernet looks something like this (hwaddress is the bit setting the mac address, and allow-hotplug eth0 prevents the boot process being halted for a couple minutes if the ethernet is not plugged in).
Code:
ethaddr=7a:6e:63:ac:21:f1
Alternatively, you could edit /etc/network/interfaces, so that the section configuring the ethernet looks something like this (hwaddress is the bit setting the mac address, and allow-hotplug eth0 prevents the boot process being halted for a couple minutes if the ethernet is not plugged in).
Code:
allow-hotplug eth0
iface eth0 inet dhcp
hwaddress ether 08:00:00:00:00:01