I have a huge problem with a set of Khadas Vim recently purchased. They all have the same serial numbers and Ethernet MAC addresses.
How do I get an original MAC address at least so the system doesn't come into conflict on the network?
Hi, Guru:We will check this first, and response you here then.
You can set a custom MAC address during start-up by editing /etc/network/interfaces or /etc/network/interfaces/eth0 and adding a line starting with hwaddress :
iface eth0 inet dhcp
hwaddress ether XX:XX:XX:XX:XX:XX
I've researched some other approaches like setup Mac Address via u-boot, will write documentation and publish at Khadas Docs then.
Yes, via UBoot would be fine, this is for Android so editing etc/network/interfaces wouldn't work (that's Ubuntu).
How do I get the true MAC address/serial or what range is assigned from the manufacturer though?
This is a huge problem for me having more than one devices as well.Any development on this issue? How to change MAC addresses?
You can try to change the variable in u-boot "mac" (for example, using fw_setenv utility LE).
It works! Thanks again