Created
May 11, 2017 14:54
-
-
Save daltonnyx/a036d4b84aa7342b2236d334396dcb2c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#Use iw to scan wifi | |
iw wlp7s0 scan | |
#get SSID then use wpa_passphase to generate config for that wifi | |
wpa_passphase <ssid> > ./output.conf | |
#use wpa_supplicant to connect wifi | |
wpa_supplicant -B -D wext -i wlp7s0 -c ./output.conf | |
# -B for background running | |
# -D select driver for wifi. wext is generic | |
# -i select interface | |
# -c select file | |
#use iw link to verify connection | |
iw wlp7s0 link | |
#use dhclient to get IP from router | |
dhclient wlp7s0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment