You can also usedethtool
# ethtool -E eth0 offset 0 value 165
# ethtool -E eth0 offset 1 value <1st byte of MAC address>
# ethtool -E eth0 offset 2 value <2nd byte of MAC address>
# ethtool -E eth0 offset 3 value <3rd byte of MAC address>
# ethtool -E eth0 offset 4 value <4th byte of MAC address>
# ethtool -E eth0 offset 5 value <5th byte of MAC address>
# ethtool -E eth0 offset 6 value <6th byte of MAC address>
The value 165 is a 'magic number' required by the LAN9221 to confirm that the EEPROM data is a MAC address.
The MAC address bytes need to be entered in decimal, not hex when using this tool.
Reference: http://gumstix.8.x6.nabbl...dress-td4512973.html