Skip to content

Instantly share code, notes, and snippets.

@codepo8
Created October 8, 2022 07:06
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save codepo8/6f68159a590524c6620fd5a94e40e250 to your computer and use it in GitHub Desktop.
Save codepo8/6f68159a590524c6620fd5a94e40e250 to your computer and use it in GitHub Desktop.
Reset WLAN in train

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

openssl rand -hex 6 | sed 's/(..)/\1:/g; s/.$//' | xargs sudo ifconfig en0 ether

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