Last active
August 29, 2015 14:26
-
-
Save bergerx/dd516e5f24d9e2c7e6e5 to your computer and use it in GitHub Desktop.
resete mac address for airport wifi restriction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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