2

I am unable to change my MAC address using sudo ifconfig en0 ether xx:xx:xx:xx:xx:xx. I was previously able to do it before I completely erased my Mac and reinstalled macOS Catalina.

Does anyone know how to change it and why its not changing? Thanks!

0
3

Your command is correct, once you've prepared the network to be changed. Temporarily power down the WiFi before changing the address.

Doesn’t work on newer macbooks (2018 and later)

networksetup -setairportpower en0 off

Modify the mac address with the desired value:

sudo ifconfig en0 ether 88:63:11:11:11:11

Finally, turn on the WiFi

networksetup -setairportpower en0 on

I verified with Catalina 10.15.4 and 10.15.5

uname -a
Darwin iMac.local 19.4.0 Darwin Kernel Version 19.4.0: Wed Mar  4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64 x86_64
sw_vers
ProductName:    Mac OS X
ProductVersion: 10.15.5
BuildVersion:   19F101
4
  • 2
    What is the difference to the command the OP tried? – nohillside Apr 14 '20 at 19:44
  • Do you mean sudo ifconfig en0 down sudo ifconfig en0 ether xx:xx:xx:xx:xx:xx sudo ifconfig en0 up? – Todd Apr 14 '20 at 23:46
  • To power of WiFi use: bash networksetup -setairportpower en0 off – elulcao Apr 15 '20 at 3:23
  • Also notice that my iMac is SIP enabled: bash elulcao@iMac ~ sudo csrutil status System Integrity Protection status: enabled. – elulcao Apr 15 '20 at 3:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .