Difference between revisions of "i.MX25 SODIMM PC Changing MAC Address"
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. | + | [[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. | + | [[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. | + | [[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. | + | [[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 20: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
Scroll down to the last line where the current MAC address is defined:
Update the MAC address. To exit the editor and save the changes, press Ctrl + D:
Save the Barebox environment:
saveenv reset
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 VMX25:/ dhcp