Сменить MAC в Ubuntu
в файле
/etc/network/interfaces
Добавить строчку перед инициализацией нужного интерфейса.
Например так:
auto eth0
iface eth0 inet static
pre-up ifconfig eth0 hw ether 00:0c:76:5d:af:ff
address 192.168.1.189
netmask 255.255.0.0
gateway 192.168.1.7
iface eth0 inet static
pre-up ifconfig eth0 hw ether 00:0c:76:5d:af:ff
address 192.168.1.189
netmask 255.255.0.0
gateway 192.168.1.7