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

From Voipac Wiki
Jump to navigation Jump to search
Line 8: Line 8:
 
edit env/config
 
edit env/config
 
</syntaxhighlight>
 
</syntaxhighlight>
[[image:i.MX25_SODIMM_PC-Development_Kit-Editing_config.jpg|600px]]<br /><br />
+
[[image:i.MX25_SODIMM_PC-Development_Kit-Editing_config.png|580px]]<br /><br />
  
 
Scroll down to the last line where the current MAC address is defined:<br />
 
Scroll down to the last line where the current MAC address is defined:<br />
[[image:i.MX25_SODIMM_PC-Development_Kit-Old_address.jpg|600px]]<br /><br />
+
[[image:i.MX25_SODIMM_PC-Development_Kit-Old_address.png|580px]]<br /><br />
  
 
Update the MAC address. To exit the editor and save the changes, press Ctrl + D:
 
Update the MAC address. To exit the editor and save the changes, press Ctrl + D:
 
<br />
 
<br />
[[image:i.MX25_SODIMM_PC-Development_Kit-New_address.jpg|600px]]<br /><br />
+
[[image:i.MX25_SODIMM_PC-Development_Kit-New_address.png|580px]]<br /><br />
  
 
Save the Barebox environment:
 
Save the Barebox environment:
Line 22: Line 22:
 
reset
 
reset
 
</syntaxhighlight>
 
</syntaxhighlight>
[[image:i.MX25_SODIMM_PC-Development_Kit-Saving_environment.jpg|600px]]<br /><br />
+
[[image:i.MX25_SODIMM_PC-Development_Kit-Saving_environment.png|580px]]<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 process shows the actual MAC of the device:
 
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:

Revision as of 21:35, 31 August 2021

MAC address (indicated on the label of the module) is written in E-Fuses for permanently identifying modules. This page shows a possibility of changing its value using Barebox.

MAC address changing procedure

Stop autoboot and start editing the config file:

edit env/config

i.MX25 SODIMM PC-Development Kit-Editing config.png

Scroll down to the last line where the current MAC address is defined:
i.MX25 SODIMM PC-Development Kit-Old address.png

Update the MAC address. To exit the editor and save the changes, press Ctrl + D:
i.MX25 SODIMM PC-Development Kit-New address.png

Save the Barebox environment:

saveenv
reset

i.MX25 SODIMM PC-Development Kit-Saving environment.png

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