Created
July 9, 2011 11:56
-
-
Save xazax/1073546 to your computer and use it in GitHub Desktop.
linux
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 | |
sudo rfkill block all && sudo rfkill unblock all; | |
sudo netcfg -a && sudo netcfg wifi; | |
echo "Acquired address `ifconfig|awk '/192.168/ {print $2}'`"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment