Hans Kristian — My Logs Board

Change Network Interface MAC Adress in MAC OS X

Posted by: Hans on: August 2, 2008

I’ve found that there is an easy way to spoof your Network Interface MAC Address…

Why we spoof the MAC Adress…??

Spoof MAC address is used when we need to be another computer…

For example… My ISP has a policy to customer, so only registered computer MAC Adress can be connected to the internet…. So when you connected the cable to other devices like your notebook…

Your notebook can’t access the internet…

It can be solved by spoofing your Network INterface MAC Address ( in this example i use device en0/ LAN)

Go to Terminal in Applications > Utilities > Terminal

16:~ hanskristian$ sudo -s

Password:

16:~ root#

Now You’ll be root in the system

Check your Network interface

16:~ root# ifconfig -l

this command will list your network interface… in this example i use en0 interface

16:~ root# ifconfig en0 ether XX:XX:XX:XX:XX:XX

change XX:XX:XX:XX:XX:XX with your new MAC Address ( In this case i change my notebook mac adress with my computer ehternet mac address)

your network interface will have new MAC adress, check it by this command

16:~ root# ifconfig en0 | grep ether

nb: the changes aren’t permanent, if you reboot your macbook.. The spoofed MAC Adress will be removed..

6 Responses to "Change Network Interface MAC Adress in MAC OS X"

doesn’t work anymore with the latest software updates … :(

no it works, i’ve tested it with my latest Mac OS X Leopard 10.5.6
please retry again with active carrier :p

~ esc$ sudo -s
Password:
~ root#
~ root# ifconfig -l
lo0 gif0 stf0 en0 en1
Eriks-iBook:~ root# ifconfig en1 ether 00:40:96:b7:33:9b
ifconfig: ioctl (SIOCAIFADDR): Operation not supported
Eriks-iBook:~ root#

This is what I got. Any suggestions? Im using an Airport card

hmmm.. i think the 10.3.9 kernel doesn’t support change mac address operation..
i think the simple solution is trying to upgrade the kernel.
Hope it works :)

Forgot to tell you Im using 10.3.9 (Darwin) Any help would be greatly appreciated.

I want to upgrade but cant. Thanks anyway.

Leave a Reply