Changing MAC Address in Linux and Apple
Sunday, December 06th, 2009 | Author: Mike

MAC addresses are burned in addresses that are associated with your Network card, whether it be wireless, wired or even bluetooth. Each device has a specific MAC address that is unique to it only and no other device has that address. Most systems allow you to change your MAC address but it is purely software based, it will not changed the burned in address on your card. But when you change your MAC address and you connect to a network it will give out the changed address.

There are many reasons one person would want to change their MAC address and it could be for good reasons or for bad reasons. A good reason someone might change their MAC address would be for security reasons. If you change your MAC address and you connect to a public network your actual MAC address will never be stored their.

A couple of bad reasons would be to extend your length of time on a specific public wireless network or to “spoof” a MAC address and gain access to a wireless or wired network that is using MAC address filtering. Spoofing your MAC address to gain unauthorized access to a network is beyond the scope of this article. We will just show you how to change your MAC on a Linux computer or Apple.

Linux

Open up a terminal window
Type sudo ifconfig eth0
Copy down your real MAC address so you can change it back later
Type sudo ifconfig eth0 down
Type sudo ifconfig eth0 hw ether 00:11:22:33:44:55
Type sudo ifconfig eth0 up
Type sudo ifconfig eth0

You should now see that your MAC address has been changed to 00:11:22:33:44:55 and yocan put anything you want in that field as long as each character is between 0-9 and A-F and each two characters is separated by a :.

Apple

The steps for changing the MAC address on an Apple computer is pretty much the exact same except for a couple little different wording.

Open up a terminal window
Type sudo ifconfig en0 down
Type sudo ifconfig en0 ether 00:11:22:33:44:55
Type sudo ifconfig en0 up

That is really all you have to do to change your MAC address on a linux or apple computer. I will discuss in another article in the near future how to change your MAC address with in a Windows computer, which is a little more complicated.