Difference between revisions of "i.MX53 SODIMM PC Changing MAC Address"

From Voipac Wiki
Jump to navigation Jump to search
Line 24: Line 24:
 
[[image:i.MX53_SODIMM_PC-Development_Kit-Saving_environment.jpg|600px]]<br /><br />
 
[[image:i.MX53_SODIMM_PC-Development_Kit-Saving_environment.jpg|600px]]<br /><br />
  
To check if the new MAC address was saved, ''cat env/config'' can be used to view the configuration file. Alternatively DHCP negotiation shows the assigned IP address with the new MAC address as well:
+
To check if the new MAC address was saved, ''cat env/config'' can be used to view the configuration file. Alternatively DHCP negotiation process shows the actual MAC of the device:
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
barebox@Voipac VMX53:/ dhcp
 
barebox@Voipac VMX53:/ dhcp
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 10:55, 4 April 2021

MAC address (indicated on the label of the module) is written in E-Fuses for permanent identifying the module. This page shows the possibility of changing it using Barebox.

MAC address changing procedure

Stop autoboot and start editing the config file:

edit env/config

600px

Scroll down to the last line where the current MAC address is defined:
600px

Update the MAC address. To exit the editor and save the changes, press Ctrl + D:
600px

Save the Barebox environment:

saveenv
reset

600px

To check if the new MAC address was saved, cat env/config can be used to view the configuration file. Alternatively DHCP negotiation process shows the actual MAC of the device:

barebox@Voipac VMX53:/ dhcp