Skip to content

Commit

Permalink
Merge pull request #13 from jawaad-ahmad/issue12
Browse files Browse the repository at this point in the history
Issue #12: Added additional examples of networks to wpa_supplicant.conf
  • Loading branch information
jawaad-ahmad authored Aug 14, 2018
2 parents 162a9ba + a025606 commit fa42a55
Showing 1 changed file with 42 additions and 1 deletion.
43 changes: 42 additions & 1 deletion stage2/02-net-tweaks/files/wpa_supplicant.conf
Original file line number Diff line number Diff line change
@@ -1,13 +1,54 @@
country=GB
country=US
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
ssid="{{ WIFI_SSID }}"
scan_ssid=1
psk="{{ WIFI_PSK }}"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
priority=999
}

network={
ssid="{{ WIFI_SSID }}"
psk="{{ WIFI_PSK }}"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
priority=99
}

network={
ssid="{{ WIFI_SSID }}"
scan_ssid=1
key_mgmt=NONE
priority=2
}

network={
ssid="{{ WIFI_SSID }}"
psk="{{ WIFI_PSK }}"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
priority=-1
}

## Connect to any open wi-fi network
#network={
# key_mgmt=NONE
# priority=-999
#}

# After editing, run:
#
# $ sudo ifdown wlan0
# $ sudo ifup wlan0
# $ iwconfig
# $ /sbin/ifconfig

0 comments on commit fa42a55

Please sign in to comment.