Change MAC Address on Ubuntu 7.04

Sometime we need to change MAC Address on Ubuntu. First step is make configuration file, and the file will be restarted when system/machine up. Here is step by step the changing.

Open terminal and type as follow:

$ ifconfig  <Check existing MAC Address>

$ cd /etc/init.d

$ sudo nano ChangeMAC 

Then,  fill configuration file with new MAC Address.

Sudo ifconfig eth1 down

Sudo ifconfig eth1 hw ether xx:xx:xx:xx:xx:xx   <new MAC address>

Sudo ifconfig eth1 up

Sudo /etc/init.d/networking stop

Sudo /etc/ini.d/networking restart  

Save and close the file

Apply configuration file.

$ sudo chmod +x ChangeMAC

$ sudo update-rc.d ChangeMAC defaults  

Restart machine, and check new MAC Address with ifconfig command.

One Response to “Change MAC Address on Ubuntu 7.04”

  1. Roy78 Says:

    What are you advising people to do? ,

Leave a Reply