Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a MacBook Pro and would like to set a custom MAC address for either my Airport WiFi card, or Ethernet port. In older versions of Mac OS X, you could do it like this:

$ sudo ifconfig en0 ether 00:11:22:33:44:55      // Ethernet
$ sudo ifconfig en1 lladdr AA:BB:CC:DD:EE:FF     // Airport

For it to work on Airport, you'd have to power it on (e.g. $ sudo ifconfig en1 up), ensure it's not connected to any wireless network, and execute the command. I'm aware such a change won't propagate across reboots.

Unfortunately, this doesn't work on Mac OS X 10.6.6 anymore. Apple appears to have removed the functionality (the command fails silently). Does anyone have any idea how to do it? Thanks for any help you can offer! :)


UPDATE: Automated Python script: https://github.com/dave-gallagher/MacSpoofer

share|improve this question
    
networksetup only allows read-access to the MAC address using -getmacaddress. –  Daniel Beck Jan 12 '11 at 15:40
    
I had te opportunity to check this suggestion on a 10.6.6 and now on a 10.6.7 system. I could not use the newly set mac address for connecting to any wireless routers with either of the two versions. When trying to connect after the modification of the mac the connection simply times out. So I would not call it a working solution. –  user77777 Apr 21 '11 at 22:12
    
Checkout the github link I added to the question. It's a script that'll work with 10.6.7. :) –  Dave Gallagher Apr 22 '11 at 1:44
add comment

2 Answers

up vote 2 down vote accepted

http://osxdaily.com/2008/01/17/how-to-spoof-your-mac-address-in-mac-os-x/

there are extended directions at the bottom of this page using the "ln" command. it will work on 10.6.6 after you wait for "connection timeout" error when joining a fake ssid.

share|improve this answer
add comment

You can install Virtualbox and run a LINUX machine in there. In LINUX you can easily configure a different MAC address for each connection you configure.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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