Add an example of connecting to an unsecured network with wpa_supplicant

This commit is contained in:
nia 2023-10-10 07:21:00 +00:00
parent e736465a05
commit dd1cd64036
1 changed files with 10 additions and 1 deletions

View File

@ -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