Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ctbuzzy

macrumors newbie
Original poster
Aug 16, 2013
6
0
Looked around for this, couldn't find anything on point.

Anyway, I'm trying to change the WiFi MAC address on my MacBook Pro, Mountain Lion. I figured out the terminal commands & got it changed, but every time I do it it automatically kills my Internet connection. I stay connected to the router, but I lose Internet. I have to reboot to regain my connection, & that of course resets the MAC address.

Is there a step I'm missing?

Before anyone asks - because they always do - no, you won't be helping me do anything nefarious. I was able to spoof the MAC address on my PC & I want to be able to do the same on my Mac.

Thanks!
 

ctbuzzy

macrumors newbie
Original poster
Aug 16, 2013
6
0
Thanks, but I can't complete that task once I've changed the MAC address. The WiFi connection gets stuck on "No IP Address" or "Self-Assigned IP Address" with a yellow light & I get no connection. I can renew the lease just fine if I don't change the MAC address.
 

Kornelis

macrumors member
Dec 4, 2010
79
18
Amsterdam, NL
You first need to disable, but not switch off your Wi-Fi adapter:

sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -z

After this change the MAC address and than reactivate the Wi-FI interface again:

sudo /usr/sbin/networksetup -setairportpower en1 on

I guess your Wi-FI interface is en1, I'm not sure for a Mac Pro. I have an Air, so for me it is en0
 
Last edited:

meme1255

macrumors 6502a
Jul 15, 2012
742
594
Czechia
I use this setup:
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -z linked as airport -z

1. sudo airport -z
2. sudo ifconfig en1 ether NEW_MAC_ADRESS
3. done, just reconnect
 

JinLong

macrumors newbie
Sep 28, 2010
9
0
I did this procedure and then checked it using the command "ifconfig en0 |grep ether" which show the new mac address i chose. So it seems all good but i went to System preferences > Network > Advanced.. and it's still show the real mac address!! is that normal?
 

atriaventrica

macrumors newbie
Sep 4, 2014
1
0
Hey there, I know this is an old thread but I'm having this same problem now on mavericks. The network down/up isn't working I'm still getting self assigned ip and the like. And after I change the MAC back to the previous one, it still won't connect until I do a restart. Any ideas?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.