Friday, July 24, 2009

How to spoof a MAC Address on a Mac

We find this command incredibly useful for all kinds of test purposes.
However, this procedure only works on certain models of Apple's hardware.

Here at Go Go we have been successful with the current line up of Apple's Macbook Pros.

In the Finder, go to /Applications/Utilities

Open the Terminal

Type in:

sudo ifconfig en0 ether

Press enter.

A sample of this command would be:

sudo ifconfig en0 ether 00:10:3F:7C:53:CD


Now your Mac can masquerade as any network device of your choosing! This is useful when trying to force a router to hand out that initial lease that devices like printers and NAS boxes generally have trouble doing when set to DHCP (since they are not “chatty” enough).


To verify whether your Mac took the command, type in the terminal:

ifconfig en0


It should report back the MAC Address you entered.

To get the Mac back to normal, just restart.

Go Go

No comments:

Post a Comment