How to Change Network Card MAC Address on Ubuntu 13.04

July 3, 2013 — 3 Comments

Want to change the MAC address of your network card? In this tutorial I’ll show you how to do this in Ubuntu as easy as a few commands in terminal.

My laptop has two cards on eth0 and wlan0, here I’m going to change the card on eth0.

Press Ctrl+Alt+T to open up a terminal, then get started with below steps:

1.) You may run command to check you network cards, and backup original MAC address for easy to revert back.


2.) Turn the network card down.

sudo ifconfig eth0 down

3.) Change MAC Address:

sudo ifconfig eth0 hw ether 00:AA:BB:CC:DD:EE

4.) Start your network card:

sudo ifconfig eth0 up

That’s it!

I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to

3 responses to How to Change Network Card MAC Address on Ubuntu 13.04

  1. How about a permanent change?

  2. non-sense, this method does not works ! the mac address resets after connecting to internet

  3. But this change is definitive or not?

Leave a Reply


Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>