I'm using an M1 MacBook Pro/Big Sur 11.2.3
I've been using the following command to generate MAC addresses:
openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'
(Also, I'd like to mention that you MUST be disconnected from any AP before attempting to change your MAC otherwise it will be refused.)
I've had no success with the previously stated claim that reentering the command multiple times somehow results in the MAC being accepted, however, I have noticed that there appears to be a pattern as to which MAC addresses are accepted and which aren't.
This is the command to change your MAC address:
sudo ifconfig en0 ether -ADDRESS-
You can easily test if It's worked or not with:
(then checking the 'ether -ADDRESS-' under en0)
Below are some of the addresses I've tested, both working and non-working:
I'd appreciate it if some of you would try these and report back as to whether they follow the same pattern for you as well. If you could also mention what hardware you are using/what version of Big Sur you have that would help.
I'll continue trying to figure out why only certain MAC addresses are accepted and report back any discoveries.
Finally, if anyone has any alternate syntax for generating MAC addresses using OpenSSL I've found quite a few online and I suspect it could be an issue with the instructions I'm giving OpenSSL in the first place.