3 ms·
You can achieve the same thing (minus the Selenium part) on MacOS with this: https://jezenthomas.com/free-internet-on-trains/ https://jezenthomas.com/free-inter
by yakshaving_jgt 8y ago
You can achieve the same thing (minus the Selenium part) on MacOS with this: https://jezenthomas.com/free-internet-on-trains/ https://jezenthomas.com/free-internet-on-trains/
I would paste the code snippet, but it doesn't format nicely on HN.
- omaranto 8y agoIndent with four spaces: function remac { sudo /System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -z sudo ifconfig en0 ether $(openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//') sudo networksetup -detectnewhardware echo $(ifconfig en0 | grep ether) } EDIT: Two spaces is enough.
- majewsky 8y agoTwo spaces indentation is enough afair.
- omaranto 8y agoLet me check: function remac { sudo /System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -z sudo ifconfig en0 ether $(openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//') sudo networksetup -detectnewhardware echo $(ifconfig en0 | grep ether) } EDIT: Yep! Two is enough. Thanks!
- yakshaving_jgt 8y agoAh, I somehow missed that. Thanks!
- sizzle 8y agoDoes this permanently change to a new Mac every time you run it?