forked from RPi-Distro/pi-gen
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #12: Added additional examples of networks to wpa_supplicant.conf
- Loading branch information
1 parent
162a9ba
commit a025606
Showing
1 changed file
with
42 additions
and
1 deletion.
There are no files selected for viewing
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
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 |