How to change your network MAC address on Ubuntu

sudo ifconfig eth0 down” #bring down the network card

sudo ifconfig eth0 inet hw ether xx:xx:xx:xx:xx:xx up” #change the MAC and bring it back up

where “eth0” is the network adapter you wish to change its MAC and “xx:xx:xx:xx:xx:xx” is the 6 groups of numbers each composed of two hexadecimal numbers.


For more info on MAC addresses, check this link and for the source, I got it from here, thanks to suki 🙂

Advertisements

About SoCRaT

Software Engineer, OSS & Linux Geek
This entry was posted in Uncategorized and tagged , . Bookmark the permalink.

One Response to How to change your network MAC address on Ubuntu

  1. Anjii says:

    Hey, that post leaves me feelnig foolish. Kudos to you!

    Like

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