Skip to content

Instantly share code, notes, and snippets.

@bergerx
Last active August 29, 2015 14:26
Show Gist options
  • Save bergerx/dd516e5f24d9e2c7e6e5 to your computer and use it in GitHub Desktop.
Save bergerx/dd516e5f24d9e2c7e6e5 to your computer and use it in GitHub Desktop.
resete mac address for airport wifi restriction
#!/bin/bash
# http://www.tautvidas.com/blog/2012/01/free-airport-wifi/
sudo ifconfig wlan0 down
/usr/bin/nmcli nm wifi off
sudo macchanger -r wlan0
/usr/bin/nmcli nm wifi on
while ! nmcli nm | grep ' connected'; do sleep 1; done
/home/local/ANT/bekir/bin/Firefox/firefox -P default --private-window hede.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment