Guest User

Untitled

a guest
May 8th, 2016
454
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.33 KB | None | 0 0
  1. ##### Example wpa_supplicant configuration file ###############################
  2. #
  3. # This file describes configuration file format and lists all available option.
  4. # Please also take a look at simpler configuration examples in 'examples'
  5. # subdirectory.
  6. #
  7. # Empty lines and lines starting with # are ignored
  8.  
  9. # NOTE! This file may contain password information and should probably be made
  10. # readable only by root user on multiuser systems.
  11.  
  12. # Note: All file paths in this configuration file should use full (absolute,
  13. # not relative to working directory) path in order to allow working directory
  14. # to be changed. This can happen if wpa_supplicant is run in the background.
  15.  
  16. # Whether to allow wpa_supplicant to update (overwrite) configuration
  17. #
  18. # This option can be used to allow wpa_supplicant to overwrite configuration
  19. # file whenever configuration is changed (e.g., new network block is added with
  20. # wpa_cli or wpa_gui, or a password is changed). This is required for
  21. # wpa_cli/wpa_gui to be able to store the configuration changes permanently.
  22. # Please note that overwriting configuration file will remove the comments from
  23. # it.
  24. update_config=1
  25.  
  26. # CONFIG_LGE_WLAN_HS20 start : soonhyuk.choi@lge.com for the passpoint ph1 feature. #####
  27. # Enable Interworking
  28. interworking=1
  29.  
  30. # Hotspot 2.0
  31. hs20=1
  32.  
  33. # Parameters for controlling scanning of the Passpoint as below.
  34.  
  35. # Homogenous ESS identifier
  36. # If this is set, scans will be used to request response only from BSSes
  37. # belonging to the specified Homogeneous ESS. This is used only if interworking
  38. # is enabled.
  39. #hessid=00:11:22:33:44:55
  40.  
  41. # Access Network Type
  42. # When Interworking is enabled, scans can be limited to APs that advertise the
  43. # specified Access Network Type (0..15; with 15 indicating wildcard match).
  44. # This value controls the Access Network Type value in Probe Request frames.
  45. #access_network_type=15
  46.  
  47. # Automatic network selection behavior
  48. # 0 = do not automatically go through Interworking network selection
  49. # (i.e., require explicit interworking_select command for this; default)
  50. # 1 = perform Interworking network selection if one or more
  51. # credentials have been configured and scan did not find a
  52. # matching network block
  53. auto_interworking=1
  54.  
  55. cred={
  56. imsi="Auto"
  57. domain="orange.ro"
  58. eap=AKA
  59. }
  60.  
  61. cred={
  62. imsi="Auto"
  63. domain="cslwifi.com"
  64. }
  65.  
  66. # here are the sample creds files as below.
  67. # for KT
  68. #cred={
  69. # imsi="Auto"
  70. # domain="kt.com"
  71. # realm="wlan.mnc008.mcc450.3gppnetwork.org"
  72. #}
  73.  
  74. # for Docomo
  75. #cred={
  76. # imsi="Auto"
  77. # realm="wlan.mnc010.mcc440.3gppnetwork.org"
  78. #}
  79.  
  80. # for china mobile
  81. #cred={
  82. # imsi="Auto"
  83. # realm="wlan.mnc003.mcc460.3gppnetwork.org"
  84. #}
  85.  
  86. # for U+
  87. #cred={
  88. # realm="lguplus.co.kr"
  89. # username="user"
  90. # password="password"
  91. # ca_cert="/etc/wpa_supplicant/ca.pem"
  92. # domain="lguplus.co.kr"
  93. # roaming_consortium=223344
  94. # eap=TTLS
  95. # phase2="auth=MSCHAPV2"
  96. #}
  97.  
  98. # CONFIG_LGE_WLAN_HS20 start : soonhyuk.choi@lge.com for the passpoint ph1 feature. #####
  99.  
  100. # global configuration (shared by all network blocks)
  101. #
  102. # Parameters for the control interface. If this is specified, wpa_supplicant
  103. # will open a control interface that is available for external programs to
  104. # manage wpa_supplicant. The meaning of this string depends on which control
  105. # interface mechanism is used. For all cases, the existance of this parameter
  106. # in configuration is used to determine whether the control interface is
  107. # enabled.
  108. #
  109. # For UNIX domain sockets (default on Linux and BSD): This is a directory that
  110. # will be created for UNIX domain sockets for listening to requests from
  111. # external programs (CLI/GUI, etc.) for status information and configuration.
  112. # The socket file will be named based on the interface name, so multiple
  113. # wpa_supplicant processes can be run at the same time if more than one
  114. # interface is used.
  115. # /var/run/wpa_supplicant is the recommended directory for sockets and by
  116. # default, wpa_cli will use it when trying to connect with wpa_supplicant.
  117. #
  118. # Access control for the control interface can be configured by setting the
  119. # directory to allow only members of a group to use sockets. This way, it is
  120. # possible to run wpa_supplicant as root (since it needs to change network
  121. # configuration and open raw sockets) and still allow GUI/CLI components to be
  122. # run as non-root users. However, since the control interface can be used to
  123. # change the network configuration, this access needs to be protected in many
  124. # cases. By default, wpa_supplicant is configured to use gid 0 (root). If you
  125. # want to allow non-root users to use the control interface, add a new group
  126. # and change this value to match with that group. Add users that should have
  127. # control interface access to this group. If this variable is commented out or
  128. # not included in the configuration file, group will not be changed from the
  129. # value it got by default when the directory or socket was created.
  130. #
  131. # When configuring both the directory and group, use following format:
  132. # DIR=/var/run/wpa_supplicant GROUP=wheel
  133. # DIR=/var/run/wpa_supplicant GROUP=0
  134. # (group can be either group name or gid)
  135. ctrl_interface=wlan0
  136. driver_param=use_multi_chan_concurrent=1
  137.  
  138. # IEEE 802.1X/EAPOL version
  139. # wpa_supplicant is implemented based on IEEE Std 802.1X-2004 which defines
  140. # EAPOL version 2. However, there are many APs that do not handle the new
  141. # version number correctly (they seem to drop the frames completely). In order
  142. # to make wpa_supplicant interoperate with these APs, the version number is set
  143. # to 1 by default. This configuration value can be used to set it to the new
  144. # version (2).
  145. eapol_version=1
  146.  
  147. # AP scanning/selection
  148. # By default, wpa_supplicant requests driver to perform AP scanning and then
  149. # uses the scan results to select a suitable AP. Another alternative is to
  150. # allow the driver to take care of AP scanning and selection and use
  151. # wpa_supplicant just to process EAPOL frames based on IEEE 802.11 association
  152. # information from the driver.
  153. # 1: wpa_supplicant initiates scanning and AP selection
  154. # 0: driver takes care of scanning, AP selection, and IEEE 802.11 association
  155. # parameters (e.g., WPA IE generation); this mode can also be used with
  156. # non-WPA drivers when using IEEE 802.1X mode; do not try to associate with
  157. # APs (i.e., external program needs to control association). This mode must
  158. # also be used when using wired Ethernet drivers.
  159. # 2: like 0, but associate with APs using security policy and SSID (but not
  160. # BSSID); this can be used, e.g., with ndiswrapper and NDIS drivers to
  161. # enable operation with hidden SSIDs and optimized roaming; in this mode,
  162. # the network blocks in the configuration file are tried one by one until
  163. # the driver reports successful association; each network block should have
  164. # explicit security policy (i.e., only one option in the lists) for
  165. # key_mgmt, pairwise, group, proto variables
  166. ap_scan=1
  167.  
  168. # EAP fast re-authentication
  169. # By default, fast re-authentication is enabled for all EAP methods that
  170. # support it. This variable can be used to disable fast re-authentication.
  171. # Normally, there is no need to disable this.
  172. fast_reauth=1
  173.  
  174. #Disable the default behavior of adding a separate interface for the P2P
  175. #group when driver support for concurrent interfaces is available.
  176. p2p_no_group_iface=1
  177. # OpenSSL Engine support
  178. # These options can be used to load OpenSSL engines.
  179. # The two engines that are supported currently are shown below:
  180. # They are both from the opensc project (http://www.opensc.org/)
  181. # By default no engines are loaded.
  182. # make the opensc engine available
  183. #opensc_engine_path=/usr/lib/opensc/engine_opensc.so
  184. # make the pkcs11 engine available
  185. #pkcs11_engine_path=/usr/lib/opensc/engine_pkcs11.so
  186. # configure the path to the pkcs11 module required by the pkcs11 engine
  187. #pkcs11_module_path=/usr/lib/pkcs11/opensc-pkcs11.so
  188.  
  189. # Dynamic EAP methods
  190. # If EAP methods were built dynamically as shared object files, they need to be
  191. # loaded here before being used in the network blocks. By default, EAP methods
  192. # are included statically in the build, so these lines are not needed
  193. #load_dynamic_eap=/usr/lib/wpa_supplicant/eap_tls.so
  194. #load_dynamic_eap=/usr/lib/wpa_supplicant/eap_md5.so
  195.  
  196. # Driver interface parameters
  197. # This field can be used to configure arbitrary driver interace parameters. The
  198. # format is specific to the selected driver interface. This field is not used
  199. # in most cases.
  200. #driver_param="field=value"
  201.  
  202. # Country code
  203. # The ISO/IEC alpha2 country code for the country in which this device is
  204. # currently operating.
  205. #country=US
  206.  
  207. # Maximum lifetime for PMKSA in seconds; default 43200
  208. #dot11RSNAConfigPMKLifetime=43200
  209. # Threshold for reauthentication (percentage of PMK lifetime); default 70
  210. #dot11RSNAConfigPMKReauthThreshold=70
  211. # Timeout for security association negotiation in seconds; default 60
  212. #dot11RSNAConfigSATimeout=60
  213.  
  214. # Wi-Fi Direct
  215. p2p_disabled=1
  216.  
  217. # Wi-Fi Protected Setup (WPS) parameters
  218.  
  219. # Universally Unique IDentifier (UUID; see RFC 4122) of the device
  220. # If not configured, UUID will be generated based on the local MAC address.
  221. #uuid=12345678-9abc-def0-1234-56789abcdef0
  222.  
  223. # Device Name
  224. # User-friendly description of device; up to 32 octets encoded in UTF-8
  225. #device_name=Wireless Client
  226.  
  227. # Manufacturer
  228. # The manufacturer of the device (up to 64 ASCII characters)
  229. #manufacturer=Company
  230.  
  231. # Model Name
  232. # Model of the device (up to 32 ASCII characters)
  233. #model_name=cmodel
  234.  
  235. # Model Number
  236. # Additional device description (up to 32 ASCII characters)
  237. #model_number=123
  238.  
  239. # Serial Number
  240. # Serial number of the device (up to 32 characters)
  241. #serial_number=12345
  242.  
  243. # Primary Device Type
  244. # Used format: <categ>-<OUI>-<subcateg>
  245. # categ = Category as an integer value
  246. # OUI = OUI and type octet as a 4-octet hex-encoded value; 0050F204 for
  247. # default WPS OUI
  248. # subcateg = OUI-specific Sub Category as an integer value
  249. # Examples:
  250. # 1-0050F204-1 (Computer / PC)
  251. # 1-0050F204-2 (Computer / Server)
  252. # 5-0050F204-1 (Storage / NAS)
  253. # 6-0050F204-1 (Network Infrastructure / AP)
  254. #device_type=1-0050F204-1
  255.  
  256. # OS Version
  257. # 4-octet operating system version number (hex string)
  258. #os_version=01020300
  259.  
  260. # Credential processing
  261. # 0 = process received credentials internally (default)
  262. # 1 = do not process received credentials; just pass them over ctrl_iface to
  263. # external program(s)
  264. # 2 = process received credentials internally and pass them over ctrl_iface
  265. # to external program(s)
  266. #wps_cred_processing=0
  267.  
  268. # network block
  269. #
  270. # Each network (usually AP's sharing the same SSID) is configured as a separate
  271. # block in this configuration file. The network blocks are in preference order
  272. # (the first match is used).
  273. #
  274. # network block fields:
  275. #
  276. # disabled:
  277. # 0 = this network can be used (default)
  278. # 1 = this network block is disabled (can be enabled through ctrl_iface,
  279. # e.g., with wpa_cli or wpa_gui)
  280. #
  281. # id_str: Network identifier string for external scripts. This value is passed
  282. # to external action script through wpa_cli as WPA_ID_STR environment
  283. # variable to make it easier to do network specific configuration.
  284. #
  285. # ssid: SSID (mandatory); either as an ASCII string with double quotation or
  286. # as hex string; network name
  287. #
  288. # scan_ssid:
  289. # 0 = do not scan this SSID with specific Probe Request frames (default)
  290. # 1 = scan with SSID-specific Probe Request frames (this can be used to
  291. # find APs that do not accept broadcast SSID or use multiple SSIDs;
  292. # this will add latency to scanning, so enable this only when needed)
  293. #
  294. # bssid: BSSID (optional); if set, this network block is used only when
  295. # associating with the AP using the configured BSSID
  296. #
  297. # priority: priority group (integer)
  298. # By default, all networks will get same priority group (0). If some of the
  299. # networks are more desirable, this field can be used to change the order in
  300. # which wpa_supplicant goes through the networks when selecting a BSS. The
  301. # priority groups will be iterated in decreasing priority (i.e., the larger the
  302. # priority value, the sooner the network is matched against the scan results).
  303. # Within each priority group, networks will be selected based on security
  304. # policy, signal strength, etc.
  305. # Please note that AP scanning with scan_ssid=1 and ap_scan=2 mode are not
  306. # using this priority to select the order for scanning. Instead, they try the
  307. # networks in the order that used in the configuration file.
  308. #
  309. # mode: IEEE 802.11 operation mode
  310. # 0 = infrastructure (Managed) mode, i.e., associate with an AP (default)
  311. # 1 = IBSS (ad-hoc, peer-to-peer)
  312. # Note: IBSS can only be used with key_mgmt NONE (plaintext and static WEP)
  313. # and key_mgmt=WPA-NONE (fixed group key TKIP/CCMP). In addition, ap_scan has
  314. # to be set to 2 for IBSS. WPA-None requires following network block options:
  315. # proto=WPA, key_mgmt=WPA-NONE, pairwise=NONE, group=TKIP (or CCMP, but not
  316. # both), and psk must also be set.
  317. #
  318. # frequency: Channel frequency in megahertz (MHz) for IBSS, e.g.,
  319. # 2412 = IEEE 802.11b/g channel 1. This value is used to configure the initial
  320. # channel for IBSS (adhoc) networks. It is ignored in the infrastructure mode.
  321. # In addition, this value is only used by the station that creates the IBSS. If
  322. # an IBSS network with the configured SSID is already present, the frequency of
  323. # the network will be used instead of this configured value.
  324. #
  325. # proto: list of accepted protocols
  326. # WPA = WPA/IEEE 802.11i/D3.0
  327. # RSN = WPA2/IEEE 802.11i (also WPA2 can be used as an alias for RSN)
  328. # If not set, this defaults to: WPA RSN
  329. #
  330. # key_mgmt: list of accepted authenticated key management protocols
  331. # WPA-PSK = WPA pre-shared key (this requires 'psk' field)
  332. # WPA-EAP = WPA using EAP authentication
  333. # IEEE8021X = IEEE 802.1X using EAP authentication and (optionally) dynamically
  334. # generated WEP keys
  335. # NONE = WPA is not used; plaintext or static WEP could be used
  336. # WPA-PSK-SHA256 = Like WPA-PSK but using stronger SHA256-based algorithms
  337. # WPA-EAP-SHA256 = Like WPA-EAP but using stronger SHA256-based algorithms
  338. # If not set, this defaults to: WPA-PSK WPA-EAP
  339. #
  340. # auth_alg: list of allowed IEEE 802.11 authentication algorithms
  341. # OPEN = Open System authentication (required for WPA/WPA2)
  342. # SHARED = Shared Key authentication (requires static WEP keys)
  343. # LEAP = LEAP/Network EAP (only used with LEAP)
  344. # If not set, automatic selection is used (Open System with LEAP enabled if
  345. # LEAP is allowed as one of the EAP methods).
  346. #
  347. # pairwise: list of accepted pairwise (unicast) ciphers for WPA
  348. # CCMP = AES in Counter mode with CBC-MAC [RFC 3610, IEEE 802.11i/D7.0]
  349. # TKIP = Temporal Key Integrity Protocol [IEEE 802.11i/D7.0]
  350. # NONE = Use only Group Keys (deprecated, should not be included if APs support
  351. # pairwise keys)
  352. # If not set, this defaults to: CCMP TKIP
  353. #
  354. # group: list of accepted group (broadcast/multicast) ciphers for WPA
  355. # CCMP = AES in Counter mode with CBC-MAC [RFC 3610, IEEE 802.11i/D7.0]
  356. # TKIP = Temporal Key Integrity Protocol [IEEE 802.11i/D7.0]
  357. # WEP104 = WEP (Wired Equivalent Privacy) with 104-bit key
  358. # WEP40 = WEP (Wired Equivalent Privacy) with 40-bit key [IEEE 802.11]
  359. # If not set, this defaults to: CCMP TKIP WEP104 WEP40
  360. #
  361. # psk: WPA preshared key; 256-bit pre-shared key
  362. # The key used in WPA-PSK mode can be entered either as 64 hex-digits, i.e.,
  363. # 32 bytes or as an ASCII passphrase (in which case, the real PSK will be
  364. # generated using the passphrase and SSID). ASCII passphrase must be between
  365. # 8 and 63 characters (inclusive).
  366. # This field is not needed, if WPA-EAP is used.
  367. # Note: Separate tool, wpa_passphrase, can be used to generate 256-bit keys
  368. # from ASCII passphrase. This process uses lot of CPU and wpa_supplicant
  369. # startup and reconfiguration time can be optimized by generating the PSK only
  370. # only when the passphrase or SSID has actually changed.
  371. #
  372. # eapol_flags: IEEE 802.1X/EAPOL options (bit field)
  373. # Dynamic WEP key required for non-WPA mode
  374. # bit0 (1): require dynamically generated unicast WEP key
  375. # bit1 (2): require dynamically generated broadcast WEP key
  376. # (3 = require both keys; default)
  377. # Note: When using wired authentication, eapol_flags must be set to 0 for the
  378. # authentication to be completed successfully.
  379. #
  380. # mixed_cell: This option can be used to configure whether so called mixed
  381. # cells, i.e., networks that use both plaintext and encryption in the same
  382. # SSID, are allowed when selecting a BSS form scan results.
  383. # 0 = disabled (default)
  384. # 1 = enabled
  385. #
  386. # proactive_key_caching:
  387. # Enable/disable opportunistic PMKSA caching for WPA2.
  388. # 0 = disabled (default)
  389. # 1 = enabled
  390. #
  391. # wep_key0..3: Static WEP key (ASCII in double quotation, e.g. "abcde" or
  392. # hex without quotation, e.g., 0102030405)
  393. # wep_tx_keyidx: Default WEP key index (TX) (0..3)
  394. #
  395. # peerkey: Whether PeerKey negotiation for direct links (IEEE 802.11e DLS) is
  396. # allowed. This is only used with RSN/WPA2.
  397. # 0 = disabled (default)
  398. # 1 = enabled
  399. #peerkey=1
  400. #
  401. # wpa_ptk_rekey: Maximum lifetime for PTK in seconds. This can be used to
  402. # enforce rekeying of PTK to mitigate some attacks against TKIP deficiencies.
  403. #
  404. # Following fields are only used with internal EAP implementation.
  405. # eap: space-separated list of accepted EAP methods
  406. # MD5 = EAP-MD5 (unsecure and does not generate keying material ->
  407. # cannot be used with WPA; to be used as a Phase 2 method
  408. # with EAP-PEAP or EAP-TTLS)
  409. # MSCHAPV2 = EAP-MSCHAPv2 (cannot be used separately with WPA; to be used
  410. # as a Phase 2 method with EAP-PEAP or EAP-TTLS)
  411. # OTP = EAP-OTP (cannot be used separately with WPA; to be used
  412. # as a Phase 2 method with EAP-PEAP or EAP-TTLS)
  413. # GTC = EAP-GTC (cannot be used separately with WPA; to be used
  414. # as a Phase 2 method with EAP-PEAP or EAP-TTLS)
  415. # TLS = EAP-TLS (client and server certificate)
  416. # PEAP = EAP-PEAP (with tunnelled EAP authentication)
  417. # TTLS = EAP-TTLS (with tunnelled EAP or PAP/CHAP/MSCHAP/MSCHAPV2
  418. # authentication)
  419. # If not set, all compiled in methods are allowed.
  420. #
  421. # identity: Identity string for EAP
  422. # This field is also used to configure user NAI for
  423. # EAP-PSK/PAX/SAKE/GPSK.
  424. # anonymous_identity: Anonymous identity string for EAP (to be used as the
  425. # unencrypted identity with EAP types that support different tunnelled
  426. # identity, e.g., EAP-TTLS)
  427. # password: Password string for EAP. This field can include either the
  428. # plaintext password (using ASCII or hex string) or a NtPasswordHash
  429. # (16-byte MD4 hash of password) in hash:<32 hex digits> format.
  430. # NtPasswordHash can only be used when the password is for MSCHAPv2 or
  431. # MSCHAP (EAP-MSCHAPv2, EAP-TTLS/MSCHAPv2, EAP-TTLS/MSCHAP, LEAP).
  432. # EAP-PSK (128-bit PSK), EAP-PAX (128-bit PSK), and EAP-SAKE (256-bit
  433. # PSK) is also configured using this field. For EAP-GPSK, this is a
  434. # variable length PSK.
  435. # ca_cert: File path to CA certificate file (PEM/DER). This file can have one
  436. # or more trusted CA certificates. If ca_cert and ca_path are not
  437. # included, server certificate will not be verified. This is insecure and
  438. # a trusted CA certificate should always be configured when using
  439. # EAP-TLS/TTLS/PEAP. Full path should be used since working directory may
  440. # change when wpa_supplicant is run in the background.
  441. # On Windows, trusted CA certificates can be loaded from the system
  442. # certificate store by setting this to cert_store://<name>, e.g.,
  443. # ca_cert="cert_store://CA" or ca_cert="cert_store://ROOT".
  444. # Note that when running wpa_supplicant as an application, the user
  445. # certificate store (My user account) is used, whereas computer store
  446. # (Computer account) is used when running wpasvc as a service.
  447. # ca_path: Directory path for CA certificate files (PEM). This path may
  448. # contain multiple CA certificates in OpenSSL format. Common use for this
  449. # is to point to system trusted CA list which is often installed into
  450. # directory like /etc/ssl/certs. If configured, these certificates are
  451. # added to the list of trusted CAs. ca_cert may also be included in that
  452. # case, but it is not required.
  453. # client_cert: File path to client certificate file (PEM/DER)
  454. # Full path should be used since working directory may change when
  455. # wpa_supplicant is run in the background.
  456. # Alternatively, a named configuration blob can be used by setting this
  457. # to blob://<blob name>.
  458. # private_key: File path to client private key file (PEM/DER/PFX)
  459. # When PKCS#12/PFX file (.p12/.pfx) is used, client_cert should be
  460. # commented out. Both the private key and certificate will be read from
  461. # the PKCS#12 file in this case. Full path should be used since working
  462. # directory may change when wpa_supplicant is run in the background.
  463. # Windows certificate store can be used by leaving client_cert out and
  464. # configuring private_key in one of the following formats:
  465. # cert://substring_to_match
  466. # hash://certificate_thumbprint_in_hex
  467. # for example: private_key="hash://63093aa9c47f56ae88334c7b65a4"
  468. # Note that when running wpa_supplicant as an application, the user
  469. # certificate store (My user account) is used, whereas computer store
  470. # (Computer account) is used when running wpasvc as a service.
  471. # Alternatively, a named configuration blob can be used by setting this
  472. # to blob://<blob name>.
  473. # private_key_passwd: Password for private key file (if left out, this will be
  474. # asked through control interface)
  475. # dh_file: File path to DH/DSA parameters file (in PEM format)
  476. # This is an optional configuration file for setting parameters for an
  477. # ephemeral DH key exchange. In most cases, the default RSA
  478. # authentication does not use this configuration. However, it is possible
  479. # setup RSA to use ephemeral DH key exchange. In addition, ciphers with
  480. # DSA keys always use ephemeral DH keys. This can be used to achieve
  481. # forward secrecy. If the file is in DSA parameters format, it will be
  482. # automatically converted into DH params.
  483. # subject_match: Substring to be matched against the subject of the
  484. # authentication server certificate. If this string is set, the server
  485. # sertificate is only accepted if it contains this string in the subject.
  486. # The subject string is in following format:
  487. # /C=US/ST=CA/L=San Francisco/CN=Test AS/emailAddress=as@example.com
  488. # altsubject_match: Semicolon separated string of entries to be matched against
  489. # the alternative subject name of the authentication server certificate.
  490. # If this string is set, the server sertificate is only accepted if it
  491. # contains one of the entries in an alternative subject name extension.
  492. # altSubjectName string is in following format: TYPE:VALUE
  493. # Example: EMAIL:server@example.com
  494. # Example: DNS:server.example.com;DNS:server2.example.com
  495. # Following types are supported: EMAIL, DNS, URI
  496. # phase1: Phase1 (outer authentication, i.e., TLS tunnel) parameters
  497. # (string with field-value pairs, e.g., "peapver=0" or
  498. # "peapver=1 peaplabel=1")
  499. # 'peapver' can be used to force which PEAP version (0 or 1) is used.
  500. # 'peaplabel=1' can be used to force new label, "client PEAP encryption",
  501. # to be used during key derivation when PEAPv1 or newer. Most existing
  502. # PEAPv1 implementation seem to be using the old label, "client EAP
  503. # encryption", and wpa_supplicant is now using that as the default value.
  504. # Some servers, e.g., Radiator, may require peaplabel=1 configuration to
  505. # interoperate with PEAPv1; see eap_testing.txt for more details.
  506. # 'peap_outer_success=0' can be used to terminate PEAP authentication on
  507. # tunneled EAP-Success. This is required with some RADIUS servers that
  508. # implement draft-josefsson-pppext-eap-tls-eap-05.txt (e.g.,
  509. # Lucent NavisRadius v4.4.0 with PEAP in "IETF Draft 5" mode)
  510. # include_tls_length=1 can be used to force wpa_supplicant to include
  511. # TLS Message Length field in all TLS messages even if they are not
  512. # fragmented.
  513. # sim_min_num_chal=3 can be used to configure EAP-SIM to require three
  514. # challenges (by default, it accepts 2 or 3)
  515. # result_ind=1 can be used to enable EAP-SIM and EAP-AKA to use
  516. # protected result indication.
  517. # 'crypto_binding' option can be used to control PEAPv0 cryptobinding
  518. # behavior:
  519. # * 0 = do not use cryptobinding (default)
  520. # * 1 = use cryptobinding if server supports it
  521. # * 2 = require cryptobinding
  522. # EAP-WSC (WPS) uses following options: pin=<Device Password> or
  523. # pbc=1.
  524. # phase2: Phase2 (inner authentication with TLS tunnel) parameters
  525. # (string with field-value pairs, e.g., "auth=MSCHAPV2" for EAP-PEAP or
  526. # "autheap=MSCHAPV2 autheap=MD5" for EAP-TTLS)
  527. # Following certificate/private key fields are used in inner Phase2
  528. # authentication when using EAP-TTLS or EAP-PEAP.
  529. # ca_cert2: File path to CA certificate file. This file can have one or more
  530. # trusted CA certificates. If ca_cert2 and ca_path2 are not included,
  531. # server certificate will not be verified. This is insecure and a trusted
  532. # CA certificate should always be configured.
  533. # ca_path2: Directory path for CA certificate files (PEM)
  534. # client_cert2: File path to client certificate file
  535. # private_key2: File path to client private key file
  536. # private_key2_passwd: Password for private key file
  537. # dh_file2: File path to DH/DSA parameters file (in PEM format)
  538. # subject_match2: Substring to be matched against the subject of the
  539. # authentication server certificate.
  540. # altsubject_match2: Substring to be matched against the alternative subject
  541. # name of the authentication server certificate.
  542. #
  543. # fragment_size: Maximum EAP fragment size in bytes (default 1398).
  544. # This value limits the fragment size for EAP methods that support
  545. # fragmentation (e.g., EAP-TLS and EAP-PEAP). This value should be set
  546. # small enough to make the EAP messages fit in MTU of the network
  547. # interface used for EAPOL. The default value is suitable for most
  548. # cases.
  549. #
  550. # EAP-FAST variables:
  551. # pac_file: File path for the PAC entries. wpa_supplicant will need to be able
  552. # to create this file and write updates to it when PAC is being
  553. # provisioned or refreshed. Full path to the file should be used since
  554. # working directory may change when wpa_supplicant is run in the
  555. # background. Alternatively, a named configuration blob can be used by
  556. # setting this to blob://<blob name>
  557. # phase1: fast_provisioning option can be used to enable in-line provisioning
  558. # of EAP-FAST credentials (PAC):
  559. # 0 = disabled,
  560. # 1 = allow unauthenticated provisioning,
  561. # 2 = allow authenticated provisioning,
  562. # 3 = allow both unauthenticated and authenticated provisioning
  563. # fast_max_pac_list_len=<num> option can be used to set the maximum
  564. # number of PAC entries to store in a PAC list (default: 10)
  565. # fast_pac_format=binary option can be used to select binary format for
  566. # storing PAC entries in order to save some space (the default
  567. # text format uses about 2.5 times the size of minimal binary
  568. # format)
  569. #
  570. # wpa_supplicant supports number of "EAP workarounds" to work around
  571. # interoperability issues with incorrectly behaving authentication servers.
  572. # These are enabled by default because some of the issues are present in large
  573. # number of authentication servers. Strict EAP conformance mode can be
  574. # configured by disabling workarounds with eap_workaround=0.
  575.  
  576. # Example blocks:
  577.  
  578. # Simple case: WPA-PSK, PSK as an ASCII passphrase, allow all valid ciphers
  579. #network={
  580. # ssid="simple"
  581. # psk="very secret passphrase"
  582. # priority=5
  583. #}
  584. #
  585. ## Same as previous, but request SSID-specific scanning (for APs that reject
  586. ## broadcast SSID)
  587. #network={
  588. # ssid="second ssid"
  589. # scan_ssid=1
  590. # psk="very secret passphrase"
  591. # priority=2
  592. #}
  593. #
  594. ## Only WPA-PSK is used. Any valid cipher combination is accepted.
  595. #network={
  596. # ssid="example"
  597. # proto=WPA
  598. # key_mgmt=WPA-PSK
  599. # pairwise=CCMP TKIP
  600. # group=CCMP TKIP WEP104 WEP40
  601. # psk=06b4be19da289f475aa46a33cb793029d4ab3db7a23ee92382eb0106c72ac7bb
  602. # priority=2
  603. #}
  604. #
  605. ## WPA-Personal(PSK) with TKIP and enforcement for frequent PTK rekeying
  606. #network={
  607. # ssid="example"
  608. # proto=WPA
  609. # key_mgmt=WPA-PSK
  610. # pairwise=TKIP
  611. # group=TKIP
  612. # psk="not so secure passphrase"
  613. # wpa_ptk_rekey=600
  614. #}
  615. #
  616. ## Only WPA-EAP is used. Both CCMP and TKIP is accepted. An AP that used WEP104
  617. ## or WEP40 as the group cipher will not be accepted.
  618. #network={
  619. # ssid="example"
  620. # proto=RSN
  621. # key_mgmt=WPA-EAP
  622. # pairwise=CCMP TKIP
  623. # group=CCMP TKIP
  624. # eap=TLS
  625. # identity="user@example.com"
  626. # ca_cert="/etc/cert/ca.pem"
  627. # client_cert="/etc/cert/user.pem"
  628. # private_key="/etc/cert/user.prv"
  629. # private_key_passwd="password"
  630. # priority=1
  631. #}
  632. #
  633. ## EAP-PEAP/MSCHAPv2 configuration for RADIUS servers that use the new peaplabel
  634. ## (e.g., Radiator)
  635. #network={
  636. # ssid="example"
  637. # key_mgmt=WPA-EAP
  638. # eap=PEAP
  639. # identity="user@example.com"
  640. # password="foobar"
  641. # ca_cert="/etc/cert/ca.pem"
  642. # phase1="peaplabel=1"
  643. # phase2="auth=MSCHAPV2"
  644. # priority=10
  645. #}
  646. #
  647. ## EAP-TTLS/EAP-MD5-Challenge configuration with anonymous identity for the
  648. ## unencrypted use. Real identity is sent only within an encrypted TLS tunnel.
  649. #network={
  650. # ssid="example"
  651. # key_mgmt=WPA-EAP
  652. # eap=TTLS
  653. # identity="user@example.com"
  654. # anonymous_identity="anonymous@example.com"
  655. # password="foobar"
  656. # ca_cert="/etc/cert/ca.pem"
  657. # priority=2
  658. #}
  659. #
  660. ## EAP-TTLS/MSCHAPv2 configuration with anonymous identity for the unencrypted
  661. ## use. Real identity is sent only within an encrypted TLS tunnel.
  662. #network={
  663. # ssid="example"
  664. # key_mgmt=WPA-EAP
  665. # eap=TTLS
  666. # identity="user@example.com"
  667. # anonymous_identity="anonymous@example.com"
  668. # password="foobar"
  669. # ca_cert="/etc/cert/ca.pem"
  670. # phase2="auth=MSCHAPV2"
  671. #}
  672. #
  673. ## WPA-EAP, EAP-TTLS with different CA certificate used for outer and inner
  674. ## authentication.
  675. #network={
  676. # ssid="example"
  677. # key_mgmt=WPA-EAP
  678. # eap=TTLS
  679. # # Phase1 / outer authentication
  680. # anonymous_identity="anonymous@example.com"
  681. # ca_cert="/etc/cert/ca.pem"
  682. # # Phase 2 / inner authentication
  683. # phase2="autheap=TLS"
  684. # ca_cert2="/etc/cert/ca2.pem"
  685. # client_cert2="/etc/cer/user.pem"
  686. # private_key2="/etc/cer/user.prv"
  687. # private_key2_passwd="password"
  688. # priority=2
  689. #}
  690. #
  691. ## Both WPA-PSK and WPA-EAP is accepted. Only CCMP is accepted as pairwise and
  692. ## group cipher.
  693. #network={
  694. # ssid="example"
  695. # bssid=00:11:22:33:44:55
  696. # proto=WPA RSN
  697. # key_mgmt=WPA-PSK WPA-EAP
  698. # pairwise=CCMP
  699. # group=CCMP
  700. # psk=06b4be19da289f475aa46a33cb793029d4ab3db7a23ee92382eb0106c72ac7bb
  701. #}
  702. #
  703. ## Special characters in SSID, so use hex string. Default to WPA-PSK, WPA-EAP
  704. ## and all valid ciphers.
  705. #network={
  706. # ssid=00010203
  707. # psk=000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
  708. #}
  709. #
  710. #
  711. ## EAP-SIM with a GSM SIM or USIM
  712. #network={
  713. # ssid="eap-sim-test"
  714. # key_mgmt=WPA-EAP
  715. # eap=SIM
  716. # pin="1234"
  717. # pcsc=""
  718. #}
  719. #
  720. #
  721. ## EAP-PSK
  722. #network={
  723. # ssid="eap-psk-test"
  724. # key_mgmt=WPA-EAP
  725. # eap=PSK
  726. # anonymous_identity="eap_psk_user"
  727. # password=06b4be19da289f475aa46a33cb793029
  728. # identity="eap_psk_user@example.com"
  729. #}
  730. #
  731. #
  732. ## IEEE 802.1X/EAPOL with dynamically generated WEP keys (i.e., no WPA) using
  733. ## EAP-TLS for authentication and key generation; require both unicast and
  734. ## broadcast WEP keys.
  735. #network={
  736. # ssid="1x-test"
  737. # key_mgmt=IEEE8021X
  738. # eap=TLS
  739. # identity="user@example.com"
  740. # ca_cert="/etc/cert/ca.pem"
  741. # client_cert="/etc/cert/user.pem"
  742. # private_key="/etc/cert/user.prv"
  743. # private_key_passwd="password"
  744. # eapol_flags=3
  745. #}
  746. #
  747. #
  748. ## LEAP with dynamic WEP keys
  749. #network={
  750. # ssid="leap-example"
  751. # key_mgmt=IEEE8021X
  752. # eap=LEAP
  753. # identity="user"
  754. # password="foobar"
  755. #}
  756. #
  757. ## EAP-IKEv2 using shared secrets for both server and peer authentication
  758. #network={
  759. # ssid="ikev2-example"
  760. # key_mgmt=WPA-EAP
  761. # eap=IKEV2
  762. # identity="user"
  763. # password="foobar"
  764. #}
  765. #
  766. ## EAP-FAST with WPA (WPA or WPA2)
  767. #network={
  768. # ssid="eap-fast-test"
  769. # key_mgmt=WPA-EAP
  770. # eap=FAST
  771. # anonymous_identity="FAST-000102030405"
  772. # identity="username"
  773. # password="password"
  774. # phase1="fast_provisioning=1"
  775. # pac_file="/etc/wpa_supplicant.eap-fast-pac"
  776. #}
  777. #
  778. #network={
  779. # ssid="eap-fast-test"
  780. # key_mgmt=WPA-EAP
  781. # eap=FAST
  782. # anonymous_identity="FAST-000102030405"
  783. # identity="username"
  784. # password="password"
  785. # phase1="fast_provisioning=1"
  786. # pac_file="blob://eap-fast-pac"
  787. #}
  788. #
  789. ## Plaintext connection (no WPA, no IEEE 802.1X)
  790. #network={
  791. # ssid="plaintext-test"
  792. # key_mgmt=NONE
  793. #}
  794. #
  795. #
  796. ## Shared WEP key connection (no WPA, no IEEE 802.1X)
  797. #network={
  798. # ssid="static-wep-test"
  799. # key_mgmt=NONE
  800. # wep_key0="abcde"
  801. # wep_key1=0102030405
  802. # wep_key2="1234567890123"
  803. # wep_tx_keyidx=0
  804. # priority=5
  805. #}
  806. #
  807. #
  808. ## Shared WEP key connection (no WPA, no IEEE 802.1X) using Shared Key
  809. ## IEEE 802.11 authentication
  810. #network={
  811. # ssid="static-wep-test2"
  812. # key_mgmt=NONE
  813. # wep_key0="abcde"
  814. # wep_key1=0102030405
  815. # wep_key2="1234567890123"
  816. # wep_tx_keyidx=0
  817. # priority=5
  818. # auth_alg=SHARED
  819. #}
  820. #
  821. #
  822. ## IBSS/ad-hoc network with WPA-None/TKIP.
  823. #network={
  824. # ssid="test adhoc"
  825. # mode=1
  826. # frequency=2412
  827. # proto=WPA
  828. # key_mgmt=WPA-NONE
  829. # pairwise=NONE
  830. # group=TKIP
  831. # psk="secret passphrase"
  832. #}
  833. #
  834. #
  835. ## Catch all example that allows more or less all configuration modes
  836. #network={
  837. # ssid="example"
  838. # scan_ssid=1
  839. # key_mgmt=WPA-EAP WPA-PSK IEEE8021X NONE
  840. # pairwise=CCMP TKIP
  841. # group=CCMP TKIP WEP104 WEP40
  842. # psk="very secret passphrase"
  843. # eap=TTLS PEAP TLS
  844. # identity="user@example.com"
  845. # password="foobar"
  846. # ca_cert="/etc/cert/ca.pem"
  847. # client_cert="/etc/cert/user.pem"
  848. # private_key="/etc/cert/user.prv"
  849. # private_key_passwd="password"
  850. # phase1="peaplabel=0"
  851. #}
  852. #
  853. ## Example of EAP-TLS with smartcard (openssl engine)
  854. #network={
  855. # ssid="example"
  856. # key_mgmt=WPA-EAP
  857. # eap=TLS
  858. # proto=RSN
  859. # pairwise=CCMP TKIP
  860. # group=CCMP TKIP
  861. # identity="user@example.com"
  862. # ca_cert="/etc/cert/ca.pem"
  863. # client_cert="/etc/cert/user.pem"
  864. #
  865. # engine=1
  866. #
  867. # # The engine configured here must be available. Look at
  868. # # OpenSSL engine support in the global section.
  869. # # The key available through the engine must be the private key
  870. # # matching the client certificate configured above.
  871. #
  872. # # use the opensc engine
  873. # #engine_id="opensc"
  874. # #key_id="45"
  875. #
  876. # # use the pkcs11 engine
  877. # engine_id="pkcs11"
  878. # key_id="id_45"
  879. #
  880. # # Optional PIN configuration; this can be left out and PIN will be
  881. # # asked through the control interface
  882. # pin="1234"
  883. #}
  884. #
  885. ## Example configuration showing how to use an inlined blob as a CA certificate
  886. ## data instead of using external file
  887. #network={
  888. # ssid="example"
  889. # key_mgmt=WPA-EAP
  890. # eap=TTLS
  891. # identity="user@example.com"
  892. # anonymous_identity="anonymous@example.com"
  893. # password="foobar"
  894. # ca_cert="blob://exampleblob"
  895. # priority=20
  896. #}
  897. #
  898. #blob-base64-exampleblob={
  899. #SGVsbG8gV29ybGQhCg==
  900. #}
  901.  
  902.  
  903. # Wildcard match for SSID (plaintext APs only). This example select any
  904. # open AP regardless of its SSID.
  905. #network={
  906. # key_mgmt=NONE
  907. #}
Add Comment
Please, Sign In to add comment