Module Name: src Committed By: nia Date: Tue Oct 10 07:21:00 UTC 2023
Modified Files: src/share/examples/wpa_supplicant: wpa_supplicant.conf Log Message: Add an example of connecting to an unsecured network with wpa_supplicant To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 \ 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.4 src/share/examples/wpa_supplicant/wpa_supplicant.conf:1.5 --- src/share/examples/wpa_supplicant/wpa_supplicant.conf:1.4 Fri Sep 29 14:05:28 2023 +++ src/share/examples/wpa_supplicant/wpa_supplicant.conf Tue Oct 10 07:21:00 2023 @@ -1,4 +1,4 @@ -# $NetBSD: wpa_supplicant.conf,v 1.4 2023/09/29 14:05:28 gutteridge Exp $ +# $NetBSD: wpa_supplicant.conf,v 1.5 2023/10/10 07:21:00 nia Exp $ # # example wpa_supplicant config # @@ -12,11 +12,19 @@ ctrl_interface=/var/run/wpa_supplicant/ # name a group whose members will be Allowed(tm) ctrl_interface_group=wheel +# an unencrypted network +network={ + ssid="Freifunk" + key_mgmt=NONE + priority=10 +} + # simple WPA-PSK, a favourite with conferences and hotel networks network={ ssid="SomeConference" key_mgmt=WPA-PSK psk="secretKey" + priority=20 } # a private WPA-PSK that doesn't broadcast its SSID @@ -25,6 +33,7 @@ network={ key_mgmt=WPA-PSK psk="secretKey" scan_ssid=1 + priority=30 } # WEP .. all the stopping power of a "please keep off the lawn" sign