Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I am currently using ubuntu 13.04 along With windows 7. But I want to change my MAC address of pc. Is there any way to change it.

share|improve this question

marked as duplicate by Takkat, Avinash Raj, mikewhatever, Mitch, LiveWireBT Dec 13 '13 at 11:15

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

In a command line (terminal), run:

  • sudo ifconfig eth0 down
  • sudo ifconfig eth0 hw ether 00:11:22:33:44:55
  • sudo ifconfig eth0 up

That's sufficient for the current user's session. However, in order for the changes to persist, you must also edit /etc/network/interfaces and create or modify an entry for the interface. For example:

iface eth0 inet dhcp
     hwaddress ether 08:00:00:00:00:01


share|improve this answer
you should mention that we should use sudo before all those command – edward torvalds Nov 27 '14 at 10:01

In Ubuntu you can clone a Mac address in the network settings.

Click on the network icon in the top bar and select Edit connections. Select your current network and hit Edit. In the Ethernet tab you should see your actual device MAC and a field to enter the MAC you want to clone.

share|improve this answer

You can install macchanger

sudo apt-get install macchanger 
macchanger --mac=01:23:45:67:89:AB eth1
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.