Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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:

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
up vote 2 down vote accepted

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .