Is there a menu bar style tool, or maybe a GUI program that would allow me to switch / spoof MAC addresses for the Airport / WiFi connection on OS X?

link|improve this question

feedback

2 Answers

up vote 3 down vote accepted

You really can pass up the GUI interface for this one - it's a one-liner:

sudo ifconfig en1 lladdr aa:bb:cc:dd:ee:ff

If you absolutely want it to be easy, use an apple script so you can click it in your menu bar. This discussion can help with syntax.

tell application "Terminal"
do script "/path/to/script"
end tell

The best reference is here, though there are handy too:

http://josteinb.com/2009/10/spoofing-your-mac-address-in-snow-leopard/
http://www.macgeekery.com/gspot/2006-04/mac_address_spoofing
http://www.iclarified.com/entry/index.php?enid=7673

link|improve this answer
I would actually make two apple scripts - one to spoof and one to revert back. This information should set you up to do so. – mjb Jul 12 '11 at 15:12
feedback

Yes, I know I can do it from the terminal or via applescript, but I was hoping for a menu bar utility.

And for the record, I actually find that I have to do this to spoof the mac-address on OS X 10.7:

//disassociate from airport - sometimes you need to run it twice
airport -z
airport -z

//find the current mac address
ifconfig en1 | grep ether

//i find I usually need to run this command at least twice before it works
sudo ifconfig en1 ether 00:e2:e3:e4:e5:e6
sudo ifconfig en1 ether 00:e2:e3:e4:e5:e6
sudo ifconfig en1 ether 00:e2:e3:e4:e5:e6

//check the mac again to see if it has changed
ifconfig en1 | grep ether


To get the airport terminal command you may need to add this:

alias airport="/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport"
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.