wpa_supplicant.conf revision 1.2
1# $NetBSD: wpa_supplicant.conf,v 1.2 2015/11/26 16:03:18 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# WEP .. all the stopping power of a "please keep off the lawn" sign 16# least common denominator "security" so it's formally not open 17network={ 18 ssid="TheLawn" 19 key_mgmt=NONE 20 wep_tx_keyidx=0 21 #wep_key0="pleasekeepoff" 22 wep_key0=706c656173656b6565706f6666 23 priority=2 24} 25 26# simple WPA-PSK, a favourite with conferences and hotel networks 27network={ 28 ssid="SomeConference" 29 key_mgmt=WPA-PSK 30 psk="secretKey" 31} 32 33# using eduroam for more examples: 34 35## eduroam with PEAP/MSCHAPv2 36#network={ 37# ssid="eduroam" 38# scan_ssid=1 39# 40# # The 'identity' is the username used for authentication. 41# identity="user1234@your.university.domain" 42# 43# # add yours 44# password="myPassword" 45# 46# # download a fitting CA cert and put the path to it here 47# ca_cert="/etc/openssl/certs/eduroam-CA-cert.pem" 48# 49# # where the authentication requests should be routed to 50# anonymous_identity="anonymous@your.university.domain" 51# 52# key_mgmt=WPA-EAP 53# auth_alg=OPEN 54# eap=PEAP 55# phase2="auth=MSCHAPv2" 56# 57# priority=5 58#} 59# 60## eduroam with EAP-TLS 61#network={ 62# ssid="eduroam" 63# scan_ssid=1 64# 65# # The 'identity' is the username used for authentication. 66# identity="user1234@your.university.domain" 67# 68# client_cert="/home/you/eduroam/user.cert" 69# private_key="/home/you/eduroam/user.key" 70# private_key_passwd="s3kr3t" 71# 72# # download a fitting CA cert and put the path to it here 73# ca_cert="/etc/openssl/certs/eduroam-CA-cert.pem" 74# 75# # where the authentication requests should be routed to 76# anonymous_identity="anonymous@your.university.domain" 77# 78# key_mgmt=WPA-EAP 79# auth_alg=OPEN 80# eap=TLS 81# 82# priority=4 83#} 84# 85## eduroam with TTLS+PAP 86#network={ 87# ssid="eduroam" 88# scan_ssid=1 89# 90# # The 'identity' is the username used for authentication. 91# identity="user1234@your.university.domain" 92# 93# # add yours 94# password="myPassword" 95# 96# # download a fitting CA cert and put the path to it here 97# ca_cert="/etc/openssl/certs/eduroam-CA-cert.pem" 98# 99# # where the authentication requests should be routed to 100# anonymous_identity="anonymous@your.university.domain" 101# 102# key_mgmt=WPA-EAP 103# auth_alg=OPEN 104# eap=TTLS 105# phase2="auth=PAP" 106# 107# priority=3 108#} 109# 110