Module Name: src
Committed By: hubertf
Date: Thu Nov 26 16:07:40 UTC 2015
Modified Files:
src/share/examples/wpa_supplicant: wpa_supplicant.conf
Log Message:
Move today's most common config (WPA) to the front
Add a WPA config with hidden (non-broadcasting) SSID
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/share/examples/wpa_supplicant/wpa_supplicant.conf
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/examples/wpa_supplicant/wpa_supplicant.conf
diff -u src/share/examples/wpa_supplicant/wpa_supplicant.conf:1.2 src/share/examples/wpa_supplicant/wpa_supplicant.conf:1.3
--- src/share/examples/wpa_supplicant/wpa_supplicant.conf:1.2 Thu Nov 26 16:03:18 2015
+++ src/share/examples/wpa_supplicant/wpa_supplicant.conf Thu Nov 26 16:07:40 2015
@@ -1,4 +1,4 @@
-# $NetBSD: wpa_supplicant.conf,v 1.2 2015/11/26 16:03:18 hubertf Exp $
+# $NetBSD: wpa_supplicant.conf,v 1.3 2015/11/26 16:07:40 hubertf Exp $
#
# example wpa_supplicant config
#
@@ -12,6 +12,21 @@ ctrl_interface=/var/run/wpa_supplicant/
# name a group whose members will be Allowed(tm)
ctrl_interface_group=wheel
+# simple WPA-PSK, a favourite with conferences and hotel networks
+network={
+ ssid="SomeConference"
+ key_mgmt=WPA-PSK
+ psk="secretKey"
+}
+
+# a private WPA-PSK that doesn't broadcast its SSID
+network={
+ ssid="HomeSweetHome"
+ key_mgmt=WPA-PSK
+ psk="secretKey"
+ scan_ssid=1
+}
+
# WEP .. all the stopping power of a "please keep off the lawn" sign
# least common denominator "security" so it's formally not open
network={
@@ -23,13 +38,6 @@ network={
priority=2
}
-# simple WPA-PSK, a favourite with conferences and hotel networks
-network={
- ssid="SomeConference"
- key_mgmt=WPA-PSK
- psk="secretKey"
-}
-
# using eduroam for more examples:
## eduroam with PEAP/MSCHAPv2