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.

2 Responses to Change MAC Address on Ubuntu 7.04

  1. Roy78 says:

    What are you advising people to do? ,

  2. White Rose says:

    This is step by step if you want to change MAC.🙂

    Thanks & regards,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s