Note: Original Mac address starts with 00:09:34:xx:xx:xx


There a simple way to fix your DM boxes, but how this is done depends on the image you are using.

[1] On all Pli images Flubber/ Garnet/ Helenite / Iolite;

a) With telnet or DCC go to /var/etc on your clone box and create a file callled chg_mac.sh (command in telnet is 'touch chg_mac.sh).

b) Now edit chg_mac.sh with say "vi" so the command is vi chg_mac.sh or in DCC use FTP to edit the file.

c) Now add this content to the file

Code:
/sbin/ifconfig eth0 down hw ether 00:0a:03:43:51:4a
/sbin/ifconfig eth0 up
you can change the 00:0a:03:43:51:4a to an unused MAC address (pick a number but not the same as anything on your LAN).

d) Now change the attributes of this file to chmod +x or 755 so it is executable under *nix - right click in DCC and select change attributes.

e) Make a file called init in your /var/etc directory - in telnet touch init.

f) Now edit init with say "vi" so the command is vi init or in DCC use FTP to edit the file.

g) Now add this content to the file.

Code:
if [ -x /var/etc/chg_mac.sh ]; then /var/etc/chg_mac.sh ; fi
/bin/setupnetwork
NOTE: if you do not use the name chg_mac.sh for the mac data make sure you change this init file to reflect the name you choose - else this will not work as your file will not be run at boot time.

h) Now change the attributes of this file to chmod +x or 755 so it is executable under *nix - right click in DCC and select change attributes.

i) Now reboot the DM.

Another Method


Create a file called init (no extension - if you do it in notepad, it will add a .txt extension. the way around this is to save as init & put inverted commas around it - eg "init" & that will save it as init without any extension.

Put this line into the file -

Code:
ifconfig eth0 down; ifconfig eth0 hw ether 00:09:23:47:97:E5; ifconfig eth0 up
Then upload the file to VAR/ETC & reboot.


Thanks to jonc & Fernbay.