MAC addresse problem

xenool

Registered
Messages
16
i have installed PKT CUBEREVO IP9XXX NEBULA v3 image on my 2 hd 910 boxes. but i got a problem,both boxes have same mac addresse after flash ?

do someone know why, and how to change it ?
 

arken

Registered
Messages
293
You must connect to your box with cable via COM port and change the mac adress with the following commands:
Code:
ifconfig eth0 down
ifconfig eth0 hw ether 00:00:00:00:00:00 (your new mac, use the old one, change just last pair)
ifconfig eth0 up

The other way is to create a script named for example chmac.sh, paste the code above inside the file, make the file executable and execute it. You will lose net connectivity for a few seconds and after that your mac will be changed.
 

xenool

Registered
Messages
16
Nice it works. Where to put the script so i dont have to do it every time i reboot the box. becauce after reboot old mac is back
 
Top