Skip to content

Instantly share code, notes, and snippets.

@nickadam
Last active April 2, 2019 13:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickadam/d26a045a3e143a5e50c44b006e04b832 to your computer and use it in GitHub Desktop.
Save nickadam/d26a045a3e143a5e50c44b006e04b832 to your computer and use it in GitHub Desktop.
Change MAC Address macOS

generate random mac

openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'

apply it

sudo ifconfig en0 ether 34:f1:77:82:ce:be

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment