Skip to content

Commit

Permalink
Issue #12: Added additional examples of networks to wpa_supplicant.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
jawaad-ahmad committed Aug 14, 2018
1 parent 162a9ba commit a025606
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 a025606

Please sign in to comment.