How to Change Network Card MAC Address on Ubuntu 13.04

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!