In this tip, we will see two ways for changing the MAC address either using a few terminal commands or simply from the network manager under Ubuntu 13.04/12.10 or older. For Linux Mint users, you can use the terminal way to change the MAC address.
1. Method 1 (CLI)
Turn off your network manager using this command from the terminal:
sudo ifconfig eth0 downReplace eth0 with your own network adapter name (eth1, wlan0, etc.). Now change your MAC address with this command:
sudo ifconfig eth0 hw ether <NEW MAC ADDRESS>
Here is an example:
sudo ifconfig eth0 hw ether 08:00:25:de:40:df
Turn on the network manager:
sudo ifconfig eth0 up
2. Method 2 (GUI)
Under Ubuntu Unity, open the NetworkManager indicator menu and select "Edit Connections":
Select your internet connection and click "Edit":
Under the "Ethernet" tab, you can easily change your MAC address in the appropriate text box:
Click "Save" to confirm, then restart the network manager. You can also change the MAC address using MACCHANGER.