1# $NetBSD: wpa_supplicant.conf,v 1.3 2015/11/26 16:07:40 hubertf Exp $ 2# 3# example wpa_supplicant config 4# 5# please refer to the wpa_supplicant.conf man page 6 7# wpa_cli and dhcpcd won't work well if you have no ctrl_interface set 8# the value must be a directory, the sockets will be named after the interfaces 9ctrl_interface=/var/run/wpa_supplicant/ 10 11# if non-root should be allowed to send wpa_supplicant commands via wpa_cli 12# name a group whose members will be Allowed(tm) 13ctrl_interface_group=wheel 14 15# simple WPA-PSK, a favourite with conferences and hotel networks 16network={ 17 ssid="SomeConference" 18 key_mgmt=WPA-PSK 19 psk="secretKey" 20} 21 22# a private WPA-PSK that doesn't broadcast its SSID 23network={ 24 ssid="HomeSweetHome" 25 key_mgmt=WPA-PSK 26 psk="secretKey" 27 scan_ssid=1 28} 29 30# WEP .. all the stopping power of a "please keep off the lawn" sign 31# least common denominator "security" so it's formally not open 32network={ 33 ssid="TheLawn" 34 key_mgmt=NONE 35 wep_tx_keyidx=0 36 #wep_key0="pleasekeepoff" 37 wep_key0=706c656173656b6565706f6666 38 priority=2 39} 40 41# using eduroam for more examples: 42 43## eduroam with PEAP/MSCHAPv2 44#network={ 45# ssid="eduroam" 46# scan_ssid=1 47# 48# # The 'identity' is the username used for authentication. 49# identity="user1234@your.university.domain" 50# 51# # add yours 52# password="myPassword" 53# 54# # download a fitting CA cert and put the path to it here 55# ca_cert="/etc/openssl/certs/eduroam-CA-cert.pem" 56# 57# # where the authentication requests should be routed to 58# anonymous_identity="anonymous@your.university.domain" 59# 60# key_mgmt=WPA-EAP 61# auth_alg=OPEN 62# eap=PEAP 63# phase2="auth=MSCHAPv2" 64# 65# priority=5 66#} 67# 68## eduroam with EAP-TLS 69#network={ 70# ssid="eduroam" 71# scan_ssid=1 72# 73# # The 'identity' is the username used for authentication. 74# identity="user1234@your.university.domain" 75# 76# client_cert="/home/you/eduroam/user.cert" 77# private_key="/home/you/eduroam/user.key" 78# private_key_passwd="s3kr3t" 79# 80# # download a fitting CA cert and put the path to it here 81# ca_cert="/etc/openssl/certs/eduroam-CA-cert.pem" 82# 83# # where the authentication requests should be routed to 84# anonymous_identity="anonymous@your.university.domain" 85# 86# key_mgmt=WPA-EAP 87# auth_alg=OPEN 88# eap=TLS 89# 90# priority=4 91#} 92# 93## eduroam with TTLS+PAP 94#network={ 95# ssid="eduroam" 96# scan_ssid=1 97# 98# # The 'identity' is the username used for authentication. 99# identity="user1234@your.university.domain" 100# 101# # add yours 102# password="myPassword" 103# 104# # download a fitting CA cert and put the path to it here 105# ca_cert="/etc/openssl/certs/eduroam-CA-cert.pem" 106# 107# # where the authentication requests should be routed to 108# anonymous_identity="anonymous@your.university.domain" 109# 110# key_mgmt=WPA-EAP 111# auth_alg=OPEN 112# eap=TTLS 113# phase2="auth=PAP" 114# 115# priority=3 116#} 117# 118