Created
February 10, 2017 09:45
-
-
Save n1mh/cb52319fa876f3e12b8188106383b5c0 to your computer and use it in GitHub Desktop.
launch wireless connection using wpa_supplicant configuration
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 wpa_supplicant \ | |
-B \ | |
-iwlan0 \ | |
-c/etc/wpa_supplicant.conf \ | |
-Dwext | |
sudo dhclient wlan0 | |
sudo ifconfig wlan0 | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
works perfectly right in raspberry pi