Change MAC address permanently

From: Christian Gmeiner
Date: Thu Feb 23 2012 - 04:52:56 EST


Hi all,

I have found out that ioctl SIOCSIFHWADDR could be used to change the
current MAC address
of an Ethernet device. But the big problem is that after an reboot the
change is gone. Is there
an other way of changing the MAC address permanently?

I am asking, as I am working in a company which does produce devices
which are using Intel
based NICs and where Linux is used as OS. At the moment we need to
boot vxworks to change
the MAC address and could the "install" Linux on the device. The
biggest problem here is that
for vxworks we need an other BIOS as for Linux.

Thanks for any hints
--
Christian Gmeiner, MSc
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/