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

Hi there I'm trying to set my mac address using the terminal as for some reason it's been set to all zeros, I have the address and know the correct commands but I keep getting permision denied message

share|improve this question

In principle the command should be some variant on the theme of:

sudo ifconfig en0 ether aa:bb:cc:dd:ee:ff

in Mac OS prior to 10.7, with various interface names etc, in use. It seems that you may need to disassociate from the wireless network first, but leave the wireless on -- some manage this by typing 'sudo airport -z' first, whilst there are various other workarounds suggested in the links below. There are various hints about MAC address spoofing on OSX daily and on this thread.

As regards 'permission denied' errors - did you prefix the commands with 'sudo'?

share|improve this answer
Depending on which version of OS X you're using, you might have to change en0 to the en1 interface, but otherwise, looks good! – pasawaya Aug 25 '12 at 1:42

You must log in to answer this question.

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