Created
June 20, 2010 00:49
-
-
Save vo/445447 to your computer and use it in GitHub Desktop.
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 service network-manager stop | |
sudo ifconfig wlan0 down | |
sudo iwconfig wlan0 mode ad-hoc essid $1 channel 4 | |
sudo ifconfig wlan0 172.17.116.106 netmask 255.255.255.0 up |
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 service network-manager start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment