I need to change the MAC address of our modules from the Toradex supplied MAC address to one from a block assigned to my company, so that our devices appear on the network as being manufactured by ourselves.
I am using SetMACAddress() from SysInfoLib to do this. The function appears to work and if I then call GetMACAddress() then my new MAC address is returned. However the MAC address on the module does not actually change, even after a reboot.
I noticed that the MAC address is also stored in the registry in:
If I clear the registry and reboot then my new MAC address becomes active. Should the SetMACAddress() function also update that registry location? Or is it up to me to remember to also edit the registry? I don’t want to have to clear the registry as I want to preserve other changes that have been made to it.