wpa_supplicant-2.11.conf(Google翻訳)
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
* wpa_supplicant-2.11.conf(Google翻訳) [#mf303b36]
##### Example wpa_supplicant configuration file ########...
#
# This file describes configuration file format and list...
# Please also take a look at simpler configuration examp...
# subdirectory.
#
# Empty lines and lines starting with # are ignored
# NOTE! This file may contain password information and s...
# readable only by root user on multiuser systems.
# Note: All file paths in this configuration file should...
# not relative to working directory) path in order to al...
# to be changed. This can happen if wpa_supplicant is ru...
# Whether to allow wpa_supplicant to update (overwrite) ...
#
# This option can be used to allow wpa_supplicant to ove...
# file whenever configuration is changed (e.g., new netw...
# wpa_cli or wpa_gui, or a password is changed). This is...
# wpa_cli/wpa_gui to be able to store the configuration ...
# Please note that overwriting configuration file will r...
# it.
#update_config=1
# global configuration (shared by all network blocks)
#
# Parameters for the control interface. If this is speci...
# will open a control interface that is available for ex...
# manage wpa_supplicant. The meaning of this string depe...
# interface mechanism is used. For all cases, the existe...
# in configuration is used to determine whether the cont...
# enabled.
#
# For UNIX domain sockets (default on Linux and BSD): Th...
# will be created for UNIX domain sockets for listening ...
# external programs (CLI/GUI, etc.) for status informati...
# The socket file will be named based on the interface n...
# wpa_supplicant processes can be run at the same time i...
# interface is used.
# /var/run/wpa_supplicant is the recommended directory f...
# default, wpa_cli will use it when trying to connect wi...
#
# Access control for the control interface can be config...
# directory to allow only members of a group to use sock...
# possible to run wpa_supplicant as root (since it needs...
# configuration and open raw sockets) and still allow GU...
# run as non-root users. However, since the control inte...
# change the network configuration, this access needs to...
# cases. By default, wpa_supplicant is configured to use...
# want to allow non-root users to use the control interf...
# and change this value to match with that group. Add us...
# control interface access to this group. If this variab...
# not included in the configuration file, group will not...
# value it got by default when the directory or socket w...
#
# When configuring both the directory and group, use fol...
# DIR=/var/run/wpa_supplicant GROUP=wheel
# DIR=/var/run/wpa_supplicant GROUP=0
# (group can be either group name or gid)
#
# For UDP connections (default on Windows): The value wi...
# variable is just used to select that the control inter...
# The value can be set to, e.g., udp (ctrl_interface=udp)
#
# For Windows Named Pipe: This value can be used to set ...
# for controlling access to the control interface. Secur...
# set using Security Descriptor String Format (see http:...
# library/default.asp?url=/library/en-us/secauthz/securi...
# security_descriptor_string_format.asp). The descriptor...
# prefixed with SDDL=. For example, ctrl_interface=SDDL=...
# DACL (which will reject all connections). See README-W...
# information about SDDL string format.
#
ctrl_interface=/var/run/wpa_supplicant
# IEEE 802.1X/EAPOL version
# wpa_supplicant is implemented based on IEEE Std 802.1X...
# EAPOL version 2. However, there are many APs that do n...
# version number correctly (they seem to drop the frames...
# to make wpa_supplicant interoperate with these APs, th...
# to 1 by default. This configuration value can be used ...
# version (2).
# Note: When using MACsec, eapol_version shall be set to...
# defined in IEEE Std 802.1X-2010.
eapol_version=1
# AP scanning/selection
# By default, wpa_supplicant requests driver to perform ...
# uses the scan results to select a suitable AP. Another...
# allow the driver to take care of AP scanning and selec...
# wpa_supplicant just to process EAPOL frames based on I...
# information from the driver.
# 1: wpa_supplicant initiates scanning and AP selection;...
# the currently enabled networks are found, a new net...
# operation) may be initialized (if configured) (defa...
# 0: This mode must only be used when using wired Ethern...
# (including MACsec).
# 2: like 0, but associate with APs using security polic...
# BSSID); this can be used, e.g., with ndiswrapper an...
# enable operation with hidden SSIDs and optimized ro...
# the network blocks in the configuration file are tr...
# the driver reports successful association; each net...
# explicit security policy (i.e., only one option in ...
# key_mgmt, pairwise, group, proto variables
# Note: ap_scan=0/2 should not be used with the nl80211 ...
# current Linux interface). ap_scan=1 is the only option...
# For finding networks using hidden SSID, scan_ssid=1 in...
# be used with nl80211.
# When using IBSS or AP mode, ap_scan=2 mode can force t...
# created immediately regardless of scan results. ap_sca...
# to scan for existing networks and only if no matches w...
# networks are found, a new IBSS or AP mode network is c...
ap_scan=1
# Whether to force passive scan for network connection
#
# By default, scans will send out Probe Request frames o...
# active scanning. This advertise the local station to t...
# is fine, but users may wish to do passive scanning whe...
# listen quietly for Beacon frames and not send any Prob...
# functionality may be driver dependent.
#
# This parameter can be used to force only passive scann...
# for network connection cases. It should be noted that ...
# down scan operations and reduce likelihood of finding ...
# addition, some use cases will override this due to fun...
# requirements, e.g., for finding an AP that uses hidden...
# (scan_ssid=1) or P2P device discovery.
#
# 0: Do normal scans (allow active scans) (default)
# 1: Do passive scans.
#passive_scan=0
# MPM residency
# By default, wpa_supplicant implements the mesh peering...
# open mesh. However, if the driver can implement the MP...
# 0 to use the driver version. When AMPE is enabled, the...
# always used.
# 0: MPM lives in the driver
# 1: wpa_supplicant provides an MPM which handles peerin...
#user_mpm=1
# Maximum number of peer links (0-255; default: 99)
# Maximum number of mesh peering currently maintained by...
#max_peer_links=99
# Timeout in seconds to detect STA inactivity (default: ...
#
# This timeout value is used in mesh STA to clean up ina...
#mesh_max_inactivity=300
# Enable 802.11s layer-2 routing and forwarding (dot11Me...
#mesh_fwding=1
# cert_in_cb - Whether to include a peer certificate dum...
# This controls whether peer certificates for authentica...
# its certificate chain are included in EAP peer certifi...
# enabled by default.
#cert_in_cb=1
# EAP fast re-authentication
# By default, fast re-authentication is enabled for all ...
# support it. This variable can be used to disable fast ...
# Normally, there is no need to disable this.
fast_reauth=1
# OpenSSL Engine support
# These options can be used to load OpenSSL engines in s...
# modes.
# The two engines that are supported currently are shown...
# They are both from the opensc project (http://www.open...
# By default the PKCS#11 engine is loaded if the client_...
# private_key option appear to be a PKCS#11 URI, and the...
# should not need to be used explicitly.
# make the opensc engine available
#opensc_engine_path=/usr/lib/opensc/engine_opensc.so
# make the pkcs11 engine available
#pkcs11_engine_path=/usr/lib/opensc/engine_pkcs11.so
# configure the path to the pkcs11 module required by th...
#pkcs11_module_path=/usr/lib/pkcs11/opensc-pkcs11.so
# OpenSSL cipher string
#
# This is an OpenSSL specific configuration option for c...
# ciphers. If not set, the value configured at build tim...
# by default) is used.
# See https://www.openssl.org/docs/apps/ciphers.html for...
# on cipher suite configuration. This is applicable only...
# built to use OpenSSL.
#openssl_ciphers=DEFAULT:!EXP:!LOW
# Dynamic EAP methods
# If EAP methods were built dynamically as shared object...
# loaded here before being used in the network blocks. B...
# are included statically in the build, so these lines a...
#load_dynamic_eap=/usr/lib/wpa_supplicant/eap_tls.so
#load_dynamic_eap=/usr/lib/wpa_supplicant/eap_md5.so
# Driver interface parameters
# This field can be used to configure arbitrary driver i...
# format is specific to the selected driver interface. T...
# in most cases.
#driver_param="field=value"
# Country code
# The ISO/IEC alpha2 country code for the country in whi...
# currently operating.
#country=US
# Maximum lifetime for PMKSA in seconds; default 43200
#dot11RSNAConfigPMKLifetime=43200
# Threshold for reauthentication (percentage of PMK life...
#dot11RSNAConfigPMKReauthThreshold=70
# Timeout for security association negotiation in second...
#dot11RSNAConfigSATimeout=60
# Wi-Fi Protected Setup (WPS) parameters
# Universally Unique IDentifier (UUID; see RFC 4122) of ...
# If not configured, UUID will be generated based on the...
# the auto_uuid parameter.
#uuid=12345678-9abc-def0-1234-56789abcdef0
# Automatic UUID behavior
# 0 = generate static value based on the local MAC addre...
# 1 = generate a random UUID every time wpa_supplicant s...
#auto_uuid=0
# Device Name
# User-friendly description of device; up to 32 octets e...
#device_name=Wireless Client
# Manufacturer
# The manufacturer of the device (up to 64 ASCII charact...
#manufacturer=Company
# Model Name
# Model of the device (up to 32 ASCII characters)
#model_name=cmodel
# Model Number
# Additional device description (up to 32 ASCII characte...
#model_number=123
# Serial Number
# Serial number of the device (up to 32 characters)
#serial_number=12345
# Primary Device Type
# Used format: <categ>-<OUI>-<subcateg>
# categ = Category as an integer value
# OUI = OUI and type octet as a 4-octet hex-encoded valu...
# default WPS OUI
# subcateg = OUI-specific Sub Category as an integer value
# Examples:
# 1-0050F204-1 (Computer / PC)
# 1-0050F204-2 (Computer / Server)
# 5-0050F204-1 (Storage / NAS)
# 6-0050F204-1 (Network Infrastructure / AP)
#device_type=1-0050F204-1
# OS Version
# 4-octet operating system version number (hex string)
#os_version=01020300
# Config Methods
# List of the supported configuration methods
# Available methods: usba ethernet label display ext_nfc...
# nfc_interface push_button keypad virtual_display physi...
# virtual_push_button physical_push_button
# For WSC 1.0:
#config_methods=label display push_button keypad
# For WSC 2.0:
#config_methods=label virtual_display virtual_push_butto...
# Credential processing
# 0 = process received credentials internally (default)
# 1 = do not process received credentials; just pass t...
# external program(s)
# 2 = process received credentials internally and pass...
# to external program(s)
#wps_cred_processing=0
# Whether to enable SAE (WPA3-Personal transition mode) ...
# WPA2-PSK credentials received using WPS.
# 0 = only add the explicitly listed WPA2-PSK configurat...
# 1 = add both the WPA2-PSK and SAE configuration and en...
# station gets configured in WPA3-Personal transitio...
# WPA2-Personal (PSK) and WPA3-Personal (SAE) APs).
#wps_cred_add_sae=0
# Vendor attribute in WPS M1, e.g., Windows 7 Vertical P...
# The vendor attribute contents to be added in M1 (hex s...
#wps_vendor_ext_m1=000137100100020001
# NFC password token for WPS
# These parameters can be used to configure a fixed NFC ...
# station. This can be generated, e.g., with nfc_pw_toke...
# parameters are used, the station is assumed to be depl...
# that includes the matching NFC password token (e.g., w...
# NDEF record from nfc_pw_token).
#
#wps_nfc_dev_pw_id: Device Password ID (16..65535)
#wps_nfc_dh_pubkey: Hexdump of DH Public Key
#wps_nfc_dh_privkey: Hexdump of DH Private Key
#wps_nfc_dev_pw: Hexdump of Device Password
# Priority for the networks added through WPS
# This priority value will be set to each network profil...
# by executing the WPS protocol.
#wps_priority=0
# Device Provisioning Protocol (DPP) parameters
#
# How to process DPP configuration
# 0 = report received configuration to an external progr...
# processing; do not generate any network profile in...
# 1 = report received configuration to an external progr...
# a network profile internally, but do not automatic...
# to the created (disabled) profile; the network pro...
# reported to external programs
# 2 = report received configuration to an external progr...
# a network profile internally, try to connect to th...
# profile automatically
#dpp_config_processing=0
#
# Name for Enrollee's DPP Configuration Request
#dpp_name=Test
#
# MUD URL for Enrollee's DPP Configuration Request (opti...
#dpp_mud_url=https://example.com/mud
# Maximum number of BSS entries to keep in memory
# Default: 200
# This can be used to limit memory use on the BSS entrie...
# results). A larger value may be needed in environments...
# of APs when using ap_scan=1 mode.
#bss_max_count=200
# BSS expiration age in seconds. A BSS will be removed f...
# if it is not in use and has not been seen for this tim...
#bss_expiration_age=180
# BSS expiration after number of scans. A BSS will be re...
# cache if it is not seen in this number of scans.
# Default is 2.
#bss_expiration_scan_count=2
# Automatic scan
# This is an optional set of parameters for automatic sc...
# within an interface in following format:
#autoscan=<autoscan module name>:<module parameters>
# autoscan is like bgscan but on disconnected or inactiv...
# For instance, on exponential module parameters would b...
#autoscan=exponential:3:300
# Which means a delay between scans on a base exponentia...
# up to the limit of 300 seconds (3, 9, 27 ... 300)
# For periodic module, parameters would be <fixed interv...
#autoscan=periodic:30
# So a delay of 30 seconds will be applied between each ...
# Note: If sched_scan_plans are configured and supported...
# autoscan is ignored.
# filter_ssids - SSID-based scan result filtering
# 0 = do not filter scan results (default)
# 1 = only include configured SSIDs in scan results/BSS ...
#filter_ssids=0
# Password (and passphrase, etc.) backend for external s...
# format: <backend name>[:<optional backend parameters>]
# Test backend which stores passwords in memory. Should ...
# development purposes.
#ext_password_backend=test:pw1=password|pw2=testing
# File-based backend which reads passwords from a file. ...
# identifies the file to read passwords from. The passwo...
# format of wpa_supplicant.conf and accepts simple `key=...
# passwords.
#ext_password_backend=file:/path/to/passwords.conf
# Disable P2P functionality
# p2p_disabled=1
# Timeout in seconds to detect STA inactivity (default: ...
#
# This timeout value is used in P2P GO mode to clean up
# inactive stations.
#p2p_go_max_inactivity=300
# Passphrase length (8..63) for P2P GO
#
# This parameter controls the length of the random passp...
# generated at the GO. Default: 8.
#p2p_passphrase_len=8
# Extra delay between concurrent P2P search iterations
#
# This value adds extra delay in milliseconds between co...
# iterations to make p2p_find friendlier to concurrent o...
# it from taking 100% of radio resources. The default va...
#p2p_search_delay=500
# Opportunistic Key Caching (also known as Proactive Key...
# This parameter can be used to set the default behavior...
# proactive_key_caching parameter. By default, OKC is di...
# with the global okc=1 parameter or with the per-network
# proactive_key_caching=1 parameter. With okc=1, OKC is ...
# can be disabled with per-network proactive_key_caching...
#okc=0
# Protected Management Frames default
# This parameter can be used to set the default behavior...
# parameter for RSN networks. By default, PMF is disable...
# the global pmf=1/2 parameter or with the per-network i...
# With pmf=1/2, PMF is enabled/required by default, but ...
# per-network ieee80211w parameter. This global default ...
# for non-RSN networks (key_mgmt=NONE) since PMF is avai...
# RSN.
#pmf=0
# sae_check_mfp: Require PMF support to select SAE key_m...
# 0 = Do not check PMF for SAE (default)
# 1 = Limit SAE when PMF is not enabled
#
# When enabled SAE will not be selected if PMF will not ...
# for the connection.
# Scenarios where this check will limit SAE:
# 1) ieee80211w=0 is set for the network
# 2) The AP does not have PMF enabled.
# 3) ieee80211w is unset, pmf=1 is enabled globally, and
# the device does not support the BIP cipher.
# Consider the configuration of global parameterss sae_c...
# network configured with ieee80211w unset and key_mgmt=...
# In the example WPA-PSK will be used if the device does...
# the BIP cipher or the AP has PMF disabled.
# Limiting SAE with this check can avoid failing to asso...
# that is configured with sae_requires_mfp=1 if the devi...
# not support PMF due to lack of the BIP cipher.
#
# Enabling this check helps with compliance of the WPA3
# specification for WPA3-Personal transition mode.
# The WPA3 specification section 2.3 "WPA3-Personal tran...
# states "A STA shall negotiate PMF when associating to ...
# With this check WPA3 capable devices when connecting
# to transition mode APs that do not advertise PMF support
# will not use SAE and instead fallback to PSK.
#sae_check_mfp=0
# Enabled SAE finite cyclic groups in preference order
# By default (if this parameter is not set), the mandato...
# defined over a 256-bit prime order field, NIST P-256) ...
# 20 (NIST P-384) and 21 (NIST P-521) are also enabled. ...
# set, the groups will be tried in the indicated order.
# The group values are listed in the IANA registry:
# http://www.iana.org/assignments/ipsec-registry/ipsec-r...
# Note that groups 1, 2, 5, 22, 23, and 24 should not be...
# purposes due limited security (see RFC 8247). Groups t...
# group 19 (ECC, NIST P-256) are unlikely to be useful f...
# since all implementations are required to support grou...
#sae_groups=19 20 21
# SAE mechanism for PWE derivation
# 0 = hunting-and-pecking loop only (default without pas...
# 1 = hash-to-element only (default with password identi...
# 2 = both hunting-and-pecking loop and hash-to-element ...
# Note: The default value is likely to change from 0 to ...
# hash-to-element mechanism has received more interopera...
# When using SAE password identifier, the hash-to-elemen...
# regardless of the sae_pwe parameter value.
#sae_pwe=0
# Default value for DTIM period (if not overridden in ne...
#dtim_period=2
# Default value for Beacon interval (if not overridden i...
#beacon_int=100
# Additional vendor specific elements for Beacon and Pro...
# This parameter can be used to add additional vendor sp...
# the end of the Beacon and Probe Response frames. The f...
# element(s) is a hexdump of the raw information element...
# one or more elements). This is used in AP and P2P GO m...
#ap_vendor_elements=dd0411223301
# Ignore scan results older than request
#
# The driver may have a cache of scan results that makes...
# information that is older than our scan trigger. This ...
# be used to configure such old information to be ignore...
# allowing it to update the internal BSS table.
#ignore_old_scan_res=0
# scan_cur_freq: Whether to scan only the current freque...
# 0: Scan all available frequencies. (Default)
# 1: Scan current operating frequency if another VIF on...
# is already associated.
# Seconds to consider old scan results valid for associa...
#scan_res_valid_for_connect=5
# MAC address policy default
# 0 = use permanent MAC address
# 1 = use random MAC address for each ESS connection
# 2 = like 1, but maintain OUI (with local admin bit set)
# 3 = use dedicated/pregenerated MAC address (see mac_va...
#
# By default, permanent MAC address is used unless polic...
# the per-network mac_addr parameter. Global mac_addr=1 ...
# change this default behavior.
#mac_addr=0
# Local MAC address to use whenever connecting with this...
# This is used with mac_addr=3.
#mac_value=02:12:34:56:78:9a
# Lifetime of random MAC address in seconds (default: 60)
#rand_addr_lifetime=60
# MAC address policy for pre-association operations (sca...
# 0 = use permanent MAC address
# 1 = use random MAC address
# 2 = like 1, but maintain OUI (with local admin bit set)
#preassoc_mac_addr=0
# MAC address policy for GAS operations
# 0 = use permanent MAC address
# 1 = use random MAC address
# 2 = like 1, but maintain OUI (with local admin bit set)
# Note that this setting is ignored when a specific MAC ...
# a full protocol exchange that includes GAS, e.g., when...
# exchange that exposes the configured interface address...
# Public Action frame exchanges before using GAS. That s...
# during the GAS exchange as well to avoid breaking the ...
#gas_rand_mac_addr=0
# Lifetime of GAS random MAC address in seconds (default...
#gas_rand_addr_lifetime=60
# Interworking (IEEE 802.11u)
# Enable Interworking
# interworking=1
# Enable P2P GO advertisement of Interworking
# go_interworking=1
# P2P GO Interworking: Access Network Type
# 0 = Private network
# 1 = Private network with guest access
# 2 = Chargeable public network
# 3 = Free public network
# 4 = Personal device network
# 5 = Emergency services only network
# 14 = Test or experimental
# 15 = Wildcard
#go_access_network_type=0
# P2P GO Interworking: Whether the network provides conn...
# 0 = Unspecified
# 1 = Network provides connectivity to the Internet
#go_internet=1
# P2P GO Interworking: Group Venue Info (optional)
# The available values are defined in IEEE Std 802.11-20...
# Example values (group,type):
# 0,0 = Unspecified
# 1,7 = Convention Center
# 1,13 = Coffee Shop
# 2,0 = Unspecified Business
# 7,1 Private Residence
#go_venue_group=7
#go_venue_type=1
# Homogeneous ESS identifier
# If this is set, scans will be used to request response...
# belonging to the specified Homogeneous ESS. This is us...
# is enabled.
# hessid=00:11:22:33:44:55
# Automatic network selection behavior
# 0 = do not automatically go through Interworking netwo...
# (i.e., require explicit interworking_select comman...
# 1 = perform Interworking network selection if one or m...
# credentials have been configured and scan did not ...
# matching network block
#auto_interworking=0
# GAS Address3 field behavior
# 0 = P2P specification (Address3 = AP BSSID); default
# 1 = IEEE 802.11 standard compliant (Address3 = Wildcar...
# sent to not-associated AP; if associated, AP BSSID)
#gas_address3=0
# Publish fine timing measurement (FTM) responder functi...
# the Extended Capabilities element bit 70.
# Controls whether FTM responder functionality will be p...
# Note that actual FTM responder operation is managed ou...
# 0 = Do not publish; default
# 1 = Publish
#ftm_responder=0
# Publish fine timing measurement (FTM) initiator functi...
# the Extended Capabilities element bit 71.
# Controls whether FTM initiator functionality will be p...
# Note that actual FTM initiator operation is managed ou...
# 0 = Do not publish; default
# 1 = Publish
#ftm_initiator=0
# credential block
#
# Each credential used for automatic network selection i...
# of parameters that are compared to the information adv...
# interworking_select and interworking_connect commands ...
#
# credential fields:
#
# temporary: Whether this credential is temporary and no...
#
# priority: Priority group
# By default, all networks and credentials get the same ...
# (0). This field can be used to give higher priority fo...
# (and similarly in struct wpa_ssid for network blocks) ...
# Interworking automatic networking selection behavior. ...
# network (based on either an enabled network block or a...
# with the highest priority value will be selected.
#
# pcsc: Use PC/SC and SIM/USIM card
#
# realm: Home Realm for Interworking
#
# username: Username for Interworking network selection
#
# password: Password for Interworking network selection
#
# ca_cert: CA certificate for Interworking network selec...
#
# client_cert: File path to client certificate file (PEM...
# This field is used with Interworking networking select...
# where client certificate/private key is used for authe...
# (EAP-TLS). Full path to the file should be used since ...
# directory may change when wpa_supplicant is run in the...
#
# Certificates from PKCS#11 tokens can be referenced by ...
#
# For example: private_key="pkcs11:manufacturer=piv_II;i...
#
# Alternatively, a named configuration blob can be used ...
# this to blob://blob_name.
#
# private_key: File path to client private key file (PEM...
# When PKCS#12/PFX file (.p12/.pfx) is used, client_cert...
# commented out. Both the private key and certificate wi...
# from the PKCS#12 file in this case. Full path to the f...
# used since working directory may change when wpa_suppl...
# in the background.
#
# Keys in PKCS#11 tokens can be referenced by a PKCS#11 ...
# For example: private_key="pkcs11:manufacturer=piv_II;i...
#
# Windows certificate store can be used by leaving clien...
# configuring private_key in one of the following formats:
#
# cert://substring_to_match
#
# hash://certificate_thumbprint_in_hex
#
# For example: private_key="hash://63093aa9c47f56ae88334...
#
# Note that when running wpa_supplicant as an applicatio...
# certificate store (My user account) is used, whereas c...
# (Computer account) is used when running wpasvc as a se...
#
# Alternatively, a named configuration blob can be used ...
# this to blob://blob_name.
#
# private_key_passwd: Password for private key file
#
# imsi: IMSI in <MCC> | <MNC> | '-' | <MSIN> format
#
# milenage: Milenage parameters for SIM/USIM simulator i...
# format
#
# domain: Home service provider FQDN(s)
# This is used to compare against the Domain Name List t...
# whether the AP is operated by the Home SP. Multiple do...
# be used to configure alternative FQDNs that will be co...
# networks.
#
# home_ois: Home OI(s)
# This string field contains one or more comma delimited...
# identifying the access the access points that support ...
# with this credential. There are an alternative to the ...
# parameter. When using Home OIs to match the network, t...
# need to be pre-configured with the credentials since t...
# information may not be available or fetched.
# A successful authentication with the access point is p...
# as at least one Home OI from the list matches an OI in...
# Consortium advertised by the access point.
# (Hotspot 2.0 PerProviderSubscription/<X+>/HomeSP/HomeO...
#
# required_home_ois: Required Home OI(s)
# This string field contains the set of Home OI(s) (hexd...
# required to be advertised by the AP for the credential...
# matching.
# (Hotspot 2.0 PerProviderSubscription/<X+>/HomeSP/HomeO...
#
# roaming_consortium: Roaming Consortium OI
# Deprecated: use home_ois instead.
# If roaming_consortium_len is non-zero, this field cont...
# Roaming Consortium OI that can be used to determine wh...
# points support authentication with this credential. Th...
# alternative to the use of the realm parameter. When us...
# Consortium to match the network, the EAP parameters ne...
# pre-configured with the credential since the NAI Realm...
# may not be available or fetched.
#
# required_roaming_consortium: Required Roaming Consorti...
# Deprecated: use required_home_ois instead.
# If required_roaming_consortium_len is non-zero, this f...
# Roaming Consortium OI that is required to be advertise...
# the credential to be considered matching.
#
# roaming_consortiums: Roaming Consortium OI(s) membersh...
# This string field contains one or more comma delimited...
# identifying the roaming consortiums of which the provi...
# The list is sorted from the most preferred one to the ...
# one. A match between the Roaming Consortium OIs advert...
# the OIs in this list indicates that successful authent...
# possible.
# (Hotspot 2.0 PerProviderSubscription/<X+>/HomeSP/Roami...
#
# eap: Pre-configured EAP method
# This optional field can be used to specify which EAP m...
# used with this credential. If not set, the EAP method ...
# automatically based on ANQP information (e.g., NAI Rea...
#
# phase1: Pre-configure Phase 1 (outer authentication) p...
# This optional field is used with like the 'eap' parame...
#
# phase2: Pre-configure Phase 2 (inner authentication) p...
# This optional field is used with like the 'eap' parame...
#
# excluded_ssid: Excluded SSID
# This optional field can be used to excluded specific S...
# matching with the network. Multiple entries can be use...
# than one SSID.
#
# roaming_partner: Roaming partner information
# This optional field can be used to configure preferenc...
# partners. The field is a string in following format:
# <FQDN>,<0/1 exact match>,<priority>,<* or country code>
# (non-exact match means any subdomain matches the entry...
# 0..255 range with 0 being the highest priority)
#
# update_identifier: PPS MO ID
# (Hotspot 2.0 PerProviderSubscription/UpdateIdentifier)
#
# provisioning_sp: FQDN of the SP that provisioned the c...
# This optional field can be used to keep track of the S...
# the credential to find the PPS MO (./Wi-Fi/<provisioni...
#
# Minimum backhaul threshold (PPS/<X+>/Policy/MinBackhau...
# These fields can be used to specify minimum download/u...
# bandwidth that is preferred for the credential. This c...
# ignored if the AP does not advertise WAN Metrics infor...
# limit would prevent any connection. Values are in kilo...
# min_dl_bandwidth_home
# min_ul_bandwidth_home
# min_dl_bandwidth_roaming
# min_ul_bandwidth_roaming
#
# max_bss_load: Maximum BSS Load Channel Utilization (1....
# (PPS/<X+>/Policy/MaximumBSSLoadValue)
# This value is used as the maximum channel utilization ...
# selection purposes for home networks. If the AP does n...
# BSS Load or if the limit would prevent any connection,...
# will be ignored.
#
# req_conn_capab: Required connection capability
# (PPS/<X+>/Policy/RequiredProtoPortTuple)
# This value is used to configure set of required protoc...
# a roaming network shall support (include explicitly in...
# Capability ANQP element). This constraint is ignored i...
# advertise Connection Capability or if this constraint ...
# network connection. This policy is not used in home ne...
# Format: <protocol>[:<comma-separated list of ports]
# Multiple entries can be used to list multiple requirem...
# For example, number of common TCP protocols:
# req_conn_capab=6,22,80,443
# For example, IPSec/IKE:
# req_conn_capab=17:500
# req_conn_capab=50
#
# ocsp: Whether to use/require OCSP to check server cert...
# 0 = do not use OCSP stapling (TLS certificate status e...
# 1 = try to use OCSP stapling, but not require response
# 2 = require valid OCSP stapling response
# 3 = require valid OCSP stapling response for all not-t...
# certificates in the server certificate chain
#
# sim_num: Identifier for which SIM to use in multi-SIM ...
#
# for example:
#
#cred={
# realm="example.com"
# username="user@example.com"
# password="password"
# ca_cert="/etc/wpa_supplicant/ca.pem"
# domain="example.com"
#}
#
#cred={
# imsi="310026-000000000"
# milenage="90dca4eda45b53cf0f12d7c9c3bc6a89:cb9cccc4b92...
#}
#
#cred={
# realm="example.com"
# username="user"
# password="password"
# ca_cert="/etc/wpa_supplicant/ca.pem"
# domain="example.com"
# home_ois="223344"
# eap=TTLS
# phase2="auth=MSCHAPV2"
#}
# Hotspot 2.0
# hs20=1
# Scheduled scan plans
#
# A space delimited list of scan plans. Each scan plan s...
# interval and number of iterations, delimited by a colo...
# will run infinitely and thus must specify only the int...
# of iterations.
#
# The driver advertises the maximum number of scan plans...
# plans than supported are configured, only the first on...
# maximum supported). The last scan plan that specifies ...
# always set as the last plan.
#
# If the scan interval or the number of iterations for a...
# maximum supported, it will be set to the maximum suppo...
#
# Format:
# sched_scan_plans=<interval:iterations> <interval:itera...
#
# Example:
# sched_scan_plans=10:100 20:200 30
# Multi Band Operation (MBO) non-preferred channels
# A space delimited list of non-preferred channels where...
# delimited list of values.
# Format:
# non_pref_chan=<oper_class>:<chan>:<preference>:<reason>
# Example:
# non_pref_chan=81:5:10:2 81:1:0:2 81:9:0:2
# MBO Cellular Data Capabilities
# 1 = Cellular data connection available
# 2 = Cellular data connection not available
# 3 = Not cellular capable (default)
#mbo_cell_capa=3
# Optimized Connectivity Experience (OCE)
# oce: Enable OCE features (bitmap)
# Set BIT(0) to Enable OCE in non-AP STA mode (default; ...
# does not indicate support for OCE in STA mode)
# Set BIT(1) to Enable OCE in STA-CFON mode
#oce=1
# Extended Key ID support for Individually Addressed fra...
# 0 = force off: Do not use Extended Key ID (default)
# 1 = auto: Activate Extended Key ID support if the driv...
#extended_key_id=0
# network block
#
# Each network (usually AP's sharing the same SSID) is c...
# block in this configuration file. The network blocks a...
# (the first match is used).
#
# network block fields:
#
# disabled:
# 0 = this network can be used (default)
# 1 = this network block is disabled (can be enabled thr...
# e.g., with wpa_cli or wpa_gui)
#
# id_str: Network identifier string for external scripts...
# to external action script through wpa_cli as WPA_ID_ST...
# variable to make it easier to do network specific conf...
#
# ssid: SSID (mandatory); network name in one of the opt...
# - an ASCII string with double quotation
# - a hex string (two characters per octet of SSID)
# - a printf-escaped ASCII string P"<escaped string>"
#
# scan_ssid:
# 0 = do not scan this SSID with specific Probe Request ...
# 1 = scan with SSID-specific Probe Request frames (this...
# find APs that do not accept broadcast SSID or use ...
# this will add latency to scanning, so enable this ...
#
# bssid: BSSID (optional); if set, this network block is...
# associating with the AP using the configured BSSID
#
# ignore_broadcast_ssid: SSID broadcast behavior
# Send empty SSID in beacons and ignore probe request fr...
# specify full SSID, i.e., require stations to know SSID.
# default: disabled (0)
# 1 = send empty (length=0) SSID in beacon and ignore pr...
# broadcast SSID
# 2 = clear SSID (ASCII 0), but keep the original length...
# with some clients that do not support empty SSID) ...
# requests for broadcast SSID
#
# priority: priority group (integer)
# By default, all networks will get same priority group ...
# networks are more desirable, this field can be used to...
# which wpa_supplicant goes through the networks when se...
# priority groups will be iterated in decreasing priorit...
# priority value, the sooner the network is matched agai...
# Within each priority group, networks will be selected ...
# policy, signal strength, etc.
# Please note that AP scanning with scan_ssid=1 and ap_s...
# using this priority to select the order for scanning. ...
# networks in the order that used in the configuration f...
#
# mode: IEEE 802.11 operation mode
# 0 = infrastructure (Managed) mode, i.e., associate wit...
# 1 = IBSS (ad-hoc, peer-to-peer)
# 2 = AP (access point)
# Note: IBSS can only be used with key_mgmt NONE (plaint...
# WPA-PSK (with proto=RSN). In addition, key_mgmt=WPA-NO...
# TKIP/CCMP) is available for backwards compatibility, b...
# deprecated. WPA-None requires following network block ...
# proto=WPA, key_mgmt=WPA-NONE, pairwise=NONE, group=TKI...
# both), and psk must also be set.
#
# frequency: Channel frequency in megahertz (MHz) for IB...
# 2412 = IEEE 802.11b/g channel 1. This value is used to...
# channel for IBSS (adhoc) networks. It is ignored in th...
# In addition, this value is only used by the station th...
# an IBSS network with the configured SSID is already pr...
# the network will be used instead of this configured va...
#
# pbss: Whether to use PBSS. Relevant to IEEE 802.11ad n...
# 0 = do not use PBSS
# 1 = use PBSS
# 2 = don't care (not allowed in AP mode)
# Used together with mode configuration. When mode is AP...
# PCP instead of a regular AP. When mode is infrastructu...
# to a PCP instead of AP. In this mode you can also spec...
# which means connect to either PCP or AP.
# P2P_GO and P2P_GROUP_FORMATION modes must use PBSS in ...
# For more details, see IEEE Std 802.11ad-2012.
#
# scan_freq: List of frequencies to scan
# Space-separated list of frequencies in MHz to scan whe...
# BSS. If the subset of channels used by the network is ...
# be used to optimize scanning to not occur on channels ...
# not use. Example: scan_freq=2412 2437 2462
#
# freq_list: Array of allowed frequencies
# Space-separated list of frequencies in MHz to allow fo...
# set, scan results that do not match any of the specifi...
# considered when selecting a BSS.
#
# This can also be set on the outside of the network blo...
# it limits the frequencies that will be scanned.
#
# bgscan: Background scanning
# wpa_supplicant behavior for background scanning can be...
# configuring a bgscan module. These modules are respons...
# background scans for the purpose of roaming within an ...
# single network block with all the APs using the same S...
# parameter uses following format: "<bgscan module name>...
# Following bgscan modules are available:
# simple - Periodic background scans based on signal str...
# send_btm_query > 0 means do this many BTM queries befo...
# bgscan="simple:<short bgscan interval in seconds>:<sig...
# <long interval>[:<send_btm_query>]"
# bgscan="simple:30:-45:300"
# bgscan="simple:30:-45:300:3"
# learn - Learn channels used by the network and try to ...
# channels (experimental)
# bgscan="learn:<short bgscan interval in seconds>:<sign...
# <long interval>[:<database file name>]"
# bgscan="learn:30:-45:300:/etc/wpa_supplicant/network1....
# Explicitly disable bgscan by setting
# bgscan=""
#
# This option can also be set outside of all network blo...
# parameter to apply for all the networks that have no s...
# parameter.
#
# proto: list of accepted protocols
# WPA = WPA/IEEE 802.11i/D3.0
# RSN = WPA2/IEEE 802.11i (also WPA2 can be used as an a...
# Note that RSN is used also for WPA3.
# If not set, this defaults to: WPA RSN
#
# key_mgmt: list of accepted authenticated key managemen...
# WPA-PSK = WPA pre-shared key (this requires 'psk' field)
# WPA-EAP = WPA using EAP authentication
# IEEE8021X = IEEE 802.1X using EAP authentication and (...
# generated WEP keys
# NONE = WPA is not used; plaintext or static WEP could ...
# WPA-NONE = WPA-None for IBSS (deprecated; use proto=RS...
# instead)
# FT-PSK = Fast BSS Transition (IEEE 802.11r) with pre-s...
# FT-EAP = Fast BSS Transition (IEEE 802.11r) with EAP a...
# FT-EAP-SHA384 = Fast BSS Transition (IEEE 802.11r) wit...
# and using SHA384
# WPA-PSK-SHA256 = Like WPA-PSK but using stronger SHA25...
# WPA-EAP-SHA256 = Like WPA-EAP but using stronger SHA25...
# SAE = Simultaneous authentication of equals; pre-share...
# authentication with stronger security than WPA-PSK esp...
# not that strong password; a.k.a. WPA3-Personal
# FT-SAE = SAE with FT
# WPA-EAP-SUITE-B = Suite B 128-bit level
# WPA-EAP-SUITE-B-192 = Suite B 192-bit level
# OSEN = Hotspot 2.0 Rel 2 online signup connection
# FILS-SHA256 = Fast Initial Link Setup with SHA256
# FILS-SHA384 = Fast Initial Link Setup with SHA384
# FT-FILS-SHA256 = FT and Fast Initial Link Setup with S...
# FT-FILS-SHA384 = FT and Fast Initial Link Setup with S...
# OWE = Opportunistic Wireless Encryption (a.k.a. Enhanc...
# DPP = Device Provisioning Protocol
# If not set, this defaults to: WPA-PSK WPA-EAP
#
# ieee80211w: whether management frame protection is ena...
# 0 = disabled (default unless changed with the global p...
# 1 = optional
# 2 = required
# The most common configuration options for this based o...
# management frames) certification program are:
# PMF enabled: ieee80211w=1 and key_mgmt=WPA-EAP WPA-EAP...
# PMF required: ieee80211w=2 and key_mgmt=WPA-EAP-SHA256
# (and similarly for WPA-PSK and WPA-PSK-SHA256 if WPA2-...
# WPA3-Personal-only mode: ieee80211w=2 and key_mgmt=SAE
#
# ocv: whether operating channel validation is enabled
# This is a countermeasure against multi-channel on-path...
# Enabling this automatically also enables ieee80211w, i...
# 0 = disabled (default)
# 1 = enabled if wpa_supplicant's SME in use. Otherwise ...
# driver indicates support for operating channel val...
#ocv=1
#
# auth_alg: list of allowed IEEE 802.11 authentication a...
# OPEN = Open System authentication (required for WPA/WP...
# SHARED = Shared Key authentication (requires static WE...
# LEAP = LEAP/Network EAP (only used with LEAP)
# If not set, automatic selection is used (Open System w...
# LEAP is allowed as one of the EAP methods).
#
# pairwise: list of accepted pairwise (unicast) ciphers ...
# CCMP = AES in Counter mode with CBC-MAC [RFC 3610, IEE...
# TKIP = Temporal Key Integrity Protocol [IEEE 802.11i/D...
# NONE = Use only Group Keys (deprecated, should not be ...
# pairwise keys)
# If not set, this defaults to: CCMP TKIP
#
# group: list of accepted group (broadcast/multicast) ci...
# CCMP = AES in Counter mode with CBC-MAC [RFC 3610, IEE...
# TKIP = Temporal Key Integrity Protocol [IEEE 802.11i/D...
# WEP104 = WEP (Wired Equivalent Privacy) with 104-bit key
# WEP40 = WEP (Wired Equivalent Privacy) with 40-bit key...
# If not set, this defaults to: CCMP TKIP WEP104 WEP40
#
# group_mgmt: list of accepted group management ciphers ...
# AES-128-CMAC = BIP-CMAC-128
# BIP-GMAC-128
# BIP-GMAC-256
# BIP-CMAC-256
# If not set, no constraint on the cipher, i.e., accept ...
# indicates.
#
# psk: WPA preshared key; 256-bit pre-shared key
# The key used in WPA-PSK mode can be entered either as ...
# 32 bytes or as an ASCII passphrase (in which case, the...
# generated using the passphrase and SSID). ASCII passph...
# 8 and 63 characters (inclusive). ext:<name of external...
# be used to indicate that the PSK/passphrase is stored ...
# This field is not needed, if WPA-EAP is used.
# Note: Separate tool, wpa_passphrase, can be used to ge...
# from ASCII passphrase. This process uses lot of CPU an...
# startup and reconfiguration time can be optimized by g...
# only when the passphrase or SSID has actually changed.
#
# mem_only_psk: Whether to keep PSK/passphrase only in m...
# 0 = allow psk/passphrase to be stored to the configura...
# 1 = do not store psk/passphrase to the configuration f...
#mem_only_psk=0
#
# sae_password: SAE password
# This parameter can be used to set a password for SAE. ...
# passphrase from the psk parameter is used if this sepa...
# used, but psk follows the WPA-PSK constraints (8..63 c...
# SAE passwords do not have such constraints.
#
# sae_password_id: SAE password identifier
# This parameter can be used to set an identifier for th...
# default, no such identifier is used. If set, the speci...
# is used by the other peer to select which password to ...
#
# eapol_flags: IEEE 802.1X/EAPOL options (bit field)
# Dynamic WEP key required for non-WPA mode
# bit0 (1): require dynamically generated unicast WEP key
# bit1 (2): require dynamically generated broadcast WEP ...
# (3 = require both keys; default)
# Note: When using wired authentication (including MACse...
# eapol_flags must be set to 0 for the authentication to...
# successfully.
#
# macsec_policy: IEEE 802.1X/MACsec options
# This determines how sessions are secured with MACsec (...
# drivers).
# 0: MACsec not in use (default)
# 1: MACsec enabled - Should secure, accept key server's...
# determine whether to use a secure session or not.
#
# macsec_integ_only: IEEE 802.1X/MACsec transmit mode
# This setting applies only when MACsec is in use, i.e.,
# - macsec_policy is enabled
# - the key server has decided to enable MACsec
# 0: Encrypt traffic (default)
# 1: Integrity only
#
# macsec_replay_protect: IEEE 802.1X/MACsec replay prote...
# This setting applies only when MACsec is in use, i.e.,
# - macsec_policy is enabled
# - the key server has decided to enable MACsec
# 0: Replay protection disabled (default)
# 1: Replay protection enabled
#
# macsec_replay_window: IEEE 802.1X/MACsec replay protec...
# This determines a window in which replay is tolerated,...
# of frames that have been misordered by the network.
# This setting applies only when MACsec replay protectio...
# - macsec_replay_protect is enabled
# - the key server has decided to enable MACsec
# 0: No replay window, strict check (default)
# 1..2^32-1: number of packets that could be misordered
#
# macsec_offload - Enable MACsec hardware offload
#
# This setting applies only when MACsec is in use, i.e.,
# - the key server has decided to enable MACsec
#
# 0 = MACSEC_OFFLOAD_OFF (default)
# 1 = MACSEC_OFFLOAD_PHY
# 2 = MACSEC_OFFLOAD_MAC
#
# macsec_port: IEEE 802.1X/MACsec port
# Port component of the SCI
# Range: 1-65534 (default: 1)
#
# mka_cak, mka_ckn, and mka_priority: IEEE 802.1X/MACsec...
# This allows to configure MACsec with a pre-shared key ...
# In this mode, instances of wpa_supplicant can act as M...
# with lower priority will become the key server and sta...
# mka_cak (CAK = Secure Connectivity Association Key) ta...
# hex-string (32 hex-digits) or a 32-byte (256-bit) hex-...
# mka_ckn (CKN = CAK Name) takes a 1..32-bytes (8..256 b...
# (2..64 hex-digits)
# mka_priority (Priority of MKA Actor) is in 0..255 rang...
# default priority
#
# mixed_cell: This option can be used to configure wheth...
# cells, i.e., networks that use both plaintext and encr...
# SSID, are allowed when selecting a BSS from scan resul...
# 0 = disabled (default)
# 1 = enabled
#
# proactive_key_caching:
# Enable/disable opportunistic PMKSA caching for WPA2.
# 0 = disabled (default unless changed with the global o...
# 1 = enabled
#
# ft_eap_pmksa_caching:
# Whether FT-EAP PMKSA caching is allowed
# 0 = do not try to use PMKSA caching with FT-EAP (defau...
# 1 = try to use PMKSA caching with FT-EAP
# This controls whether to try to use PMKSA caching with...
# FT initial mobility domain association.
#ft_eap_pmksa_caching=0
#
# wep_key0..3: Static WEP key (ASCII in double quotation...
# hex without quotation, e.g., 0102030405)
# wep_tx_keyidx: Default WEP key index (TX) (0..3)
#
# wpa_ptk_rekey: Maximum lifetime for PTK in seconds. Th...
# enforce rekeying of PTK to mitigate some attacks again...
#
# wpa_deny_ptk0_rekey: Workaround for PTK rekey issues
# PTK0 rekeys (using only one Key ID value for pairwise ...
# security and stability with some cards.
# To avoid the issues wpa_supplicant can replace those P...
# EAP reauthentications) with fast reconnects.
#
# Available options:
# 0 = always rekey when configured/instructed (default)
# 1 = only rekey when the local driver is explicitly ind...
# this operation without issues
# 2 = never allow problematic PTK0 rekeys
#
# group_rekey: Group rekeying time in seconds. This valu...
# as the dot11RSNAConfigGroupRekeyTime parameter when op...
# Authenticator role in IBSS, or in AP and mesh modes.
#
# Following fields are only used with internal EAP imple...
# eap: space-separated list of accepted EAP methods
# MD5 = EAP-MD5 (insecure and does not generate keying m...
# cannot be used with WPA; to be used as a Phase 2 met...
# with EAP-PEAP or EAP-TTLS)
# MSCHAPV2 = EAP-MSCHAPv2 (cannot be used separate...
# as a Phase 2 method with EAP-PEAP or EAP-TTLS)
# OTP = EAP-OTP (cannot be used separately with WP...
# as a Phase 2 method with EAP-PEAP or EAP-TTLS)
# GTC = EAP-GTC (cannot be used separately with WP...
# as a Phase 2 method with EAP-PEAP or EAP-TTLS)
# TLS = EAP-TLS (client and server certificate)
# PEAP = EAP-PEAP (with tunnelled EAP authentication)
# TTLS = EAP-TTLS (with tunnelled EAP or PAP/CHAP/MSCHAP...
# authentication)
# If not set, all compiled in methods are allowed.
#
# identity: Identity string for EAP
# This field is also used to configure user NAI for
# EAP-PSK/PAX/SAKE/GPSK.
# anonymous_identity: Anonymous identity string for EAP ...
# unencrypted identity with EAP types that support diffe...
# identity, e.g., EAP-TTLS). This field can also be used...
# EAP-SIM/AKA/AKA' to store the pseudonym identity.
# password: Password string for EAP. This field can incl...
# plaintext password (using ASCII or hex string) or a Nt...
# (16-byte MD4 hash of password) in hash:<32 hex digits>...
# NtPasswordHash can only be used when the password is f...
# MSCHAP (EAP-MSCHAPv2, EAP-TTLS/MSCHAPv2, EAP-TTLS/MSCH...
# EAP-PSK (128-bit PSK), EAP-PAX (128-bit PSK), and EAP-...
# PSK) is also configured using this field. For EAP-GPSK...
# variable length PSK. ext:<name of external password fi...
# be used to indicate that the password is stored in ext...
# ca_cert: File path to CA certificate file (PEM/DER). T...
# or more trusted CA certificates. If ca_cert and ca_pat...
# included, server certificate will not be verified. Thi...
# a trusted CA certificate should always be configured w...
# EAP-TLS/TTLS/PEAP. Full path should be used since work...
# change when wpa_supplicant is run in the background.
#
# Alternatively, this can be used to only perform matchi...
# certificate (SHA-256 hash of the DER encoded X.509 cer...
# this case, the possible CA certificates in the server ...
# are ignored and only the server certificate is verifie...
# configured with the following format:
# hash:://server/sha256/cert_hash_in_hex
# For example: "hash://server/sha256/
# 5a1bc1296205e6fdbe3979728efe3920798885c1c4590b5f90f432...
#
# On Windows, trusted CA certificates can be loaded from...
# certificate store by setting this to cert_store://<nam...
# ca_cert="cert_store://CA" or ca_cert="cert_store://ROO...
# Note that when running wpa_supplicant as an applicatio...
# certificate store (My user account) is used, whereas c...
# (Computer account) is used when running wpasvc as a se...
# ca_path: Directory path for CA certificate files (PEM)...
# contain multiple CA certificates in OpenSSL format. Co...
# is to point to system trusted CA list which is often i...
# directory like /etc/ssl/certs. If configured, these ce...
# added to the list of trusted CAs. ca_cert may also be ...
# case, but it is not required.
# client_cert: File path to client certificate file (PEM...
# Full path should be used since working directory may c...
# wpa_supplicant is run in the background.
# Alternatively, a named configuration blob can be used ...
# to blob://<blob name>.
# private_key: File path to client private key file (PEM...
# When PKCS#12/PFX file (.p12/.pfx) is used, client_cert...
# commented out. Both the private key and certificate wi...
# the PKCS#12 file in this case. Full path should be use...
# directory may change when wpa_supplicant is run in the...
# Windows certificate store can be used by leaving clien...
# configuring private_key in one of the following formats:
# cert://substring_to_match
# hash://certificate_thumbprint_in_hex
# for example: private_key="hash://63093aa9c47f56ae88334...
# Note that when running wpa_supplicant as an applicatio...
# certificate store (My user account) is used, whereas c...
# (Computer account) is used when running wpasvc as a se...
# Alternatively, a named configuration blob can be used ...
# to blob://<blob name>.
# private_key_passwd: Password for private key file (if ...
# asked through control interface)
# subject_match: Substring to be matched against the sub...
# authentication server certificate. If this string is s...
# certificate is only accepted if it contains this strin...
# The subject string is in following format:
# /C=US/ST=CA/L=San Francisco/CN=Test AS/emailAddress=as...
# Note: Since this is a substring match, this cannot be ...
# do a suffix match against a possible domain name in th...
# such a use case, domain_suffix_match or domain_match s...
# instead.
# altsubject_match: Semicolon separated string of entrie...
# the alternative subject name of the authentication ser...
# If this string is set, the server certificate is only ...
# contains one of the entries in an alternative subject ...
# altSubjectName string is in following format: TYPE:VALUE
# Example: EMAIL:server@example.com
# Example: DNS:server.example.com;DNS:server2.example.com
# Following types are supported: EMAIL, DNS, URI
# domain_suffix_match: Constraint for server domain name...
# used as a suffix match requirement for the AAA server ...
# SubjectAltName dNSName element(s). If a matching dNSNa...
# constraint is met. If no dNSName values are present, t...
# matched against SubjectName CN using same suffix match...
#
# Suffix match here means that the host/domain name is c...
# at a time starting from the top-level domain and all t...
# domain_suffix_match shall be included in the certifica...
# certificate may include additional sub-level labels in...
# required labels.
#
# More than one match string can be provided by using se...
# separate the strings (e.g., example.org;example.com). ...
# strings are specified, a match with any one of the val...
# a sufficient match for the certificate, i.e., the cond...
# together.
#
# For example, domain_suffix_match=example.com would match
# test.example.com but would not match test-example.com.
# domain_match: Constraint for server domain name
# If set, this FQDN is used as a full match requirement ...
# server certificate in SubjectAltName dNSName element(s...
# matching dNSName is found, this constraint is met. If ...
# values are present, this constraint is matched against...
# using same full match comparison. This behavior is sim...
# domain_suffix_match, but has the requirement of a full...
# no subdomains or wildcard matches are allowed. Case-in...
# comparison is used, so "Example.com" matches "example....
# not match "test.Example.com".
#
# More than one match string can be provided by using se...
# separate the strings (e.g., example.org;example.com). ...
# strings are specified, a match with any one of the val...
# a sufficient match for the certificate, i.e., the cond...
# together.
# phase1: Phase1 (outer authentication, i.e., TLS tunnel...
# (string with field-value pairs, e.g., "peapver=0" or
# "peapver=1 peaplabel=1")
# 'peapver' can be used to force which PEAP version (0 o...
# 'peaplabel=1' can be used to force new label, "client ...
# to be used during key derivation when PEAPv1 or newer....
# PEAPv1 implementation seem to be using the old label, ...
# encryption", and wpa_supplicant is now using that as t...
# Some servers, e.g., Radiator, may require peaplabel=1 ...
# interoperate with PEAPv1; see eap_testing.txt for more...
# 'peap_outer_success=0' can be used to terminate PEAP a...
# tunneled EAP-Success. This is required with some RADIU...
# implement draft-josefsson-pppext-eap-tls-eap-05.txt (e...
# Lucent NavisRadius v4.4.0 with PEAP in "IETF Draft 5" ...
#include_tls_length=1 can be used to force wpa_supplican...
#TLS Message Length field in all TLS messages even if th...
#fragmented.
#sim_min_num_chal=3 can be used to configure EAP-SIM to ...
#challenges (by default, it accepts 2 or 3)
#result_ind=1 can be used to enable EAP-SIM and EAP-AKA ...
#protected result indication.
#'crypto_binding' option can be used to control PEAPv0 c...
#behavior:
# * 0 = do not use cryptobinding (default)
# * 1 = use cryptobinding if server supports it
# * 2 = require cryptobinding
#'phase2_auth' option can be used to control Phase 2 (i....
#tunnel) behavior for PEAP:
# * 0 = do not require Phase 2 authentication
# * 1 = require Phase 2 authentication when client certi...
# (private_key/client_cert) is no used and TLS session...
# not used (default)
# * 2 = require Phase 2 authentication in all cases
#EAP-WSC (WPS) uses following options: pin=<Device Passw...
#pbc=1.
#
#For wired IEEE 802.1X authentication, "allow_canned_suc...
#used to configure a mode that allows EAP-Success (and E...
#without going through authentication step. Some switche...
#sequence when forcing the port to be authorized/unautho...
#fallback option if the authentication server is unreach...
#wpa_supplicant discards such frames to protect against ...
#by rogue devices, but this option can be used to disabl...
#for cases where the server/authenticator does not need ...
#authenticated.
# phase2: Phase2 (inner authentication with TLS tunnel) ...
#(string with field-value pairs, e.g., "auth=MSCHAPV2" f...
#"autheap=MSCHAPV2 autheap=MD5" for EAP-TTLS). "mschapv2...
#used to disable MSCHAPv2 password retry in authenticati...
#
# TLS-based methods can use the following parameters to ...
# (these are normally in the phase1 parameter, but can b...
# phase2 parameter when EAP-TLS is used within the inner...
# tls_allow_md5=1 - allow MD5-based certificate signatur...
#TLS library, these may be disabled by default to enforc...
#security)
# tls_disable_time_checks=1 - ignore certificate validit...
#the TLS library to accept certificates even if they are...
#valid, i.e., have expired or have not yet become valid;...
#used only for testing purposes)
# tls_disable_session_ticket=1 - disable TLS Session Tic...
# tls_disable_session_ticket=0 - allow TLS Session Ticke...
#Note: If not set, this is automatically set to 1 for EA...
#as a workaround for broken authentication server implem...
#EAP workarounds are disabled with eap_workaround=0.
#For EAP-FAST, this must be set to 0 (or left unconfigur...
#default value to be used automatically).
# tls_disable_tlsv1_0=1 - disable use of TLSv1.0
# tls_disable_tlsv1_0=0 - explicitly enable use of TLSv1...
#systemwide TLS policies to be overridden)
# tls_disable_tlsv1_1=1 - disable use of TLSv1.1 (a work...
#that have issues interoperating with updated TLS version)
# tls_disable_tlsv1_1=0 - explicitly enable use of TLSv1...
#systemwide TLS policies to be overridden)
# tls_disable_tlsv1_2=1 - disable use of TLSv1.2 (a work...
#that have issues interoperating with updated TLS version)
# tls_disable_tlsv1_2=0 - explicitly enable use of TLSv1...
#systemwide TLS policies to be overridden)
# tls_disable_tlsv1_3=1 - disable use of TLSv1.3 (a work...
#that have issues interoperating with updated TLS version)
# tls_disable_tlsv1_3=0 - enable TLSv1.3 (experimental -...
# tls_ext_cert_check=0 - No external server certificate ...
# tls_ext_cert_check=1 - External server certificate val...
#requires an external program doing validation of server...
#chain when receiving CTRL-RSP-EXT_CERT_CHECK event from...
#interface and report the result of the validation with
#CTRL-RSP_EXT_CERT_CHECK.
# tls_suiteb=0 - do not apply Suite B 192-bit constraint...
# tls_suiteb=1 - apply Suite B 192-bit constraints on TL...
#particular when using Suite B with RSA keys of >= 3K (3...
# allow_unsafe_renegotiation=1 - allow connection with a...
#not support safe renegotiation (RFC 5746); please note ...
#workaround should be only when having to authenticate w...
#authentication server that cannot be updated to use sec...
#implementation.
#
# Following certificate/private key fields are used in i...
# authentication when using EAP-TTLS or EAP-PEAP.
# ca_cert2: File path to CA certificate file. This file ...
#trusted CA certificates. If ca_cert2 and ca_path2 are n...
#server certificate will not be verified. This is insecu...
#CA certificate should always be configured.
# ca_path2: Directory path for CA certificate files (PEM)
# client_cert2: File path to client certificate file
# private_key2: File path to client private key file
# private_key2_passwd: Password for private key file
# dh_file2: File path to DH/DSA parameters file (in PEM ...
# subject_match2: Substring to be matched against the su...
#authentication server certificate. See subject_match fo...
# altsubject_match2: Semicolon separated string of entri...
#against the alternative subject name of the authenticat...
#certificate. See altsubject_match documentation for mor...
# domain_suffix_match2: Constraint for server domain nam...
#domain_suffix_match for more details.
# ocsp2: See ocsp for more details.
#
# Separate machine credentials can be configured for EAP...
# "machine_" prefix (e.g., "machine_identity") in the co...
# See the parameters without that prefix for more detail...
# format of each such parameter.
#
# fragment_size: Maximum EAP fragment size in bytes (def...
#This value limits the fragment size for EAP methods tha...
#fragmentation (e.g., EAP-TLS and EAP-PEAP). This value ...
#small enough to make the EAP messages fit in MTU of the...
#interface used for EAPOL. The default value is suitable...
#cases.
#
# ocsp: Whether to use/require OCSP to check server cert...
#0 = do not use OCSP stapling (TLS certificate status ex...
#1 = try to use OCSP stapling, but not require response
#2 = require valid OCSP stapling response
#3 = require valid OCSP stapling response for all not-tr...
# certificates in the server certificate chain
#
# openssl_ciphers: OpenSSL specific cipher configuration
#This can be used to override the global openssl_ciphers...
#parameter (see above).
#
# erp: Whether EAP Re-authentication Protocol (ERP) is e...
#
# EAP-FAST variables:
# pac_file: File path for the PAC entries. wpa_supplican...
#to create this file and write updates to it when PAC is...
#provisioned or refreshed. Full path to the file should ...
#working directory may change when wpa_supplicant is run...
#background. Alternatively, a named configuration blob c...
#setting this to blob://<blob name>
# phase1: fast_provisioning option can be used to enable...
# of EAP-FAST credentials (PAC):
# 0 = disabled,
# 1 = allow unauthenticated provisioning,
# 2 = allow authenticated provisioning,
# 3 = allow both unauthenticated and authenticat...
#fast_max_pac_list_len=<num> option can be used to set t...
# number of PAC entries to store in a PAC list (default:...
#fast_pac_format=binary option can be used to select bin...
# storing PAC entries in order to save some space (the d...
# text format uses about 2.5 times the size of minimal b...
# format)
#
# wpa_supplicant supports number of "EAP workarounds" to...
# interoperability issues with incorrectly behaving auth...
# These are enabled by default because some of the issue...
# number of authentication servers. Strict EAP conforman...
# configured by disabling workarounds with eap_workaroun...
# update_identifier: PPS MO ID
#(Hotspot 2.0 PerProviderSubscription/UpdateIdentifier)
#
# roaming_consortium_selection: Roaming Consortium Selec...
#The matching Roaming Consortium OI that was used to gen...
#network profile.
# Station inactivity limit
#
# If a station does not send anything in ap_max_inactivi...
# empty data frame is sent to it in order to verify whet...
# still in range. If this frame is not ACKed, the statio...
# disassociated and then deauthenticated. This feature i...
# clear station table of old entries when the STAs move ...
# range.
#
# The station can associate again with the AP if it is s...
# this inactivity poll is just used as a nicer way of ve...
# inactivity; i.e., client will not report broken connec...
# disassociation frame is not sent immediately without f...
# the STA with a data frame.
# default: 300 (i.e., 5 minutes)
#ap_max_inactivity=300
# DTIM period in Beacon intervals for AP mode (default: 2)
#dtim_period=2
# Beacon interval (default: 100 TU)
#beacon_int=100
# WPS in AP mode
# 0 = WPS enabled and configured (default)
# 1 = WPS disabled
#wps_disabled=0
# FILS DH Group
# 0 = PFS disabled with FILS shared key authentication (...
# 1-65535 = DH Group to use for FILS PFS
#fils_dh_group=0
# DPP PFS
# 0: allow PFS to be used or not used (default)
# 1: require PFS to be used (note: not compatible with D...
# 2: do not allow PFS to be used
#dpp_pfs=0
# DPP Network introduction type
# 0: unprotected variant from DPP R1 (default)
# 1: privacy protecting (station Connector encrypted) va...
# DPP R3
#dpp_connector_privacy=0
# Whether beacon protection is enabled
# This depends on management frame protection (ieee80211...
# beacon protection support indication from the driver.
# 0 = disabled (default)
# 1 = enabled
#beacon_prot=0
# OWE DH Group
# 0: use default (19) first and then try all supported g...
# rejects the selected group
# 1-65535: DH Group to use for OWE
# Groups 19 (NIST P-256), 20 (NIST P-384), and 21 (NIST ...
# currently supported.
#owe_group=0
# OWE-only mode (disable transition mode)
# 0: enable transition mode (allow connection to either ...
# 1 = disable transition mode (allow connection only wit...
#owe_only=0
# OWE PTK derivation workaround
# Initial OWE implementation used SHA256 when deriving t...
# OWE groups. This was supposed to change to SHA384 for ...
# SHA512 for group 21. This parameter can be used to ena...
# behavior mainly for testing purposes. There is no impa...
# behavior, but if enabled, this will make group 20 and ...
# SHA256-based PTK derivation which will not work with t...
# OWE implementation on the AP side.
#owe_ptk_workaround=0
# Transition Disable indication
# The AP can notify authenticated stations to disable tr...
# in their network profiles when the network has complet...
# steps, i.e., once sufficiently large number of APs in ...
# been updated to support the more secure alternative. W...
# indication is used, the stations are expected to autom...
# disable transition mode and less secure security optio...
# includes use of WEP, TKIP (including use of TKIP as th...
# cipher), and connections without PMF.
# Bitmap bits:
# bit 0 (0x01): WPA3-Personal (i.e., disable WPA2-Person...
#and only allow SAE to be used)
# bit 1 (0x02): SAE-PK (disable SAE without use of SAE-PK)
# bit 2 (0x04): WPA3-Enterprise (move to requiring PMF)
# bit 3 (0x08): Enhanced Open (disable use of open netwo...
#OWE)
# SAE-PK mode
# 0: automatic SAE/SAE-PK selection based on password; e...
# transition mode (allow SAE authentication without S...
# 1: SAE-PK only (disable transition mode; allow SAE aut...
# only with SAE-PK)
# 2: disable SAE-PK (allow SAE authentication only witho...
#sae_pk=0
# MAC address policy
# 0 = use permanent MAC address
# 1 = use random MAC address for each ESS connection
# 2 = like 1, but maintain OUI (with local admin bit set)
#mac_addr=0
# disable_ht: Whether HT (802.11n) should be disabled.
# 0 = HT enabled (if AP supports it)
# 1 = HT disabled
#
# disable_ht40: Whether HT-40 (802.11n) should be disabl...
# 0 = HT-40 enabled (if AP supports it)
# 1 = HT-40 disabled
#
# disable_sgi: Whether SGI (short guard interval) should...
# 0 = SGI enabled (if AP supports it)
# 1 = SGI disabled
#
# disable_ldpc: Whether LDPC should be disabled.
# 0 = LDPC enabled (if AP supports it)
# 1 = LDPC disabled
#
# ht40_intolerant: Whether 40 MHz intolerant should be i...
# 0 = 40 MHz tolerant (default)
# 1 = 40 MHz intolerant
#
# ht_mcs: Configure allowed MCS rates.
# Parsed as an array of bytes, in base-16 (ascii-hex)
# ht_mcs="" // Use all...
# ht_mcs="0xff 00 00 00 00 00 00 00 00 00 " // Use MCS...
# ht_mcs="0xff ff 00 00 00 00 00 00 00 00 " // Use MCS...
#
# disable_max_amsdu: Whether MAX_AMSDU should be disabl...
# -1 = Do not make any changes.
# 0 = Enable MAX-AMSDU if hardware supports it.
# 1 = Disable AMSDU
#
# ampdu_factor: Maximum A-MPDU Length Exponent
# Value: 0-3, see 7.3.2.56.3 in IEEE Std 802.11n-2009.
#
# ampdu_density: Allow overriding AMPDU density configu...
# Treated as hint by the kernel.
# -1 = Do not make any changes.
# 0-3 = Set AMPDU density (aka factor) to specified value.
#
# tx_stbc: Allow overriding STBC support for TX streams
# Value: 0-1, see IEEE Std 802.11-2016, 9.4.2.56.2.
# -1 = Do not make any changes (default)
# 0 = Set if not supported
# 1 = Set if supported
#
# rx_stbc: Allow overriding STBC support for RX streams
# Value: 0-3, see IEEE Std 802.11-2016, 9.4.2.56.2.
# -1 = Do not make any changes (default)
# 0 = Set if not supported
# 1 = Set for support of one spatial stream
# 2 = Set for support of one and two spatial streams
# 3 = Set for support of one, two and three spatial stre...
# disable_vht: Whether VHT should be disabled.
# 0 = VHT enabled (if AP supports it)
# 1 = VHT disabled
#
# vht_capa: VHT capabilities to set in the override
# vht_capa_mask: mask of VHT capabilities
#
# vht_rx_mcs_nss_1/2/3/4/5/6/7/8: override the MCS set f...
# vht_tx_mcs_nss_1/2/3/4/5/6/7/8: override the MCS set f...
# 0: MCS 0-7
# 1: MCS 0-8
# 2: MCS 0-9
# 3: not supported
# disable_eht: Whether EHT should be disabled.
# 0 = EHT enabled (if supported) (default)
# 1 = EHT disabled
# multi_ap_backhaul_sta: Multi-AP backhaul STA functiona...
# 0 = normal STA (default)
# 1 = backhaul STA
# A backhaul STA sends the Multi-AP IE, fails to associa...
# support Multi-AP, and sets 4-address mode if it does. ...
# added to a bridge to allow forwarding frames over this...
# Multi-AP Profile
# Indicate the supported Multi-AP profile
# 1 = Supports Multi-AP profile 1 as defined in Wi-Fi Ea...
# 2 = Supports Multi-AP profile 2 as defined in Wi-Fi Ea...
#multi_ap_profile=2
#### # Fast Session Transfer (FST) support #############...
#
# The options in this section are only available when th...
# option CONFIG_FST is set while compiling wpa_supplican...
# interface to be a part of FST setup.
#
# FST is the transfer of a session from a channel to ano...
# same or different frequency bands.
#
# For details, see IEEE Std 802.11ad-2012.
# Identifier of an FST Group the interface belongs to.
#fst_group_id=bond0
# Interface priority within the FST Group.
# Announcing a higher priority for an interface means de...
# preferable for FST switch.
# fst_priority is in 1..255 range with 1 being the lowes...
#fst_priority=100
# Default LLT value for this interface in milliseconds. ...
# no value provided during session setup. Default is 50 ...
# fst_llt is in 1..4294967 range (due to spec limitation...
# Transitioning between states).
#fst_llt=100
# BSS Transition Management
# disable_btm - Disable BSS transition management in STA
# Set to 0 to enable BSS transition management (default ...
# Set to 1 to disable BSS transition management
#disable_btm=0
# Enable EDMG capability in STA/AP mode, default value i...
#enable_edmg=1
# This value is used to configure the channel bonding fe...
# Default value is 0.
# Relevant only if enable_edmg is true
# In AP mode it defines the EDMG channel to use for AP o...
# In STA mode it defines the EDMG channel for connection...
#edmg_channel=9
# BSS max idle period to request
# If nonzero, request the specified number of 1000 TU (i...
# as the maximum idle period for the STA during associat...
#max_idle=600
# Example blocks:
# Simple case: WPA-PSK, PSK as an ASCII passphrase, allo...
network={
ssid="simple"
psk="very secret passphrase"
priority=5
}
# Same as previous, but request SSID-specific scanning (...
# broadcast SSID)
network={
ssid="second ssid"
scan_ssid=1
psk="very secret passphrase"
priority=2
}
# Only WPA-PSK is used. Any valid cipher combination is ...
network={
ssid="example"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk=06b4be19da289f475aa46a33cb793029d4ab3db7a23ee92382e...
priority=2
}
# WPA-Personal(PSK) with TKIP and enforcement for freque...
network={
ssid="example"
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
psk="not so secure passphrase"
wpa_ptk_rekey=600
}
# Only WPA-EAP is used. Both CCMP and TKIP is accepted. ...
# or WEP40 as the group cipher will not be accepted.
network={
ssid="example"
proto=RSN
key_mgmt=WPA-EAP
pairwise=CCMP TKIP
group=CCMP TKIP
eap=TLS
identity="user@example.com"
ca_cert="/etc/cert/ca.pem"
client_cert="/etc/cert/user.pem"
private_key="/etc/cert/user.prv"
private_key_passwd="password"
priority=1
}
# EAP-PEAP/MSCHAPv2 configuration for RADIUS servers tha...
# (e.g., Radiator)
network={
ssid="example"
key_mgmt=WPA-EAP
eap=PEAP
identity="user@example.com"
password="foobar"
ca_cert="/etc/cert/ca.pem"
phase1="peaplabel=1"
phase2="auth=MSCHAPV2"
priority=10
}
# EAP-TTLS/EAP-MD5-Challenge configuration with anonymou...
# unencrypted use. Real identity is sent only within an ...
network={
ssid="example"
key_mgmt=WPA-EAP
eap=TTLS
identity="user@example.com"
anonymous_identity="anonymous@example.com"
password="foobar"
ca_cert="/etc/cert/ca.pem"
priority=2
}
# EAP-TTLS/MSCHAPv2 configuration with anonymous identit...
# use. Real identity is sent only within an encrypted TL...
network={
ssid="example"
key_mgmt=WPA-EAP
eap=TTLS
identity="user@example.com"
anonymous_identity="anonymous@example.com"
password="foobar"
ca_cert="/etc/cert/ca.pem"
phase2="auth=MSCHAPV2"
}
# WPA-EAP, EAP-TTLS with different CA certificate used f...
# authentication.
network={
ssid="example"
key_mgmt=WPA-EAP
eap=TTLS
# Phase1 / outer authentication
anonymous_identity="anonymous@example.com"
ca_cert="/etc/cert/ca.pem"
# Phase 2 / inner authentication
phase2="autheap=TLS"
ca_cert2="/etc/cert/ca2.pem"
client_cert2="/etc/cer/user.pem"
private_key2="/etc/cer/user.prv"
private_key2_passwd="password"
priority=2
}
# Both WPA-PSK and WPA-EAP is accepted. Only CCMP is acc...
# group cipher.
network={
ssid="example"
bssid=00:11:22:33:44:55
proto=WPA RSN
key_mgmt=WPA-PSK WPA-EAP
pairwise=CCMP
group=CCMP
psk=06b4be19da289f475aa46a33cb793029d4ab3db7a23ee92382e...
}
# Special characters in SSID, so use hex string. Default...
# and all valid ciphers.
network={
ssid=00010203
psk=000102030405060708090a0b0c0d0e0f1011121314151617181...
}
# EAP-SIM with a GSM SIM or USIM
network={
ssid="eap-sim-test"
key_mgmt=WPA-EAP
eap=SIM
pin="1234"
pcsc=""
}
# EAP-PSK
network={
ssid="eap-psk-test"
key_mgmt=WPA-EAP
eap=PSK
anonymous_identity="eap_psk_user"
password=06b4be19da289f475aa46a33cb793029
identity="eap_psk_user@example.com"
}
# IEEE 802.1X/EAPOL with dynamically generated WEP keys ...
# EAP-TLS for authentication and key generation; require...
# broadcast WEP keys.
network={
ssid="1x-test"
key_mgmt=IEEE8021X
eap=TLS
identity="user@example.com"
ca_cert="/etc/cert/ca.pem"
client_cert="/etc/cert/user.pem"
private_key="/etc/cert/user.prv"
private_key_passwd="password"
eapol_flags=3
}
# LEAP with dynamic WEP keys
network={
ssid="leap-example"
key_mgmt=IEEE8021X
eap=LEAP
identity="user"
password="foobar"
}
# EAP-IKEv2 using shared secrets for both server and pee...
network={
ssid="ikev2-example"
key_mgmt=WPA-EAP
eap=IKEV2
identity="user"
password="foobar"
}
# EAP-FAST with WPA (WPA or WPA2)
network={
ssid="eap-fast-test"
key_mgmt=WPA-EAP
eap=FAST
anonymous_identity="FAST-000102030405"
identity="username"
password="password"
phase1="fast_provisioning=1"
pac_file="/etc/wpa_supplicant.eap-fast-pac"
}
network={
ssid="eap-fast-test"
key_mgmt=WPA-EAP
eap=FAST
anonymous_identity="FAST-000102030405"
identity="username"
password="password"
phase1="fast_provisioning=1"
pac_file="blob://eap-fast-pac"
}
# Plaintext connection (no WPA, no IEEE 802.1X)
network={
ssid="plaintext-test"
key_mgmt=NONE
}
# Shared WEP key connection (no WPA, no IEEE 802.1X)
network={
ssid="static-wep-test"
key_mgmt=NONE
wep_key0="abcde"
wep_key1=0102030405
wep_key2="1234567890123"
wep_tx_keyidx=0
priority=5
}
# Shared WEP key connection (no WPA, no IEEE 802.1X) usi...
# IEEE 802.11 authentication
network={
ssid="static-wep-test2"
key_mgmt=NONE
wep_key0="abcde"
wep_key1=0102030405
wep_key2="1234567890123"
wep_tx_keyidx=0
priority=5
auth_alg=SHARED
}
# IBSS/ad-hoc network with RSN
network={
ssid="ibss-rsn"
key_mgmt=WPA-PSK
proto=RSN
psk="12345678"
mode=1
frequency=2412
pairwise=CCMP
group=CCMP
}
# IBSS/ad-hoc network with WPA-None/TKIP (deprecated)
network={
ssid="test adhoc"
mode=1
frequency=2412
proto=WPA
key_mgmt=WPA-NONE
pairwise=NONE
group=TKIP
psk="secret passphrase"
}
# open mesh network
network={
ssid="test mesh"
mode=5
frequency=2437
key_mgmt=NONE
}
# secure (SAE + AMPE) network
network={
ssid="secure mesh"
mode=5
frequency=2437
key_mgmt=SAE
psk="very secret passphrase"
}
# Catch all example that allows more or less all configu...
network={
ssid="example"
scan_ssid=1
key_mgmt=WPA-EAP WPA-PSK IEEE8021X NONE
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk="very secret passphrase"
eap=TTLS PEAP TLS
identity="user@example.com"
password="foobar"
ca_cert="/etc/cert/ca.pem"
client_cert="/etc/cert/user.pem"
private_key="/etc/cert/user.prv"
private_key_passwd="password"
phase1="peaplabel=0"
}
# Example of EAP-TLS with smartcard (openssl engine)
network={
ssid="example"
key_mgmt=WPA-EAP
eap=TLS
proto=RSN
pairwise=CCMP TKIP
group=CCMP TKIP
identity="user@example.com"
ca_cert="/etc/cert/ca.pem"
# Certificate and/or key identified by PKCS#11 URI (RF...
client_cert="pkcs11:manufacturer=piv_II;id=%01"
private_key="pkcs11:manufacturer=piv_II;id=%01"
# Optional PIN configuration; this can be left out and...
# asked through the control interface
pin="1234"
}
# Example configuration showing how to use an inlined bl...
# data instead of using external file
network={
ssid="example"
key_mgmt=WPA-EAP
eap=TTLS
identity="user@example.com"
anonymous_identity="anonymous@example.com"
password="foobar"
ca_cert="blob://exampleblob"
priority=20
}
blob-base64-exampleblob={
SGVsbG8gV29ybGQhCg==
}
# Wildcard match for SSID (plaintext APs only). This exa...
# open AP regardless of its SSID.
network={
key_mgmt=NONE
}
# Example configuration ignoring two APs - these will be...
# for this network.
network={
ssid="example"
psk="very secret passphrase"
bssid_ignore=02:11:22:33:44:55 02:22:aa:44:55:66
}
# Example configuration limiting AP selection to a speci...
# any other AP not matching the masked address will be i...
network={
ssid="example"
psk="very secret passphrase"
bssid_accept=02:55:ae:bc:00:00/ff:ff:ff:ff:00:00 00:00:...
}
# Example config file that will only scan on channel 36.
freq_list=5180
network={
key_mgmt=NONE
}
# Example configuration using EAP-TTLS for authenticatio...
# generation for MACsec
network={
key_mgmt=IEEE8021X
eap=TTLS
phase2="auth=PAP"
anonymous_identity="anonymous@example.com"
identity="user@example.com"
password="secretr"
ca_cert="/etc/cert/ca.pem"
eapol_flags=0
macsec_policy=1
}
# Example configuration for MACsec with preshared key
network={
key_mgmt=NONE
eapol_flags=0
macsec_policy=1
mka_cak=0123456789ABCDEF0123456789ABCDEF
mka_ckn=6162636465666768696A6B6C6D6E6F70717273747576777...
mka_priority=128
}
終了行:
* wpa_supplicant-2.11.conf(Google翻訳) [#mf303b36]
##### Example wpa_supplicant configuration file ########...
#
# This file describes configuration file format and list...
# Please also take a look at simpler configuration examp...
# subdirectory.
#
# Empty lines and lines starting with # are ignored
# NOTE! This file may contain password information and s...
# readable only by root user on multiuser systems.
# Note: All file paths in this configuration file should...
# not relative to working directory) path in order to al...
# to be changed. This can happen if wpa_supplicant is ru...
# Whether to allow wpa_supplicant to update (overwrite) ...
#
# This option can be used to allow wpa_supplicant to ove...
# file whenever configuration is changed (e.g., new netw...
# wpa_cli or wpa_gui, or a password is changed). This is...
# wpa_cli/wpa_gui to be able to store the configuration ...
# Please note that overwriting configuration file will r...
# it.
#update_config=1
# global configuration (shared by all network blocks)
#
# Parameters for the control interface. If this is speci...
# will open a control interface that is available for ex...
# manage wpa_supplicant. The meaning of this string depe...
# interface mechanism is used. For all cases, the existe...
# in configuration is used to determine whether the cont...
# enabled.
#
# For UNIX domain sockets (default on Linux and BSD): Th...
# will be created for UNIX domain sockets for listening ...
# external programs (CLI/GUI, etc.) for status informati...
# The socket file will be named based on the interface n...
# wpa_supplicant processes can be run at the same time i...
# interface is used.
# /var/run/wpa_supplicant is the recommended directory f...
# default, wpa_cli will use it when trying to connect wi...
#
# Access control for the control interface can be config...
# directory to allow only members of a group to use sock...
# possible to run wpa_supplicant as root (since it needs...
# configuration and open raw sockets) and still allow GU...
# run as non-root users. However, since the control inte...
# change the network configuration, this access needs to...
# cases. By default, wpa_supplicant is configured to use...
# want to allow non-root users to use the control interf...
# and change this value to match with that group. Add us...
# control interface access to this group. If this variab...
# not included in the configuration file, group will not...
# value it got by default when the directory or socket w...
#
# When configuring both the directory and group, use fol...
# DIR=/var/run/wpa_supplicant GROUP=wheel
# DIR=/var/run/wpa_supplicant GROUP=0
# (group can be either group name or gid)
#
# For UDP connections (default on Windows): The value wi...
# variable is just used to select that the control inter...
# The value can be set to, e.g., udp (ctrl_interface=udp)
#
# For Windows Named Pipe: This value can be used to set ...
# for controlling access to the control interface. Secur...
# set using Security Descriptor String Format (see http:...
# library/default.asp?url=/library/en-us/secauthz/securi...
# security_descriptor_string_format.asp). The descriptor...
# prefixed with SDDL=. For example, ctrl_interface=SDDL=...
# DACL (which will reject all connections). See README-W...
# information about SDDL string format.
#
ctrl_interface=/var/run/wpa_supplicant
# IEEE 802.1X/EAPOL version
# wpa_supplicant is implemented based on IEEE Std 802.1X...
# EAPOL version 2. However, there are many APs that do n...
# version number correctly (they seem to drop the frames...
# to make wpa_supplicant interoperate with these APs, th...
# to 1 by default. This configuration value can be used ...
# version (2).
# Note: When using MACsec, eapol_version shall be set to...
# defined in IEEE Std 802.1X-2010.
eapol_version=1
# AP scanning/selection
# By default, wpa_supplicant requests driver to perform ...
# uses the scan results to select a suitable AP. Another...
# allow the driver to take care of AP scanning and selec...
# wpa_supplicant just to process EAPOL frames based on I...
# information from the driver.
# 1: wpa_supplicant initiates scanning and AP selection;...
# the currently enabled networks are found, a new net...
# operation) may be initialized (if configured) (defa...
# 0: This mode must only be used when using wired Ethern...
# (including MACsec).
# 2: like 0, but associate with APs using security polic...
# BSSID); this can be used, e.g., with ndiswrapper an...
# enable operation with hidden SSIDs and optimized ro...
# the network blocks in the configuration file are tr...
# the driver reports successful association; each net...
# explicit security policy (i.e., only one option in ...
# key_mgmt, pairwise, group, proto variables
# Note: ap_scan=0/2 should not be used with the nl80211 ...
# current Linux interface). ap_scan=1 is the only option...
# For finding networks using hidden SSID, scan_ssid=1 in...
# be used with nl80211.
# When using IBSS or AP mode, ap_scan=2 mode can force t...
# created immediately regardless of scan results. ap_sca...
# to scan for existing networks and only if no matches w...
# networks are found, a new IBSS or AP mode network is c...
ap_scan=1
# Whether to force passive scan for network connection
#
# By default, scans will send out Probe Request frames o...
# active scanning. This advertise the local station to t...
# is fine, but users may wish to do passive scanning whe...
# listen quietly for Beacon frames and not send any Prob...
# functionality may be driver dependent.
#
# This parameter can be used to force only passive scann...
# for network connection cases. It should be noted that ...
# down scan operations and reduce likelihood of finding ...
# addition, some use cases will override this due to fun...
# requirements, e.g., for finding an AP that uses hidden...
# (scan_ssid=1) or P2P device discovery.
#
# 0: Do normal scans (allow active scans) (default)
# 1: Do passive scans.
#passive_scan=0
# MPM residency
# By default, wpa_supplicant implements the mesh peering...
# open mesh. However, if the driver can implement the MP...
# 0 to use the driver version. When AMPE is enabled, the...
# always used.
# 0: MPM lives in the driver
# 1: wpa_supplicant provides an MPM which handles peerin...
#user_mpm=1
# Maximum number of peer links (0-255; default: 99)
# Maximum number of mesh peering currently maintained by...
#max_peer_links=99
# Timeout in seconds to detect STA inactivity (default: ...
#
# This timeout value is used in mesh STA to clean up ina...
#mesh_max_inactivity=300
# Enable 802.11s layer-2 routing and forwarding (dot11Me...
#mesh_fwding=1
# cert_in_cb - Whether to include a peer certificate dum...
# This controls whether peer certificates for authentica...
# its certificate chain are included in EAP peer certifi...
# enabled by default.
#cert_in_cb=1
# EAP fast re-authentication
# By default, fast re-authentication is enabled for all ...
# support it. This variable can be used to disable fast ...
# Normally, there is no need to disable this.
fast_reauth=1
# OpenSSL Engine support
# These options can be used to load OpenSSL engines in s...
# modes.
# The two engines that are supported currently are shown...
# They are both from the opensc project (http://www.open...
# By default the PKCS#11 engine is loaded if the client_...
# private_key option appear to be a PKCS#11 URI, and the...
# should not need to be used explicitly.
# make the opensc engine available
#opensc_engine_path=/usr/lib/opensc/engine_opensc.so
# make the pkcs11 engine available
#pkcs11_engine_path=/usr/lib/opensc/engine_pkcs11.so
# configure the path to the pkcs11 module required by th...
#pkcs11_module_path=/usr/lib/pkcs11/opensc-pkcs11.so
# OpenSSL cipher string
#
# This is an OpenSSL specific configuration option for c...
# ciphers. If not set, the value configured at build tim...
# by default) is used.
# See https://www.openssl.org/docs/apps/ciphers.html for...
# on cipher suite configuration. This is applicable only...
# built to use OpenSSL.
#openssl_ciphers=DEFAULT:!EXP:!LOW
# Dynamic EAP methods
# If EAP methods were built dynamically as shared object...
# loaded here before being used in the network blocks. B...
# are included statically in the build, so these lines a...
#load_dynamic_eap=/usr/lib/wpa_supplicant/eap_tls.so
#load_dynamic_eap=/usr/lib/wpa_supplicant/eap_md5.so
# Driver interface parameters
# This field can be used to configure arbitrary driver i...
# format is specific to the selected driver interface. T...
# in most cases.
#driver_param="field=value"
# Country code
# The ISO/IEC alpha2 country code for the country in whi...
# currently operating.
#country=US
# Maximum lifetime for PMKSA in seconds; default 43200
#dot11RSNAConfigPMKLifetime=43200
# Threshold for reauthentication (percentage of PMK life...
#dot11RSNAConfigPMKReauthThreshold=70
# Timeout for security association negotiation in second...
#dot11RSNAConfigSATimeout=60
# Wi-Fi Protected Setup (WPS) parameters
# Universally Unique IDentifier (UUID; see RFC 4122) of ...
# If not configured, UUID will be generated based on the...
# the auto_uuid parameter.
#uuid=12345678-9abc-def0-1234-56789abcdef0
# Automatic UUID behavior
# 0 = generate static value based on the local MAC addre...
# 1 = generate a random UUID every time wpa_supplicant s...
#auto_uuid=0
# Device Name
# User-friendly description of device; up to 32 octets e...
#device_name=Wireless Client
# Manufacturer
# The manufacturer of the device (up to 64 ASCII charact...
#manufacturer=Company
# Model Name
# Model of the device (up to 32 ASCII characters)
#model_name=cmodel
# Model Number
# Additional device description (up to 32 ASCII characte...
#model_number=123
# Serial Number
# Serial number of the device (up to 32 characters)
#serial_number=12345
# Primary Device Type
# Used format: <categ>-<OUI>-<subcateg>
# categ = Category as an integer value
# OUI = OUI and type octet as a 4-octet hex-encoded valu...
# default WPS OUI
# subcateg = OUI-specific Sub Category as an integer value
# Examples:
# 1-0050F204-1 (Computer / PC)
# 1-0050F204-2 (Computer / Server)
# 5-0050F204-1 (Storage / NAS)
# 6-0050F204-1 (Network Infrastructure / AP)
#device_type=1-0050F204-1
# OS Version
# 4-octet operating system version number (hex string)
#os_version=01020300
# Config Methods
# List of the supported configuration methods
# Available methods: usba ethernet label display ext_nfc...
# nfc_interface push_button keypad virtual_display physi...
# virtual_push_button physical_push_button
# For WSC 1.0:
#config_methods=label display push_button keypad
# For WSC 2.0:
#config_methods=label virtual_display virtual_push_butto...
# Credential processing
# 0 = process received credentials internally (default)
# 1 = do not process received credentials; just pass t...
# external program(s)
# 2 = process received credentials internally and pass...
# to external program(s)
#wps_cred_processing=0
# Whether to enable SAE (WPA3-Personal transition mode) ...
# WPA2-PSK credentials received using WPS.
# 0 = only add the explicitly listed WPA2-PSK configurat...
# 1 = add both the WPA2-PSK and SAE configuration and en...
# station gets configured in WPA3-Personal transitio...
# WPA2-Personal (PSK) and WPA3-Personal (SAE) APs).
#wps_cred_add_sae=0
# Vendor attribute in WPS M1, e.g., Windows 7 Vertical P...
# The vendor attribute contents to be added in M1 (hex s...
#wps_vendor_ext_m1=000137100100020001
# NFC password token for WPS
# These parameters can be used to configure a fixed NFC ...
# station. This can be generated, e.g., with nfc_pw_toke...
# parameters are used, the station is assumed to be depl...
# that includes the matching NFC password token (e.g., w...
# NDEF record from nfc_pw_token).
#
#wps_nfc_dev_pw_id: Device Password ID (16..65535)
#wps_nfc_dh_pubkey: Hexdump of DH Public Key
#wps_nfc_dh_privkey: Hexdump of DH Private Key
#wps_nfc_dev_pw: Hexdump of Device Password
# Priority for the networks added through WPS
# This priority value will be set to each network profil...
# by executing the WPS protocol.
#wps_priority=0
# Device Provisioning Protocol (DPP) parameters
#
# How to process DPP configuration
# 0 = report received configuration to an external progr...
# processing; do not generate any network profile in...
# 1 = report received configuration to an external progr...
# a network profile internally, but do not automatic...
# to the created (disabled) profile; the network pro...
# reported to external programs
# 2 = report received configuration to an external progr...
# a network profile internally, try to connect to th...
# profile automatically
#dpp_config_processing=0
#
# Name for Enrollee's DPP Configuration Request
#dpp_name=Test
#
# MUD URL for Enrollee's DPP Configuration Request (opti...
#dpp_mud_url=https://example.com/mud
# Maximum number of BSS entries to keep in memory
# Default: 200
# This can be used to limit memory use on the BSS entrie...
# results). A larger value may be needed in environments...
# of APs when using ap_scan=1 mode.
#bss_max_count=200
# BSS expiration age in seconds. A BSS will be removed f...
# if it is not in use and has not been seen for this tim...
#bss_expiration_age=180
# BSS expiration after number of scans. A BSS will be re...
# cache if it is not seen in this number of scans.
# Default is 2.
#bss_expiration_scan_count=2
# Automatic scan
# This is an optional set of parameters for automatic sc...
# within an interface in following format:
#autoscan=<autoscan module name>:<module parameters>
# autoscan is like bgscan but on disconnected or inactiv...
# For instance, on exponential module parameters would b...
#autoscan=exponential:3:300
# Which means a delay between scans on a base exponentia...
# up to the limit of 300 seconds (3, 9, 27 ... 300)
# For periodic module, parameters would be <fixed interv...
#autoscan=periodic:30
# So a delay of 30 seconds will be applied between each ...
# Note: If sched_scan_plans are configured and supported...
# autoscan is ignored.
# filter_ssids - SSID-based scan result filtering
# 0 = do not filter scan results (default)
# 1 = only include configured SSIDs in scan results/BSS ...
#filter_ssids=0
# Password (and passphrase, etc.) backend for external s...
# format: <backend name>[:<optional backend parameters>]
# Test backend which stores passwords in memory. Should ...
# development purposes.
#ext_password_backend=test:pw1=password|pw2=testing
# File-based backend which reads passwords from a file. ...
# identifies the file to read passwords from. The passwo...
# format of wpa_supplicant.conf and accepts simple `key=...
# passwords.
#ext_password_backend=file:/path/to/passwords.conf
# Disable P2P functionality
# p2p_disabled=1
# Timeout in seconds to detect STA inactivity (default: ...
#
# This timeout value is used in P2P GO mode to clean up
# inactive stations.
#p2p_go_max_inactivity=300
# Passphrase length (8..63) for P2P GO
#
# This parameter controls the length of the random passp...
# generated at the GO. Default: 8.
#p2p_passphrase_len=8
# Extra delay between concurrent P2P search iterations
#
# This value adds extra delay in milliseconds between co...
# iterations to make p2p_find friendlier to concurrent o...
# it from taking 100% of radio resources. The default va...
#p2p_search_delay=500
# Opportunistic Key Caching (also known as Proactive Key...
# This parameter can be used to set the default behavior...
# proactive_key_caching parameter. By default, OKC is di...
# with the global okc=1 parameter or with the per-network
# proactive_key_caching=1 parameter. With okc=1, OKC is ...
# can be disabled with per-network proactive_key_caching...
#okc=0
# Protected Management Frames default
# This parameter can be used to set the default behavior...
# parameter for RSN networks. By default, PMF is disable...
# the global pmf=1/2 parameter or with the per-network i...
# With pmf=1/2, PMF is enabled/required by default, but ...
# per-network ieee80211w parameter. This global default ...
# for non-RSN networks (key_mgmt=NONE) since PMF is avai...
# RSN.
#pmf=0
# sae_check_mfp: Require PMF support to select SAE key_m...
# 0 = Do not check PMF for SAE (default)
# 1 = Limit SAE when PMF is not enabled
#
# When enabled SAE will not be selected if PMF will not ...
# for the connection.
# Scenarios where this check will limit SAE:
# 1) ieee80211w=0 is set for the network
# 2) The AP does not have PMF enabled.
# 3) ieee80211w is unset, pmf=1 is enabled globally, and
# the device does not support the BIP cipher.
# Consider the configuration of global parameterss sae_c...
# network configured with ieee80211w unset and key_mgmt=...
# In the example WPA-PSK will be used if the device does...
# the BIP cipher or the AP has PMF disabled.
# Limiting SAE with this check can avoid failing to asso...
# that is configured with sae_requires_mfp=1 if the devi...
# not support PMF due to lack of the BIP cipher.
#
# Enabling this check helps with compliance of the WPA3
# specification for WPA3-Personal transition mode.
# The WPA3 specification section 2.3 "WPA3-Personal tran...
# states "A STA shall negotiate PMF when associating to ...
# With this check WPA3 capable devices when connecting
# to transition mode APs that do not advertise PMF support
# will not use SAE and instead fallback to PSK.
#sae_check_mfp=0
# Enabled SAE finite cyclic groups in preference order
# By default (if this parameter is not set), the mandato...
# defined over a 256-bit prime order field, NIST P-256) ...
# 20 (NIST P-384) and 21 (NIST P-521) are also enabled. ...
# set, the groups will be tried in the indicated order.
# The group values are listed in the IANA registry:
# http://www.iana.org/assignments/ipsec-registry/ipsec-r...
# Note that groups 1, 2, 5, 22, 23, and 24 should not be...
# purposes due limited security (see RFC 8247). Groups t...
# group 19 (ECC, NIST P-256) are unlikely to be useful f...
# since all implementations are required to support grou...
#sae_groups=19 20 21
# SAE mechanism for PWE derivation
# 0 = hunting-and-pecking loop only (default without pas...
# 1 = hash-to-element only (default with password identi...
# 2 = both hunting-and-pecking loop and hash-to-element ...
# Note: The default value is likely to change from 0 to ...
# hash-to-element mechanism has received more interopera...
# When using SAE password identifier, the hash-to-elemen...
# regardless of the sae_pwe parameter value.
#sae_pwe=0
# Default value for DTIM period (if not overridden in ne...
#dtim_period=2
# Default value for Beacon interval (if not overridden i...
#beacon_int=100
# Additional vendor specific elements for Beacon and Pro...
# This parameter can be used to add additional vendor sp...
# the end of the Beacon and Probe Response frames. The f...
# element(s) is a hexdump of the raw information element...
# one or more elements). This is used in AP and P2P GO m...
#ap_vendor_elements=dd0411223301
# Ignore scan results older than request
#
# The driver may have a cache of scan results that makes...
# information that is older than our scan trigger. This ...
# be used to configure such old information to be ignore...
# allowing it to update the internal BSS table.
#ignore_old_scan_res=0
# scan_cur_freq: Whether to scan only the current freque...
# 0: Scan all available frequencies. (Default)
# 1: Scan current operating frequency if another VIF on...
# is already associated.
# Seconds to consider old scan results valid for associa...
#scan_res_valid_for_connect=5
# MAC address policy default
# 0 = use permanent MAC address
# 1 = use random MAC address for each ESS connection
# 2 = like 1, but maintain OUI (with local admin bit set)
# 3 = use dedicated/pregenerated MAC address (see mac_va...
#
# By default, permanent MAC address is used unless polic...
# the per-network mac_addr parameter. Global mac_addr=1 ...
# change this default behavior.
#mac_addr=0
# Local MAC address to use whenever connecting with this...
# This is used with mac_addr=3.
#mac_value=02:12:34:56:78:9a
# Lifetime of random MAC address in seconds (default: 60)
#rand_addr_lifetime=60
# MAC address policy for pre-association operations (sca...
# 0 = use permanent MAC address
# 1 = use random MAC address
# 2 = like 1, but maintain OUI (with local admin bit set)
#preassoc_mac_addr=0
# MAC address policy for GAS operations
# 0 = use permanent MAC address
# 1 = use random MAC address
# 2 = like 1, but maintain OUI (with local admin bit set)
# Note that this setting is ignored when a specific MAC ...
# a full protocol exchange that includes GAS, e.g., when...
# exchange that exposes the configured interface address...
# Public Action frame exchanges before using GAS. That s...
# during the GAS exchange as well to avoid breaking the ...
#gas_rand_mac_addr=0
# Lifetime of GAS random MAC address in seconds (default...
#gas_rand_addr_lifetime=60
# Interworking (IEEE 802.11u)
# Enable Interworking
# interworking=1
# Enable P2P GO advertisement of Interworking
# go_interworking=1
# P2P GO Interworking: Access Network Type
# 0 = Private network
# 1 = Private network with guest access
# 2 = Chargeable public network
# 3 = Free public network
# 4 = Personal device network
# 5 = Emergency services only network
# 14 = Test or experimental
# 15 = Wildcard
#go_access_network_type=0
# P2P GO Interworking: Whether the network provides conn...
# 0 = Unspecified
# 1 = Network provides connectivity to the Internet
#go_internet=1
# P2P GO Interworking: Group Venue Info (optional)
# The available values are defined in IEEE Std 802.11-20...
# Example values (group,type):
# 0,0 = Unspecified
# 1,7 = Convention Center
# 1,13 = Coffee Shop
# 2,0 = Unspecified Business
# 7,1 Private Residence
#go_venue_group=7
#go_venue_type=1
# Homogeneous ESS identifier
# If this is set, scans will be used to request response...
# belonging to the specified Homogeneous ESS. This is us...
# is enabled.
# hessid=00:11:22:33:44:55
# Automatic network selection behavior
# 0 = do not automatically go through Interworking netwo...
# (i.e., require explicit interworking_select comman...
# 1 = perform Interworking network selection if one or m...
# credentials have been configured and scan did not ...
# matching network block
#auto_interworking=0
# GAS Address3 field behavior
# 0 = P2P specification (Address3 = AP BSSID); default
# 1 = IEEE 802.11 standard compliant (Address3 = Wildcar...
# sent to not-associated AP; if associated, AP BSSID)
#gas_address3=0
# Publish fine timing measurement (FTM) responder functi...
# the Extended Capabilities element bit 70.
# Controls whether FTM responder functionality will be p...
# Note that actual FTM responder operation is managed ou...
# 0 = Do not publish; default
# 1 = Publish
#ftm_responder=0
# Publish fine timing measurement (FTM) initiator functi...
# the Extended Capabilities element bit 71.
# Controls whether FTM initiator functionality will be p...
# Note that actual FTM initiator operation is managed ou...
# 0 = Do not publish; default
# 1 = Publish
#ftm_initiator=0
# credential block
#
# Each credential used for automatic network selection i...
# of parameters that are compared to the information adv...
# interworking_select and interworking_connect commands ...
#
# credential fields:
#
# temporary: Whether this credential is temporary and no...
#
# priority: Priority group
# By default, all networks and credentials get the same ...
# (0). This field can be used to give higher priority fo...
# (and similarly in struct wpa_ssid for network blocks) ...
# Interworking automatic networking selection behavior. ...
# network (based on either an enabled network block or a...
# with the highest priority value will be selected.
#
# pcsc: Use PC/SC and SIM/USIM card
#
# realm: Home Realm for Interworking
#
# username: Username for Interworking network selection
#
# password: Password for Interworking network selection
#
# ca_cert: CA certificate for Interworking network selec...
#
# client_cert: File path to client certificate file (PEM...
# This field is used with Interworking networking select...
# where client certificate/private key is used for authe...
# (EAP-TLS). Full path to the file should be used since ...
# directory may change when wpa_supplicant is run in the...
#
# Certificates from PKCS#11 tokens can be referenced by ...
#
# For example: private_key="pkcs11:manufacturer=piv_II;i...
#
# Alternatively, a named configuration blob can be used ...
# this to blob://blob_name.
#
# private_key: File path to client private key file (PEM...
# When PKCS#12/PFX file (.p12/.pfx) is used, client_cert...
# commented out. Both the private key and certificate wi...
# from the PKCS#12 file in this case. Full path to the f...
# used since working directory may change when wpa_suppl...
# in the background.
#
# Keys in PKCS#11 tokens can be referenced by a PKCS#11 ...
# For example: private_key="pkcs11:manufacturer=piv_II;i...
#
# Windows certificate store can be used by leaving clien...
# configuring private_key in one of the following formats:
#
# cert://substring_to_match
#
# hash://certificate_thumbprint_in_hex
#
# For example: private_key="hash://63093aa9c47f56ae88334...
#
# Note that when running wpa_supplicant as an applicatio...
# certificate store (My user account) is used, whereas c...
# (Computer account) is used when running wpasvc as a se...
#
# Alternatively, a named configuration blob can be used ...
# this to blob://blob_name.
#
# private_key_passwd: Password for private key file
#
# imsi: IMSI in <MCC> | <MNC> | '-' | <MSIN> format
#
# milenage: Milenage parameters for SIM/USIM simulator i...
# format
#
# domain: Home service provider FQDN(s)
# This is used to compare against the Domain Name List t...
# whether the AP is operated by the Home SP. Multiple do...
# be used to configure alternative FQDNs that will be co...
# networks.
#
# home_ois: Home OI(s)
# This string field contains one or more comma delimited...
# identifying the access the access points that support ...
# with this credential. There are an alternative to the ...
# parameter. When using Home OIs to match the network, t...
# need to be pre-configured with the credentials since t...
# information may not be available or fetched.
# A successful authentication with the access point is p...
# as at least one Home OI from the list matches an OI in...
# Consortium advertised by the access point.
# (Hotspot 2.0 PerProviderSubscription/<X+>/HomeSP/HomeO...
#
# required_home_ois: Required Home OI(s)
# This string field contains the set of Home OI(s) (hexd...
# required to be advertised by the AP for the credential...
# matching.
# (Hotspot 2.0 PerProviderSubscription/<X+>/HomeSP/HomeO...
#
# roaming_consortium: Roaming Consortium OI
# Deprecated: use home_ois instead.
# If roaming_consortium_len is non-zero, this field cont...
# Roaming Consortium OI that can be used to determine wh...
# points support authentication with this credential. Th...
# alternative to the use of the realm parameter. When us...
# Consortium to match the network, the EAP parameters ne...
# pre-configured with the credential since the NAI Realm...
# may not be available or fetched.
#
# required_roaming_consortium: Required Roaming Consorti...
# Deprecated: use required_home_ois instead.
# If required_roaming_consortium_len is non-zero, this f...
# Roaming Consortium OI that is required to be advertise...
# the credential to be considered matching.
#
# roaming_consortiums: Roaming Consortium OI(s) membersh...
# This string field contains one or more comma delimited...
# identifying the roaming consortiums of which the provi...
# The list is sorted from the most preferred one to the ...
# one. A match between the Roaming Consortium OIs advert...
# the OIs in this list indicates that successful authent...
# possible.
# (Hotspot 2.0 PerProviderSubscription/<X+>/HomeSP/Roami...
#
# eap: Pre-configured EAP method
# This optional field can be used to specify which EAP m...
# used with this credential. If not set, the EAP method ...
# automatically based on ANQP information (e.g., NAI Rea...
#
# phase1: Pre-configure Phase 1 (outer authentication) p...
# This optional field is used with like the 'eap' parame...
#
# phase2: Pre-configure Phase 2 (inner authentication) p...
# This optional field is used with like the 'eap' parame...
#
# excluded_ssid: Excluded SSID
# This optional field can be used to excluded specific S...
# matching with the network. Multiple entries can be use...
# than one SSID.
#
# roaming_partner: Roaming partner information
# This optional field can be used to configure preferenc...
# partners. The field is a string in following format:
# <FQDN>,<0/1 exact match>,<priority>,<* or country code>
# (non-exact match means any subdomain matches the entry...
# 0..255 range with 0 being the highest priority)
#
# update_identifier: PPS MO ID
# (Hotspot 2.0 PerProviderSubscription/UpdateIdentifier)
#
# provisioning_sp: FQDN of the SP that provisioned the c...
# This optional field can be used to keep track of the S...
# the credential to find the PPS MO (./Wi-Fi/<provisioni...
#
# Minimum backhaul threshold (PPS/<X+>/Policy/MinBackhau...
# These fields can be used to specify minimum download/u...
# bandwidth that is preferred for the credential. This c...
# ignored if the AP does not advertise WAN Metrics infor...
# limit would prevent any connection. Values are in kilo...
# min_dl_bandwidth_home
# min_ul_bandwidth_home
# min_dl_bandwidth_roaming
# min_ul_bandwidth_roaming
#
# max_bss_load: Maximum BSS Load Channel Utilization (1....
# (PPS/<X+>/Policy/MaximumBSSLoadValue)
# This value is used as the maximum channel utilization ...
# selection purposes for home networks. If the AP does n...
# BSS Load or if the limit would prevent any connection,...
# will be ignored.
#
# req_conn_capab: Required connection capability
# (PPS/<X+>/Policy/RequiredProtoPortTuple)
# This value is used to configure set of required protoc...
# a roaming network shall support (include explicitly in...
# Capability ANQP element). This constraint is ignored i...
# advertise Connection Capability or if this constraint ...
# network connection. This policy is not used in home ne...
# Format: <protocol>[:<comma-separated list of ports]
# Multiple entries can be used to list multiple requirem...
# For example, number of common TCP protocols:
# req_conn_capab=6,22,80,443
# For example, IPSec/IKE:
# req_conn_capab=17:500
# req_conn_capab=50
#
# ocsp: Whether to use/require OCSP to check server cert...
# 0 = do not use OCSP stapling (TLS certificate status e...
# 1 = try to use OCSP stapling, but not require response
# 2 = require valid OCSP stapling response
# 3 = require valid OCSP stapling response for all not-t...
# certificates in the server certificate chain
#
# sim_num: Identifier for which SIM to use in multi-SIM ...
#
# for example:
#
#cred={
# realm="example.com"
# username="user@example.com"
# password="password"
# ca_cert="/etc/wpa_supplicant/ca.pem"
# domain="example.com"
#}
#
#cred={
# imsi="310026-000000000"
# milenage="90dca4eda45b53cf0f12d7c9c3bc6a89:cb9cccc4b92...
#}
#
#cred={
# realm="example.com"
# username="user"
# password="password"
# ca_cert="/etc/wpa_supplicant/ca.pem"
# domain="example.com"
# home_ois="223344"
# eap=TTLS
# phase2="auth=MSCHAPV2"
#}
# Hotspot 2.0
# hs20=1
# Scheduled scan plans
#
# A space delimited list of scan plans. Each scan plan s...
# interval and number of iterations, delimited by a colo...
# will run infinitely and thus must specify only the int...
# of iterations.
#
# The driver advertises the maximum number of scan plans...
# plans than supported are configured, only the first on...
# maximum supported). The last scan plan that specifies ...
# always set as the last plan.
#
# If the scan interval or the number of iterations for a...
# maximum supported, it will be set to the maximum suppo...
#
# Format:
# sched_scan_plans=<interval:iterations> <interval:itera...
#
# Example:
# sched_scan_plans=10:100 20:200 30
# Multi Band Operation (MBO) non-preferred channels
# A space delimited list of non-preferred channels where...
# delimited list of values.
# Format:
# non_pref_chan=<oper_class>:<chan>:<preference>:<reason>
# Example:
# non_pref_chan=81:5:10:2 81:1:0:2 81:9:0:2
# MBO Cellular Data Capabilities
# 1 = Cellular data connection available
# 2 = Cellular data connection not available
# 3 = Not cellular capable (default)
#mbo_cell_capa=3
# Optimized Connectivity Experience (OCE)
# oce: Enable OCE features (bitmap)
# Set BIT(0) to Enable OCE in non-AP STA mode (default; ...
# does not indicate support for OCE in STA mode)
# Set BIT(1) to Enable OCE in STA-CFON mode
#oce=1
# Extended Key ID support for Individually Addressed fra...
# 0 = force off: Do not use Extended Key ID (default)
# 1 = auto: Activate Extended Key ID support if the driv...
#extended_key_id=0
# network block
#
# Each network (usually AP's sharing the same SSID) is c...
# block in this configuration file. The network blocks a...
# (the first match is used).
#
# network block fields:
#
# disabled:
# 0 = this network can be used (default)
# 1 = this network block is disabled (can be enabled thr...
# e.g., with wpa_cli or wpa_gui)
#
# id_str: Network identifier string for external scripts...
# to external action script through wpa_cli as WPA_ID_ST...
# variable to make it easier to do network specific conf...
#
# ssid: SSID (mandatory); network name in one of the opt...
# - an ASCII string with double quotation
# - a hex string (two characters per octet of SSID)
# - a printf-escaped ASCII string P"<escaped string>"
#
# scan_ssid:
# 0 = do not scan this SSID with specific Probe Request ...
# 1 = scan with SSID-specific Probe Request frames (this...
# find APs that do not accept broadcast SSID or use ...
# this will add latency to scanning, so enable this ...
#
# bssid: BSSID (optional); if set, this network block is...
# associating with the AP using the configured BSSID
#
# ignore_broadcast_ssid: SSID broadcast behavior
# Send empty SSID in beacons and ignore probe request fr...
# specify full SSID, i.e., require stations to know SSID.
# default: disabled (0)
# 1 = send empty (length=0) SSID in beacon and ignore pr...
# broadcast SSID
# 2 = clear SSID (ASCII 0), but keep the original length...
# with some clients that do not support empty SSID) ...
# requests for broadcast SSID
#
# priority: priority group (integer)
# By default, all networks will get same priority group ...
# networks are more desirable, this field can be used to...
# which wpa_supplicant goes through the networks when se...
# priority groups will be iterated in decreasing priorit...
# priority value, the sooner the network is matched agai...
# Within each priority group, networks will be selected ...
# policy, signal strength, etc.
# Please note that AP scanning with scan_ssid=1 and ap_s...
# using this priority to select the order for scanning. ...
# networks in the order that used in the configuration f...
#
# mode: IEEE 802.11 operation mode
# 0 = infrastructure (Managed) mode, i.e., associate wit...
# 1 = IBSS (ad-hoc, peer-to-peer)
# 2 = AP (access point)
# Note: IBSS can only be used with key_mgmt NONE (plaint...
# WPA-PSK (with proto=RSN). In addition, key_mgmt=WPA-NO...
# TKIP/CCMP) is available for backwards compatibility, b...
# deprecated. WPA-None requires following network block ...
# proto=WPA, key_mgmt=WPA-NONE, pairwise=NONE, group=TKI...
# both), and psk must also be set.
#
# frequency: Channel frequency in megahertz (MHz) for IB...
# 2412 = IEEE 802.11b/g channel 1. This value is used to...
# channel for IBSS (adhoc) networks. It is ignored in th...
# In addition, this value is only used by the station th...
# an IBSS network with the configured SSID is already pr...
# the network will be used instead of this configured va...
#
# pbss: Whether to use PBSS. Relevant to IEEE 802.11ad n...
# 0 = do not use PBSS
# 1 = use PBSS
# 2 = don't care (not allowed in AP mode)
# Used together with mode configuration. When mode is AP...
# PCP instead of a regular AP. When mode is infrastructu...
# to a PCP instead of AP. In this mode you can also spec...
# which means connect to either PCP or AP.
# P2P_GO and P2P_GROUP_FORMATION modes must use PBSS in ...
# For more details, see IEEE Std 802.11ad-2012.
#
# scan_freq: List of frequencies to scan
# Space-separated list of frequencies in MHz to scan whe...
# BSS. If the subset of channels used by the network is ...
# be used to optimize scanning to not occur on channels ...
# not use. Example: scan_freq=2412 2437 2462
#
# freq_list: Array of allowed frequencies
# Space-separated list of frequencies in MHz to allow fo...
# set, scan results that do not match any of the specifi...
# considered when selecting a BSS.
#
# This can also be set on the outside of the network blo...
# it limits the frequencies that will be scanned.
#
# bgscan: Background scanning
# wpa_supplicant behavior for background scanning can be...
# configuring a bgscan module. These modules are respons...
# background scans for the purpose of roaming within an ...
# single network block with all the APs using the same S...
# parameter uses following format: "<bgscan module name>...
# Following bgscan modules are available:
# simple - Periodic background scans based on signal str...
# send_btm_query > 0 means do this many BTM queries befo...
# bgscan="simple:<short bgscan interval in seconds>:<sig...
# <long interval>[:<send_btm_query>]"
# bgscan="simple:30:-45:300"
# bgscan="simple:30:-45:300:3"
# learn - Learn channels used by the network and try to ...
# channels (experimental)
# bgscan="learn:<short bgscan interval in seconds>:<sign...
# <long interval>[:<database file name>]"
# bgscan="learn:30:-45:300:/etc/wpa_supplicant/network1....
# Explicitly disable bgscan by setting
# bgscan=""
#
# This option can also be set outside of all network blo...
# parameter to apply for all the networks that have no s...
# parameter.
#
# proto: list of accepted protocols
# WPA = WPA/IEEE 802.11i/D3.0
# RSN = WPA2/IEEE 802.11i (also WPA2 can be used as an a...
# Note that RSN is used also for WPA3.
# If not set, this defaults to: WPA RSN
#
# key_mgmt: list of accepted authenticated key managemen...
# WPA-PSK = WPA pre-shared key (this requires 'psk' field)
# WPA-EAP = WPA using EAP authentication
# IEEE8021X = IEEE 802.1X using EAP authentication and (...
# generated WEP keys
# NONE = WPA is not used; plaintext or static WEP could ...
# WPA-NONE = WPA-None for IBSS (deprecated; use proto=RS...
# instead)
# FT-PSK = Fast BSS Transition (IEEE 802.11r) with pre-s...
# FT-EAP = Fast BSS Transition (IEEE 802.11r) with EAP a...
# FT-EAP-SHA384 = Fast BSS Transition (IEEE 802.11r) wit...
# and using SHA384
# WPA-PSK-SHA256 = Like WPA-PSK but using stronger SHA25...
# WPA-EAP-SHA256 = Like WPA-EAP but using stronger SHA25...
# SAE = Simultaneous authentication of equals; pre-share...
# authentication with stronger security than WPA-PSK esp...
# not that strong password; a.k.a. WPA3-Personal
# FT-SAE = SAE with FT
# WPA-EAP-SUITE-B = Suite B 128-bit level
# WPA-EAP-SUITE-B-192 = Suite B 192-bit level
# OSEN = Hotspot 2.0 Rel 2 online signup connection
# FILS-SHA256 = Fast Initial Link Setup with SHA256
# FILS-SHA384 = Fast Initial Link Setup with SHA384
# FT-FILS-SHA256 = FT and Fast Initial Link Setup with S...
# FT-FILS-SHA384 = FT and Fast Initial Link Setup with S...
# OWE = Opportunistic Wireless Encryption (a.k.a. Enhanc...
# DPP = Device Provisioning Protocol
# If not set, this defaults to: WPA-PSK WPA-EAP
#
# ieee80211w: whether management frame protection is ena...
# 0 = disabled (default unless changed with the global p...
# 1 = optional
# 2 = required
# The most common configuration options for this based o...
# management frames) certification program are:
# PMF enabled: ieee80211w=1 and key_mgmt=WPA-EAP WPA-EAP...
# PMF required: ieee80211w=2 and key_mgmt=WPA-EAP-SHA256
# (and similarly for WPA-PSK and WPA-PSK-SHA256 if WPA2-...
# WPA3-Personal-only mode: ieee80211w=2 and key_mgmt=SAE
#
# ocv: whether operating channel validation is enabled
# This is a countermeasure against multi-channel on-path...
# Enabling this automatically also enables ieee80211w, i...
# 0 = disabled (default)
# 1 = enabled if wpa_supplicant's SME in use. Otherwise ...
# driver indicates support for operating channel val...
#ocv=1
#
# auth_alg: list of allowed IEEE 802.11 authentication a...
# OPEN = Open System authentication (required for WPA/WP...
# SHARED = Shared Key authentication (requires static WE...
# LEAP = LEAP/Network EAP (only used with LEAP)
# If not set, automatic selection is used (Open System w...
# LEAP is allowed as one of the EAP methods).
#
# pairwise: list of accepted pairwise (unicast) ciphers ...
# CCMP = AES in Counter mode with CBC-MAC [RFC 3610, IEE...
# TKIP = Temporal Key Integrity Protocol [IEEE 802.11i/D...
# NONE = Use only Group Keys (deprecated, should not be ...
# pairwise keys)
# If not set, this defaults to: CCMP TKIP
#
# group: list of accepted group (broadcast/multicast) ci...
# CCMP = AES in Counter mode with CBC-MAC [RFC 3610, IEE...
# TKIP = Temporal Key Integrity Protocol [IEEE 802.11i/D...
# WEP104 = WEP (Wired Equivalent Privacy) with 104-bit key
# WEP40 = WEP (Wired Equivalent Privacy) with 40-bit key...
# If not set, this defaults to: CCMP TKIP WEP104 WEP40
#
# group_mgmt: list of accepted group management ciphers ...
# AES-128-CMAC = BIP-CMAC-128
# BIP-GMAC-128
# BIP-GMAC-256
# BIP-CMAC-256
# If not set, no constraint on the cipher, i.e., accept ...
# indicates.
#
# psk: WPA preshared key; 256-bit pre-shared key
# The key used in WPA-PSK mode can be entered either as ...
# 32 bytes or as an ASCII passphrase (in which case, the...
# generated using the passphrase and SSID). ASCII passph...
# 8 and 63 characters (inclusive). ext:<name of external...
# be used to indicate that the PSK/passphrase is stored ...
# This field is not needed, if WPA-EAP is used.
# Note: Separate tool, wpa_passphrase, can be used to ge...
# from ASCII passphrase. This process uses lot of CPU an...
# startup and reconfiguration time can be optimized by g...
# only when the passphrase or SSID has actually changed.
#
# mem_only_psk: Whether to keep PSK/passphrase only in m...
# 0 = allow psk/passphrase to be stored to the configura...
# 1 = do not store psk/passphrase to the configuration f...
#mem_only_psk=0
#
# sae_password: SAE password
# This parameter can be used to set a password for SAE. ...
# passphrase from the psk parameter is used if this sepa...
# used, but psk follows the WPA-PSK constraints (8..63 c...
# SAE passwords do not have such constraints.
#
# sae_password_id: SAE password identifier
# This parameter can be used to set an identifier for th...
# default, no such identifier is used. If set, the speci...
# is used by the other peer to select which password to ...
#
# eapol_flags: IEEE 802.1X/EAPOL options (bit field)
# Dynamic WEP key required for non-WPA mode
# bit0 (1): require dynamically generated unicast WEP key
# bit1 (2): require dynamically generated broadcast WEP ...
# (3 = require both keys; default)
# Note: When using wired authentication (including MACse...
# eapol_flags must be set to 0 for the authentication to...
# successfully.
#
# macsec_policy: IEEE 802.1X/MACsec options
# This determines how sessions are secured with MACsec (...
# drivers).
# 0: MACsec not in use (default)
# 1: MACsec enabled - Should secure, accept key server's...
# determine whether to use a secure session or not.
#
# macsec_integ_only: IEEE 802.1X/MACsec transmit mode
# This setting applies only when MACsec is in use, i.e.,
# - macsec_policy is enabled
# - the key server has decided to enable MACsec
# 0: Encrypt traffic (default)
# 1: Integrity only
#
# macsec_replay_protect: IEEE 802.1X/MACsec replay prote...
# This setting applies only when MACsec is in use, i.e.,
# - macsec_policy is enabled
# - the key server has decided to enable MACsec
# 0: Replay protection disabled (default)
# 1: Replay protection enabled
#
# macsec_replay_window: IEEE 802.1X/MACsec replay protec...
# This determines a window in which replay is tolerated,...
# of frames that have been misordered by the network.
# This setting applies only when MACsec replay protectio...
# - macsec_replay_protect is enabled
# - the key server has decided to enable MACsec
# 0: No replay window, strict check (default)
# 1..2^32-1: number of packets that could be misordered
#
# macsec_offload - Enable MACsec hardware offload
#
# This setting applies only when MACsec is in use, i.e.,
# - the key server has decided to enable MACsec
#
# 0 = MACSEC_OFFLOAD_OFF (default)
# 1 = MACSEC_OFFLOAD_PHY
# 2 = MACSEC_OFFLOAD_MAC
#
# macsec_port: IEEE 802.1X/MACsec port
# Port component of the SCI
# Range: 1-65534 (default: 1)
#
# mka_cak, mka_ckn, and mka_priority: IEEE 802.1X/MACsec...
# This allows to configure MACsec with a pre-shared key ...
# In this mode, instances of wpa_supplicant can act as M...
# with lower priority will become the key server and sta...
# mka_cak (CAK = Secure Connectivity Association Key) ta...
# hex-string (32 hex-digits) or a 32-byte (256-bit) hex-...
# mka_ckn (CKN = CAK Name) takes a 1..32-bytes (8..256 b...
# (2..64 hex-digits)
# mka_priority (Priority of MKA Actor) is in 0..255 rang...
# default priority
#
# mixed_cell: This option can be used to configure wheth...
# cells, i.e., networks that use both plaintext and encr...
# SSID, are allowed when selecting a BSS from scan resul...
# 0 = disabled (default)
# 1 = enabled
#
# proactive_key_caching:
# Enable/disable opportunistic PMKSA caching for WPA2.
# 0 = disabled (default unless changed with the global o...
# 1 = enabled
#
# ft_eap_pmksa_caching:
# Whether FT-EAP PMKSA caching is allowed
# 0 = do not try to use PMKSA caching with FT-EAP (defau...
# 1 = try to use PMKSA caching with FT-EAP
# This controls whether to try to use PMKSA caching with...
# FT initial mobility domain association.
#ft_eap_pmksa_caching=0
#
# wep_key0..3: Static WEP key (ASCII in double quotation...
# hex without quotation, e.g., 0102030405)
# wep_tx_keyidx: Default WEP key index (TX) (0..3)
#
# wpa_ptk_rekey: Maximum lifetime for PTK in seconds. Th...
# enforce rekeying of PTK to mitigate some attacks again...
#
# wpa_deny_ptk0_rekey: Workaround for PTK rekey issues
# PTK0 rekeys (using only one Key ID value for pairwise ...
# security and stability with some cards.
# To avoid the issues wpa_supplicant can replace those P...
# EAP reauthentications) with fast reconnects.
#
# Available options:
# 0 = always rekey when configured/instructed (default)
# 1 = only rekey when the local driver is explicitly ind...
# this operation without issues
# 2 = never allow problematic PTK0 rekeys
#
# group_rekey: Group rekeying time in seconds. This valu...
# as the dot11RSNAConfigGroupRekeyTime parameter when op...
# Authenticator role in IBSS, or in AP and mesh modes.
#
# Following fields are only used with internal EAP imple...
# eap: space-separated list of accepted EAP methods
# MD5 = EAP-MD5 (insecure and does not generate keying m...
# cannot be used with WPA; to be used as a Phase 2 met...
# with EAP-PEAP or EAP-TTLS)
# MSCHAPV2 = EAP-MSCHAPv2 (cannot be used separate...
# as a Phase 2 method with EAP-PEAP or EAP-TTLS)
# OTP = EAP-OTP (cannot be used separately with WP...
# as a Phase 2 method with EAP-PEAP or EAP-TTLS)
# GTC = EAP-GTC (cannot be used separately with WP...
# as a Phase 2 method with EAP-PEAP or EAP-TTLS)
# TLS = EAP-TLS (client and server certificate)
# PEAP = EAP-PEAP (with tunnelled EAP authentication)
# TTLS = EAP-TTLS (with tunnelled EAP or PAP/CHAP/MSCHAP...
# authentication)
# If not set, all compiled in methods are allowed.
#
# identity: Identity string for EAP
# This field is also used to configure user NAI for
# EAP-PSK/PAX/SAKE/GPSK.
# anonymous_identity: Anonymous identity string for EAP ...
# unencrypted identity with EAP types that support diffe...
# identity, e.g., EAP-TTLS). This field can also be used...
# EAP-SIM/AKA/AKA' to store the pseudonym identity.
# password: Password string for EAP. This field can incl...
# plaintext password (using ASCII or hex string) or a Nt...
# (16-byte MD4 hash of password) in hash:<32 hex digits>...
# NtPasswordHash can only be used when the password is f...
# MSCHAP (EAP-MSCHAPv2, EAP-TTLS/MSCHAPv2, EAP-TTLS/MSCH...
# EAP-PSK (128-bit PSK), EAP-PAX (128-bit PSK), and EAP-...
# PSK) is also configured using this field. For EAP-GPSK...
# variable length PSK. ext:<name of external password fi...
# be used to indicate that the password is stored in ext...
# ca_cert: File path to CA certificate file (PEM/DER). T...
# or more trusted CA certificates. If ca_cert and ca_pat...
# included, server certificate will not be verified. Thi...
# a trusted CA certificate should always be configured w...
# EAP-TLS/TTLS/PEAP. Full path should be used since work...
# change when wpa_supplicant is run in the background.
#
# Alternatively, this can be used to only perform matchi...
# certificate (SHA-256 hash of the DER encoded X.509 cer...
# this case, the possible CA certificates in the server ...
# are ignored and only the server certificate is verifie...
# configured with the following format:
# hash:://server/sha256/cert_hash_in_hex
# For example: "hash://server/sha256/
# 5a1bc1296205e6fdbe3979728efe3920798885c1c4590b5f90f432...
#
# On Windows, trusted CA certificates can be loaded from...
# certificate store by setting this to cert_store://<nam...
# ca_cert="cert_store://CA" or ca_cert="cert_store://ROO...
# Note that when running wpa_supplicant as an applicatio...
# certificate store (My user account) is used, whereas c...
# (Computer account) is used when running wpasvc as a se...
# ca_path: Directory path for CA certificate files (PEM)...
# contain multiple CA certificates in OpenSSL format. Co...
# is to point to system trusted CA list which is often i...
# directory like /etc/ssl/certs. If configured, these ce...
# added to the list of trusted CAs. ca_cert may also be ...
# case, but it is not required.
# client_cert: File path to client certificate file (PEM...
# Full path should be used since working directory may c...
# wpa_supplicant is run in the background.
# Alternatively, a named configuration blob can be used ...
# to blob://<blob name>.
# private_key: File path to client private key file (PEM...
# When PKCS#12/PFX file (.p12/.pfx) is used, client_cert...
# commented out. Both the private key and certificate wi...
# the PKCS#12 file in this case. Full path should be use...
# directory may change when wpa_supplicant is run in the...
# Windows certificate store can be used by leaving clien...
# configuring private_key in one of the following formats:
# cert://substring_to_match
# hash://certificate_thumbprint_in_hex
# for example: private_key="hash://63093aa9c47f56ae88334...
# Note that when running wpa_supplicant as an applicatio...
# certificate store (My user account) is used, whereas c...
# (Computer account) is used when running wpasvc as a se...
# Alternatively, a named configuration blob can be used ...
# to blob://<blob name>.
# private_key_passwd: Password for private key file (if ...
# asked through control interface)
# subject_match: Substring to be matched against the sub...
# authentication server certificate. If this string is s...
# certificate is only accepted if it contains this strin...
# The subject string is in following format:
# /C=US/ST=CA/L=San Francisco/CN=Test AS/emailAddress=as...
# Note: Since this is a substring match, this cannot be ...
# do a suffix match against a possible domain name in th...
# such a use case, domain_suffix_match or domain_match s...
# instead.
# altsubject_match: Semicolon separated string of entrie...
# the alternative subject name of the authentication ser...
# If this string is set, the server certificate is only ...
# contains one of the entries in an alternative subject ...
# altSubjectName string is in following format: TYPE:VALUE
# Example: EMAIL:server@example.com
# Example: DNS:server.example.com;DNS:server2.example.com
# Following types are supported: EMAIL, DNS, URI
# domain_suffix_match: Constraint for server domain name...
# used as a suffix match requirement for the AAA server ...
# SubjectAltName dNSName element(s). If a matching dNSNa...
# constraint is met. If no dNSName values are present, t...
# matched against SubjectName CN using same suffix match...
#
# Suffix match here means that the host/domain name is c...
# at a time starting from the top-level domain and all t...
# domain_suffix_match shall be included in the certifica...
# certificate may include additional sub-level labels in...
# required labels.
#
# More than one match string can be provided by using se...
# separate the strings (e.g., example.org;example.com). ...
# strings are specified, a match with any one of the val...
# a sufficient match for the certificate, i.e., the cond...
# together.
#
# For example, domain_suffix_match=example.com would match
# test.example.com but would not match test-example.com.
# domain_match: Constraint for server domain name
# If set, this FQDN is used as a full match requirement ...
# server certificate in SubjectAltName dNSName element(s...
# matching dNSName is found, this constraint is met. If ...
# values are present, this constraint is matched against...
# using same full match comparison. This behavior is sim...
# domain_suffix_match, but has the requirement of a full...
# no subdomains or wildcard matches are allowed. Case-in...
# comparison is used, so "Example.com" matches "example....
# not match "test.Example.com".
#
# More than one match string can be provided by using se...
# separate the strings (e.g., example.org;example.com). ...
# strings are specified, a match with any one of the val...
# a sufficient match for the certificate, i.e., the cond...
# together.
# phase1: Phase1 (outer authentication, i.e., TLS tunnel...
# (string with field-value pairs, e.g., "peapver=0" or
# "peapver=1 peaplabel=1")
# 'peapver' can be used to force which PEAP version (0 o...
# 'peaplabel=1' can be used to force new label, "client ...
# to be used during key derivation when PEAPv1 or newer....
# PEAPv1 implementation seem to be using the old label, ...
# encryption", and wpa_supplicant is now using that as t...
# Some servers, e.g., Radiator, may require peaplabel=1 ...
# interoperate with PEAPv1; see eap_testing.txt for more...
# 'peap_outer_success=0' can be used to terminate PEAP a...
# tunneled EAP-Success. This is required with some RADIU...
# implement draft-josefsson-pppext-eap-tls-eap-05.txt (e...
# Lucent NavisRadius v4.4.0 with PEAP in "IETF Draft 5" ...
#include_tls_length=1 can be used to force wpa_supplican...
#TLS Message Length field in all TLS messages even if th...
#fragmented.
#sim_min_num_chal=3 can be used to configure EAP-SIM to ...
#challenges (by default, it accepts 2 or 3)
#result_ind=1 can be used to enable EAP-SIM and EAP-AKA ...
#protected result indication.
#'crypto_binding' option can be used to control PEAPv0 c...
#behavior:
# * 0 = do not use cryptobinding (default)
# * 1 = use cryptobinding if server supports it
# * 2 = require cryptobinding
#'phase2_auth' option can be used to control Phase 2 (i....
#tunnel) behavior for PEAP:
# * 0 = do not require Phase 2 authentication
# * 1 = require Phase 2 authentication when client certi...
# (private_key/client_cert) is no used and TLS session...
# not used (default)
# * 2 = require Phase 2 authentication in all cases
#EAP-WSC (WPS) uses following options: pin=<Device Passw...
#pbc=1.
#
#For wired IEEE 802.1X authentication, "allow_canned_suc...
#used to configure a mode that allows EAP-Success (and E...
#without going through authentication step. Some switche...
#sequence when forcing the port to be authorized/unautho...
#fallback option if the authentication server is unreach...
#wpa_supplicant discards such frames to protect against ...
#by rogue devices, but this option can be used to disabl...
#for cases where the server/authenticator does not need ...
#authenticated.
# phase2: Phase2 (inner authentication with TLS tunnel) ...
#(string with field-value pairs, e.g., "auth=MSCHAPV2" f...
#"autheap=MSCHAPV2 autheap=MD5" for EAP-TTLS). "mschapv2...
#used to disable MSCHAPv2 password retry in authenticati...
#
# TLS-based methods can use the following parameters to ...
# (these are normally in the phase1 parameter, but can b...
# phase2 parameter when EAP-TLS is used within the inner...
# tls_allow_md5=1 - allow MD5-based certificate signatur...
#TLS library, these may be disabled by default to enforc...
#security)
# tls_disable_time_checks=1 - ignore certificate validit...
#the TLS library to accept certificates even if they are...
#valid, i.e., have expired or have not yet become valid;...
#used only for testing purposes)
# tls_disable_session_ticket=1 - disable TLS Session Tic...
# tls_disable_session_ticket=0 - allow TLS Session Ticke...
#Note: If not set, this is automatically set to 1 for EA...
#as a workaround for broken authentication server implem...
#EAP workarounds are disabled with eap_workaround=0.
#For EAP-FAST, this must be set to 0 (or left unconfigur...
#default value to be used automatically).
# tls_disable_tlsv1_0=1 - disable use of TLSv1.0
# tls_disable_tlsv1_0=0 - explicitly enable use of TLSv1...
#systemwide TLS policies to be overridden)
# tls_disable_tlsv1_1=1 - disable use of TLSv1.1 (a work...
#that have issues interoperating with updated TLS version)
# tls_disable_tlsv1_1=0 - explicitly enable use of TLSv1...
#systemwide TLS policies to be overridden)
# tls_disable_tlsv1_2=1 - disable use of TLSv1.2 (a work...
#that have issues interoperating with updated TLS version)
# tls_disable_tlsv1_2=0 - explicitly enable use of TLSv1...
#systemwide TLS policies to be overridden)
# tls_disable_tlsv1_3=1 - disable use of TLSv1.3 (a work...
#that have issues interoperating with updated TLS version)
# tls_disable_tlsv1_3=0 - enable TLSv1.3 (experimental -...
# tls_ext_cert_check=0 - No external server certificate ...
# tls_ext_cert_check=1 - External server certificate val...
#requires an external program doing validation of server...
#chain when receiving CTRL-RSP-EXT_CERT_CHECK event from...
#interface and report the result of the validation with
#CTRL-RSP_EXT_CERT_CHECK.
# tls_suiteb=0 - do not apply Suite B 192-bit constraint...
# tls_suiteb=1 - apply Suite B 192-bit constraints on TL...
#particular when using Suite B with RSA keys of >= 3K (3...
# allow_unsafe_renegotiation=1 - allow connection with a...
#not support safe renegotiation (RFC 5746); please note ...
#workaround should be only when having to authenticate w...
#authentication server that cannot be updated to use sec...
#implementation.
#
# Following certificate/private key fields are used in i...
# authentication when using EAP-TTLS or EAP-PEAP.
# ca_cert2: File path to CA certificate file. This file ...
#trusted CA certificates. If ca_cert2 and ca_path2 are n...
#server certificate will not be verified. This is insecu...
#CA certificate should always be configured.
# ca_path2: Directory path for CA certificate files (PEM)
# client_cert2: File path to client certificate file
# private_key2: File path to client private key file
# private_key2_passwd: Password for private key file
# dh_file2: File path to DH/DSA parameters file (in PEM ...
# subject_match2: Substring to be matched against the su...
#authentication server certificate. See subject_match fo...
# altsubject_match2: Semicolon separated string of entri...
#against the alternative subject name of the authenticat...
#certificate. See altsubject_match documentation for mor...
# domain_suffix_match2: Constraint for server domain nam...
#domain_suffix_match for more details.
# ocsp2: See ocsp for more details.
#
# Separate machine credentials can be configured for EAP...
# "machine_" prefix (e.g., "machine_identity") in the co...
# See the parameters without that prefix for more detail...
# format of each such parameter.
#
# fragment_size: Maximum EAP fragment size in bytes (def...
#This value limits the fragment size for EAP methods tha...
#fragmentation (e.g., EAP-TLS and EAP-PEAP). This value ...
#small enough to make the EAP messages fit in MTU of the...
#interface used for EAPOL. The default value is suitable...
#cases.
#
# ocsp: Whether to use/require OCSP to check server cert...
#0 = do not use OCSP stapling (TLS certificate status ex...
#1 = try to use OCSP stapling, but not require response
#2 = require valid OCSP stapling response
#3 = require valid OCSP stapling response for all not-tr...
# certificates in the server certificate chain
#
# openssl_ciphers: OpenSSL specific cipher configuration
#This can be used to override the global openssl_ciphers...
#parameter (see above).
#
# erp: Whether EAP Re-authentication Protocol (ERP) is e...
#
# EAP-FAST variables:
# pac_file: File path for the PAC entries. wpa_supplican...
#to create this file and write updates to it when PAC is...
#provisioned or refreshed. Full path to the file should ...
#working directory may change when wpa_supplicant is run...
#background. Alternatively, a named configuration blob c...
#setting this to blob://<blob name>
# phase1: fast_provisioning option can be used to enable...
# of EAP-FAST credentials (PAC):
# 0 = disabled,
# 1 = allow unauthenticated provisioning,
# 2 = allow authenticated provisioning,
# 3 = allow both unauthenticated and authenticat...
#fast_max_pac_list_len=<num> option can be used to set t...
# number of PAC entries to store in a PAC list (default:...
#fast_pac_format=binary option can be used to select bin...
# storing PAC entries in order to save some space (the d...
# text format uses about 2.5 times the size of minimal b...
# format)
#
# wpa_supplicant supports number of "EAP workarounds" to...
# interoperability issues with incorrectly behaving auth...
# These are enabled by default because some of the issue...
# number of authentication servers. Strict EAP conforman...
# configured by disabling workarounds with eap_workaroun...
# update_identifier: PPS MO ID
#(Hotspot 2.0 PerProviderSubscription/UpdateIdentifier)
#
# roaming_consortium_selection: Roaming Consortium Selec...
#The matching Roaming Consortium OI that was used to gen...
#network profile.
# Station inactivity limit
#
# If a station does not send anything in ap_max_inactivi...
# empty data frame is sent to it in order to verify whet...
# still in range. If this frame is not ACKed, the statio...
# disassociated and then deauthenticated. This feature i...
# clear station table of old entries when the STAs move ...
# range.
#
# The station can associate again with the AP if it is s...
# this inactivity poll is just used as a nicer way of ve...
# inactivity; i.e., client will not report broken connec...
# disassociation frame is not sent immediately without f...
# the STA with a data frame.
# default: 300 (i.e., 5 minutes)
#ap_max_inactivity=300
# DTIM period in Beacon intervals for AP mode (default: 2)
#dtim_period=2
# Beacon interval (default: 100 TU)
#beacon_int=100
# WPS in AP mode
# 0 = WPS enabled and configured (default)
# 1 = WPS disabled
#wps_disabled=0
# FILS DH Group
# 0 = PFS disabled with FILS shared key authentication (...
# 1-65535 = DH Group to use for FILS PFS
#fils_dh_group=0
# DPP PFS
# 0: allow PFS to be used or not used (default)
# 1: require PFS to be used (note: not compatible with D...
# 2: do not allow PFS to be used
#dpp_pfs=0
# DPP Network introduction type
# 0: unprotected variant from DPP R1 (default)
# 1: privacy protecting (station Connector encrypted) va...
# DPP R3
#dpp_connector_privacy=0
# Whether beacon protection is enabled
# This depends on management frame protection (ieee80211...
# beacon protection support indication from the driver.
# 0 = disabled (default)
# 1 = enabled
#beacon_prot=0
# OWE DH Group
# 0: use default (19) first and then try all supported g...
# rejects the selected group
# 1-65535: DH Group to use for OWE
# Groups 19 (NIST P-256), 20 (NIST P-384), and 21 (NIST ...
# currently supported.
#owe_group=0
# OWE-only mode (disable transition mode)
# 0: enable transition mode (allow connection to either ...
# 1 = disable transition mode (allow connection only wit...
#owe_only=0
# OWE PTK derivation workaround
# Initial OWE implementation used SHA256 when deriving t...
# OWE groups. This was supposed to change to SHA384 for ...
# SHA512 for group 21. This parameter can be used to ena...
# behavior mainly for testing purposes. There is no impa...
# behavior, but if enabled, this will make group 20 and ...
# SHA256-based PTK derivation which will not work with t...
# OWE implementation on the AP side.
#owe_ptk_workaround=0
# Transition Disable indication
# The AP can notify authenticated stations to disable tr...
# in their network profiles when the network has complet...
# steps, i.e., once sufficiently large number of APs in ...
# been updated to support the more secure alternative. W...
# indication is used, the stations are expected to autom...
# disable transition mode and less secure security optio...
# includes use of WEP, TKIP (including use of TKIP as th...
# cipher), and connections without PMF.
# Bitmap bits:
# bit 0 (0x01): WPA3-Personal (i.e., disable WPA2-Person...
#and only allow SAE to be used)
# bit 1 (0x02): SAE-PK (disable SAE without use of SAE-PK)
# bit 2 (0x04): WPA3-Enterprise (move to requiring PMF)
# bit 3 (0x08): Enhanced Open (disable use of open netwo...
#OWE)
# SAE-PK mode
# 0: automatic SAE/SAE-PK selection based on password; e...
# transition mode (allow SAE authentication without S...
# 1: SAE-PK only (disable transition mode; allow SAE aut...
# only with SAE-PK)
# 2: disable SAE-PK (allow SAE authentication only witho...
#sae_pk=0
# MAC address policy
# 0 = use permanent MAC address
# 1 = use random MAC address for each ESS connection
# 2 = like 1, but maintain OUI (with local admin bit set)
#mac_addr=0
# disable_ht: Whether HT (802.11n) should be disabled.
# 0 = HT enabled (if AP supports it)
# 1 = HT disabled
#
# disable_ht40: Whether HT-40 (802.11n) should be disabl...
# 0 = HT-40 enabled (if AP supports it)
# 1 = HT-40 disabled
#
# disable_sgi: Whether SGI (short guard interval) should...
# 0 = SGI enabled (if AP supports it)
# 1 = SGI disabled
#
# disable_ldpc: Whether LDPC should be disabled.
# 0 = LDPC enabled (if AP supports it)
# 1 = LDPC disabled
#
# ht40_intolerant: Whether 40 MHz intolerant should be i...
# 0 = 40 MHz tolerant (default)
# 1 = 40 MHz intolerant
#
# ht_mcs: Configure allowed MCS rates.
# Parsed as an array of bytes, in base-16 (ascii-hex)
# ht_mcs="" // Use all...
# ht_mcs="0xff 00 00 00 00 00 00 00 00 00 " // Use MCS...
# ht_mcs="0xff ff 00 00 00 00 00 00 00 00 " // Use MCS...
#
# disable_max_amsdu: Whether MAX_AMSDU should be disabl...
# -1 = Do not make any changes.
# 0 = Enable MAX-AMSDU if hardware supports it.
# 1 = Disable AMSDU
#
# ampdu_factor: Maximum A-MPDU Length Exponent
# Value: 0-3, see 7.3.2.56.3 in IEEE Std 802.11n-2009.
#
# ampdu_density: Allow overriding AMPDU density configu...
# Treated as hint by the kernel.
# -1 = Do not make any changes.
# 0-3 = Set AMPDU density (aka factor) to specified value.
#
# tx_stbc: Allow overriding STBC support for TX streams
# Value: 0-1, see IEEE Std 802.11-2016, 9.4.2.56.2.
# -1 = Do not make any changes (default)
# 0 = Set if not supported
# 1 = Set if supported
#
# rx_stbc: Allow overriding STBC support for RX streams
# Value: 0-3, see IEEE Std 802.11-2016, 9.4.2.56.2.
# -1 = Do not make any changes (default)
# 0 = Set if not supported
# 1 = Set for support of one spatial stream
# 2 = Set for support of one and two spatial streams
# 3 = Set for support of one, two and three spatial stre...
# disable_vht: Whether VHT should be disabled.
# 0 = VHT enabled (if AP supports it)
# 1 = VHT disabled
#
# vht_capa: VHT capabilities to set in the override
# vht_capa_mask: mask of VHT capabilities
#
# vht_rx_mcs_nss_1/2/3/4/5/6/7/8: override the MCS set f...
# vht_tx_mcs_nss_1/2/3/4/5/6/7/8: override the MCS set f...
# 0: MCS 0-7
# 1: MCS 0-8
# 2: MCS 0-9
# 3: not supported
# disable_eht: Whether EHT should be disabled.
# 0 = EHT enabled (if supported) (default)
# 1 = EHT disabled
# multi_ap_backhaul_sta: Multi-AP backhaul STA functiona...
# 0 = normal STA (default)
# 1 = backhaul STA
# A backhaul STA sends the Multi-AP IE, fails to associa...
# support Multi-AP, and sets 4-address mode if it does. ...
# added to a bridge to allow forwarding frames over this...
# Multi-AP Profile
# Indicate the supported Multi-AP profile
# 1 = Supports Multi-AP profile 1 as defined in Wi-Fi Ea...
# 2 = Supports Multi-AP profile 2 as defined in Wi-Fi Ea...
#multi_ap_profile=2
#### # Fast Session Transfer (FST) support #############...
#
# The options in this section are only available when th...
# option CONFIG_FST is set while compiling wpa_supplican...
# interface to be a part of FST setup.
#
# FST is the transfer of a session from a channel to ano...
# same or different frequency bands.
#
# For details, see IEEE Std 802.11ad-2012.
# Identifier of an FST Group the interface belongs to.
#fst_group_id=bond0
# Interface priority within the FST Group.
# Announcing a higher priority for an interface means de...
# preferable for FST switch.
# fst_priority is in 1..255 range with 1 being the lowes...
#fst_priority=100
# Default LLT value for this interface in milliseconds. ...
# no value provided during session setup. Default is 50 ...
# fst_llt is in 1..4294967 range (due to spec limitation...
# Transitioning between states).
#fst_llt=100
# BSS Transition Management
# disable_btm - Disable BSS transition management in STA
# Set to 0 to enable BSS transition management (default ...
# Set to 1 to disable BSS transition management
#disable_btm=0
# Enable EDMG capability in STA/AP mode, default value i...
#enable_edmg=1
# This value is used to configure the channel bonding fe...
# Default value is 0.
# Relevant only if enable_edmg is true
# In AP mode it defines the EDMG channel to use for AP o...
# In STA mode it defines the EDMG channel for connection...
#edmg_channel=9
# BSS max idle period to request
# If nonzero, request the specified number of 1000 TU (i...
# as the maximum idle period for the STA during associat...
#max_idle=600
# Example blocks:
# Simple case: WPA-PSK, PSK as an ASCII passphrase, allo...
network={
ssid="simple"
psk="very secret passphrase"
priority=5
}
# Same as previous, but request SSID-specific scanning (...
# broadcast SSID)
network={
ssid="second ssid"
scan_ssid=1
psk="very secret passphrase"
priority=2
}
# Only WPA-PSK is used. Any valid cipher combination is ...
network={
ssid="example"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk=06b4be19da289f475aa46a33cb793029d4ab3db7a23ee92382e...
priority=2
}
# WPA-Personal(PSK) with TKIP and enforcement for freque...
network={
ssid="example"
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
psk="not so secure passphrase"
wpa_ptk_rekey=600
}
# Only WPA-EAP is used. Both CCMP and TKIP is accepted. ...
# or WEP40 as the group cipher will not be accepted.
network={
ssid="example"
proto=RSN
key_mgmt=WPA-EAP
pairwise=CCMP TKIP
group=CCMP TKIP
eap=TLS
identity="user@example.com"
ca_cert="/etc/cert/ca.pem"
client_cert="/etc/cert/user.pem"
private_key="/etc/cert/user.prv"
private_key_passwd="password"
priority=1
}
# EAP-PEAP/MSCHAPv2 configuration for RADIUS servers tha...
# (e.g., Radiator)
network={
ssid="example"
key_mgmt=WPA-EAP
eap=PEAP
identity="user@example.com"
password="foobar"
ca_cert="/etc/cert/ca.pem"
phase1="peaplabel=1"
phase2="auth=MSCHAPV2"
priority=10
}
# EAP-TTLS/EAP-MD5-Challenge configuration with anonymou...
# unencrypted use. Real identity is sent only within an ...
network={
ssid="example"
key_mgmt=WPA-EAP
eap=TTLS
identity="user@example.com"
anonymous_identity="anonymous@example.com"
password="foobar"
ca_cert="/etc/cert/ca.pem"
priority=2
}
# EAP-TTLS/MSCHAPv2 configuration with anonymous identit...
# use. Real identity is sent only within an encrypted TL...
network={
ssid="example"
key_mgmt=WPA-EAP
eap=TTLS
identity="user@example.com"
anonymous_identity="anonymous@example.com"
password="foobar"
ca_cert="/etc/cert/ca.pem"
phase2="auth=MSCHAPV2"
}
# WPA-EAP, EAP-TTLS with different CA certificate used f...
# authentication.
network={
ssid="example"
key_mgmt=WPA-EAP
eap=TTLS
# Phase1 / outer authentication
anonymous_identity="anonymous@example.com"
ca_cert="/etc/cert/ca.pem"
# Phase 2 / inner authentication
phase2="autheap=TLS"
ca_cert2="/etc/cert/ca2.pem"
client_cert2="/etc/cer/user.pem"
private_key2="/etc/cer/user.prv"
private_key2_passwd="password"
priority=2
}
# Both WPA-PSK and WPA-EAP is accepted. Only CCMP is acc...
# group cipher.
network={
ssid="example"
bssid=00:11:22:33:44:55
proto=WPA RSN
key_mgmt=WPA-PSK WPA-EAP
pairwise=CCMP
group=CCMP
psk=06b4be19da289f475aa46a33cb793029d4ab3db7a23ee92382e...
}
# Special characters in SSID, so use hex string. Default...
# and all valid ciphers.
network={
ssid=00010203
psk=000102030405060708090a0b0c0d0e0f1011121314151617181...
}
# EAP-SIM with a GSM SIM or USIM
network={
ssid="eap-sim-test"
key_mgmt=WPA-EAP
eap=SIM
pin="1234"
pcsc=""
}
# EAP-PSK
network={
ssid="eap-psk-test"
key_mgmt=WPA-EAP
eap=PSK
anonymous_identity="eap_psk_user"
password=06b4be19da289f475aa46a33cb793029
identity="eap_psk_user@example.com"
}
# IEEE 802.1X/EAPOL with dynamically generated WEP keys ...
# EAP-TLS for authentication and key generation; require...
# broadcast WEP keys.
network={
ssid="1x-test"
key_mgmt=IEEE8021X
eap=TLS
identity="user@example.com"
ca_cert="/etc/cert/ca.pem"
client_cert="/etc/cert/user.pem"
private_key="/etc/cert/user.prv"
private_key_passwd="password"
eapol_flags=3
}
# LEAP with dynamic WEP keys
network={
ssid="leap-example"
key_mgmt=IEEE8021X
eap=LEAP
identity="user"
password="foobar"
}
# EAP-IKEv2 using shared secrets for both server and pee...
network={
ssid="ikev2-example"
key_mgmt=WPA-EAP
eap=IKEV2
identity="user"
password="foobar"
}
# EAP-FAST with WPA (WPA or WPA2)
network={
ssid="eap-fast-test"
key_mgmt=WPA-EAP
eap=FAST
anonymous_identity="FAST-000102030405"
identity="username"
password="password"
phase1="fast_provisioning=1"
pac_file="/etc/wpa_supplicant.eap-fast-pac"
}
network={
ssid="eap-fast-test"
key_mgmt=WPA-EAP
eap=FAST
anonymous_identity="FAST-000102030405"
identity="username"
password="password"
phase1="fast_provisioning=1"
pac_file="blob://eap-fast-pac"
}
# Plaintext connection (no WPA, no IEEE 802.1X)
network={
ssid="plaintext-test"
key_mgmt=NONE
}
# Shared WEP key connection (no WPA, no IEEE 802.1X)
network={
ssid="static-wep-test"
key_mgmt=NONE
wep_key0="abcde"
wep_key1=0102030405
wep_key2="1234567890123"
wep_tx_keyidx=0
priority=5
}
# Shared WEP key connection (no WPA, no IEEE 802.1X) usi...
# IEEE 802.11 authentication
network={
ssid="static-wep-test2"
key_mgmt=NONE
wep_key0="abcde"
wep_key1=0102030405
wep_key2="1234567890123"
wep_tx_keyidx=0
priority=5
auth_alg=SHARED
}
# IBSS/ad-hoc network with RSN
network={
ssid="ibss-rsn"
key_mgmt=WPA-PSK
proto=RSN
psk="12345678"
mode=1
frequency=2412
pairwise=CCMP
group=CCMP
}
# IBSS/ad-hoc network with WPA-None/TKIP (deprecated)
network={
ssid="test adhoc"
mode=1
frequency=2412
proto=WPA
key_mgmt=WPA-NONE
pairwise=NONE
group=TKIP
psk="secret passphrase"
}
# open mesh network
network={
ssid="test mesh"
mode=5
frequency=2437
key_mgmt=NONE
}
# secure (SAE + AMPE) network
network={
ssid="secure mesh"
mode=5
frequency=2437
key_mgmt=SAE
psk="very secret passphrase"
}
# Catch all example that allows more or less all configu...
network={
ssid="example"
scan_ssid=1
key_mgmt=WPA-EAP WPA-PSK IEEE8021X NONE
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk="very secret passphrase"
eap=TTLS PEAP TLS
identity="user@example.com"
password="foobar"
ca_cert="/etc/cert/ca.pem"
client_cert="/etc/cert/user.pem"
private_key="/etc/cert/user.prv"
private_key_passwd="password"
phase1="peaplabel=0"
}
# Example of EAP-TLS with smartcard (openssl engine)
network={
ssid="example"
key_mgmt=WPA-EAP
eap=TLS
proto=RSN
pairwise=CCMP TKIP
group=CCMP TKIP
identity="user@example.com"
ca_cert="/etc/cert/ca.pem"
# Certificate and/or key identified by PKCS#11 URI (RF...
client_cert="pkcs11:manufacturer=piv_II;id=%01"
private_key="pkcs11:manufacturer=piv_II;id=%01"
# Optional PIN configuration; this can be left out and...
# asked through the control interface
pin="1234"
}
# Example configuration showing how to use an inlined bl...
# data instead of using external file
network={
ssid="example"
key_mgmt=WPA-EAP
eap=TTLS
identity="user@example.com"
anonymous_identity="anonymous@example.com"
password="foobar"
ca_cert="blob://exampleblob"
priority=20
}
blob-base64-exampleblob={
SGVsbG8gV29ybGQhCg==
}
# Wildcard match for SSID (plaintext APs only). This exa...
# open AP regardless of its SSID.
network={
key_mgmt=NONE
}
# Example configuration ignoring two APs - these will be...
# for this network.
network={
ssid="example"
psk="very secret passphrase"
bssid_ignore=02:11:22:33:44:55 02:22:aa:44:55:66
}
# Example configuration limiting AP selection to a speci...
# any other AP not matching the masked address will be i...
network={
ssid="example"
psk="very secret passphrase"
bssid_accept=02:55:ae:bc:00:00/ff:ff:ff:ff:00:00 00:00:...
}
# Example config file that will only scan on channel 36.
freq_list=5180
network={
key_mgmt=NONE
}
# Example configuration using EAP-TTLS for authenticatio...
# generation for MACsec
network={
key_mgmt=IEEE8021X
eap=TTLS
phase2="auth=PAP"
anonymous_identity="anonymous@example.com"
identity="user@example.com"
password="secretr"
ca_cert="/etc/cert/ca.pem"
eapol_flags=0
macsec_policy=1
}
# Example configuration for MACsec with preshared key
network={
key_mgmt=NONE
eapol_flags=0
macsec_policy=1
mka_cak=0123456789ABCDEF0123456789ABCDEF
mka_ckn=6162636465666768696A6B6C6D6E6F70717273747576777...
mka_priority=128
}
ページ名: