1、首先,打开“终端“,运行这个命令生成一个新的MAC网卡地址:
opensslrand-hex6|sed's/\(..\)/\1:/g;s/.$//'
2、然后执行命令,断开Airport无线网卡连接:
sudo/System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport-zczfrl.com
3、输入修改mac地址的命令:
sudoifconfigen0etherxx:xx:xx:xx:xx:xx
将你要修改的MAC地址代替xx:xx:xx:xx:xx:xx
将你要修改的网卡代替en0
如图所示
4、然后输入命令重连网卡即可:
networksetup-detectnewhardware