From BStegmaier
Not all drivers support this operation! In the following examples I will assume, that your device is eth0 and your hardware class is Ethernet (ether).
- Temporarily change MAC until next reboot (down and up not necessary on all kind of hardware)
ifconfig eth0 down
ifconfig eth0 hw ether 00:11:22:33:44:55
ifconfig eth0 up
ifconfig eth0 hw ether 00:11:22:33:44:55
ifconfig eth0 up
- To change the MAC address permanently add the second line below in the appropriate section of /etc/network/interfaces
| /etc/network/interfaces |
iface eth0 inet dhcp
hwaddress ether 00:11:22:33:44:55
|
- You may encounter problems using the above method with some debian derviates - use the following instead
| /etc/network/interfaces |
pre-up ifconfig eth0 hw ether 01:01:01:01:01:01
|


