Skip to content

Instantly share code, notes, and snippets.

@n1mh
Created February 10, 2017 09:45
Show Gist options
  • Save n1mh/cb52319fa876f3e12b8188106383b5c0 to your computer and use it in GitHub Desktop.
Save n1mh/cb52319fa876f3e12b8188106383b5c0 to your computer and use it in GitHub Desktop.
launch wireless connection using wpa_supplicant configuration
#!/bin/bash
sudo wpa_supplicant \
-B \
-iwlan0 \
-c/etc/wpa_supplicant.conf \
-Dwext
sudo dhclient wlan0
sudo ifconfig wlan0
exit 0
@n1mh
Copy link
Author

n1mh commented Feb 10, 2017

works perfectly right in raspberry pi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment