Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!

10.5: Spoof MAC address on some machines Network
There are many legitimate reasons why someone would want to spoof a system's MAC address, and I won't go into them here. Long story short: in Tiger, it was extremely easy to spoof the MAC address, as explained in this hint. In Terminal.app, just type:
sudo ifconfig en0 ether 00:00:00:00:00:00
where en0 is the network interface you wish to change the MAC address of, and 00:00:00:00:00:00 is the target MAC address. This code cannot be used in Leopard, but it turns out the solution is extremely simple, and just as straightforward. Again in Terminal, just type:
sudo ifconfig en0 lladdr 00:00:00:00:00:00
That's it; you're done.

[robg adds: Based on the comments to the author's original blog post, it seems this isn't working for everyone on every combination of hardware.]
    •    
  • Currently 4.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[39,099 views]  

10.5: Spoof MAC address on some machines | 8 comments | Create New Account
Click here to return to the '10.5: Spoof MAC address on some machines' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
10.5: Spoof MAC address on some machines
Authored by: jaguarcy on Mon, Jan 28 2008 at 8:21AM PST
So far, testing has shown that this works for interfaces other than en0 on intel-based macs, and works for all interfaces on ppc machines.

[ Reply to This | # ]
10.5: Spoof MAC address on some machines
Authored by: Cobalt Jacket on Mon, Jan 28 2008 at 2:39PM PST
There are also many more illegitimate reasons why one would want to spoof a MAC address...

[ Reply to This | # ]
10.5: Spoof MAC address on some machines
Authored by: mematron on Mon, Jan 28 2008 at 8:04PM PST
This method works with the ethernet card and not the airport card which is in most cases en1. It should work as it does if you are using linux. Some have made apps to make this easier. They are called "Macdaddy" and "Spoofmac"




[ Reply to This | # ]
10.5: Spoof MAC address on some machines
Authored by: lras on Mon, Jan 28 2008 at 11:47PM PST
If you ever read the man page (in Tiger) you will see that "ether" is just an alias for "lladdr" (which means link-layer address), so lladdr is valid in Tiger too.

Have Apple simply ditched the old alias "ether" in Leopard?


[ Reply to This | # ]
10.5: Spoof MAC address on some machines
Authored by: MrTadBibs on Wed, Feb 13 2008 at 5:57PM PST
sudo ifconfig en0 lladdr does NOT work on MacBook Pros running on 10.5.2 or earlier 10.5.x. A fix is definitely needed.

[ Reply to This | # ]
10.5: Spoof MAC address on some machines
Authored by: vvasabi on Tue, Apr 22 2008 at 1:24PM PDT
After several hours of googling, I gave up on trying to spoof ethernet mac address on my leopard 10.5.2 machine. I ended up getting an old usb ethernet adapter, plugging it into WinXP in Parallels, spoofing mac address from there and then sharing the connection back to OS X. It's working great now. Both OS X and XP have Internet access.

[ Reply to This | # ]
10.5: Spoof MAC address on some machines
Authored by: müzso on Sat, Jan 31 2009 at 8:06PM PST
Replacing the driver of the wired ethernet interface with the one from Tiger (10.4.11) worked for me with my MacBook Pro (and Leopard 10.5.6). I've documented the process on my blog.

[ Reply to This | # ]
10.5: Spoof MAC address on some machines
Authored by: cb_newman on Thu, Feb 5 2009 at 11:39AM PST
Does not work on Mactel PowerBookPro3,1 2.4 GHz on either en0 or en4 (USB to ethernet dongle). sudo command executes without complaining, but ifconfig demonstrates no actual change to MAC address.

[ Reply to This | # ]