Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,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 2.45 / 5
  You rated: 5 / 5 (11 votes cast)
 
[64,184 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 whoever posted them. This site is not responsible for what they say.
10.5: Spoof MAC address on some machines
Authored by: jaguarcy on Jan 28, '08 08:21:48AM

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 Jan 28, '08 02:39:49PM

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 Jan 28, '08 08:04:47PM

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 Jan 28, '08 11:47:43PM

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 Feb 13, '08 05:57:03PM

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 Apr 22, '08 01:24:04PM
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: mzso on Jan 31, '09 08:06:08PM
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 Feb 05, '09 11:39:49AM

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 | # ]