Spoof Mac Address
Spoof Mac Address
First, you’re going to want your current wireless MAC address so you can set it back without rebooting.
Launch the Terminal and type the following command:
ifconfig en1 | grep ether
You’ll know see something like:
ether 00:12:cb:c6:24:e2
And the values after ‘ether’ makeup your current MAC address. Write this down somewhere so you don’t
forget it. If you do, it’s not the end of the world, you’ll just have to reboot to reset it from a change.
For this example, we will set our wireless MAC address to 00:e2:e3:e4:e5:e6 by issuing the following
command:
sudo ifconfig en1 ether 00:e2:e3:e4:e5:e6
The sudo command will require that you enter your root password to make the change.
If you want to set your MAC address back to its real value, simply issue the above ifconfig commands with
the MAC address that you retrieved in step 1. You can also reboot your Mac.
Enjoy!
Note: Reader Dee Brown points out the following, which may help with some users having difficulties:
“running 10.5.6 you need to do the trick to disassociate from the network. ****DO NOT TURN AIRPORT
OFF****. What you will have to do is click your airport and click join network and enter some bogus name
as the network ssid. Then while it’s trying to connect click cancel.At this point you may spoof using the
sudo ifconfig en1 ether command”
other readers point out that Dee Brown’s trick works in 10.5.7 and above too. Thanks Dee!
Update: If you’re still having problems with MAC address spoofing in Leopard or Snow Leopard, the
above method still works but try disassociating with any wireless network BUT keep your wireless Airport
on (as mentioned above) – an easy way to do this is to type the following in the command line:
airport -z
Note that you have to have the ‘airport’ command setup to work for users, you can do that by copy and
pasting this command into the Mac Terminal:
sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport
/usr/sbin/airport
Once disassociated from the network you should be able to spoof your MAC address as usual