/usr/local/sbin/wpa_cli: invalid option -- '-' wpa_cli [-p] [-i] [-hvBr] [-a] \ [-P] [-g] [-G] \ [-s] [command..] -h = help (show this usage text) -v = shown version information -a = run in daemon mode executing the action file based on events from wpa_supplicant -r = try to reconnect when client socket is disconnected. This is useful only when used with -a. -B = run a daemon in the background default path: /var/run/wpa_supplicant default interface: first interface found in socket path commands: status [verbose] = get current WPA/EAPOL/EAP status ifname = get current interface name ping = pings wpa_supplicant relog = re-open log-file (allow rolling logs) note = add a note to wpa_supplicant debug log mib = get MIB variables (dot1x, dot11) help [command] = show usage help interface [ifname] = show interfaces/select interface level = change debug level license = show full wpa_cli license quit = exit wpa_cli set = set variables (shows list of variables when run without arguments) dump = dump config variables get = get information driver_flags = list driver flags driver_flags2 = list driver flags2 logon = IEEE 802.1X EAPOL state machine logon logoff = IEEE 802.1X EAPOL state machine logoff pmksa = show PMKSA cache pmksa_flush = flush PMKSA cache entries reassociate = force reassociation reattach = force reassociation back to the same BSS preauthenticate = force preauthentication identity = configure identity for an SSID password = configure password for an SSID new_password = change password for an SSID pin = configure pin for an SSID otp = configure one-time-password for an SSID psk_passphrase = configure PSK/passphrase for an SSID passphrase = configure private key passphrase for an SSID sim = report SIM operation result bssid = set preferred BSSID for an SSID bssid_ignore = add a BSSID to the list of temporarily ignored BSSs bssid_ignore clear = clear the list of temporarily ignored BSSIDs bssid_ignore = display the list of temporarily ignored BSSIDs blacklist = deprecated alias for bssid_ignore log_level [] = update the log level/timestamp log_level = display the current log level and log options list_networks = list configured networks select_network = select a network (disable others) enable_network = enable a network disable_network = disable a network add_network = add a network remove_network = remove a network set_network = set network variables (shows list of variables when run without arguments) get_network = get network variables dup_network = duplicate network variables list_creds = list configured credentials add_cred = add a credential remove_cred = remove a credential set_cred = set credential variables get_cred = get credential variables save_config = save the current configuration disconnect = disconnect and wait for reassociate/reconnect command before connecting reconnect = like reassociate, but only takes effect if already disconnected scan = request new BSS scan scan_results = get latest scan results abort_scan = request ongoing scan to be aborted bss < | > = get detailed scan result info get_capability = get capabilities reconfigure = force wpa_supplicant to re-read its configuration file terminate = terminate wpa_supplicant interface_add = adds new interface, all parameters but are optional. Supported types are station ('sta') and AP ('ap') interface_remove = removes the interface interface_list = list available interfaces ap_scan = set ap_scan parameter scan_interval = set scan_interval parameter (in seconds) bss_expire_age = set BSS expiration age parameter bss_expire_count = set BSS expiration scan count parameter bss_flush = set BSS flush age (0 by default) ft_ds = request over-the-DS FT with wps_pbc [BSSID] = start Wi-Fi Protected Setup: Push Button Configuration wps_pin [PIN] = start WPS PIN method (returns PIN, if not hardcoded) wps_check_pin = verify PIN checksum wps_cancel Cancels the pending WPS operation wps_reg = start WPS Registrar to configure an AP wps_ap_pin [params..] = enable/disable AP PIN wps_er_start [IP address] = start Wi-Fi Protected Setup External Registrar wps_er_stop = stop Wi-Fi Protected Setup External Registrar wps_er_pin = add an Enrollee PIN to External Registrar wps_er_pbc = accept an Enrollee PBC using External Registrar wps_er_learn = learn AP configuration wps_er_set_config = set AP configuration for enrolling wps_er_config = configure AP ibss_rsn = request RSN authentication with in IBSS sta = get information about an associated station (AP) all_sta = get information about all associated stations (AP) list_sta = list all stations (AP) deauthenticate = deauthenticate a station disassociate = disassociate a station chan_switch [sec_channel_offset=] [center_freq1=] [center_freq2=] [bandwidth=] [blocktx] [ht|vht] = CSA parameters update_beacon = update Beacon frame contents accept_acl =Add/Delete/Show/Clear allow MAC ACL deny_acl =Add/Delete/Show/Clear deny MAC ACL suspend = notification of suspend/hibernate resume = notification of resume/thaw roam = roam to the specified BSS p2p_find [timeout] [type=*] = find P2P Devices for up-to timeout seconds p2p_stop_find = stop P2P Devices search p2p_asp_provision adv_id= conncap= [info=] = provision with a P2P ASP Device p2p_asp_provision_resp adv_id= [role] [info=] = provision with a P2P ASP Device p2p_connect <"pbc"|PIN> [ht40] = connect to a P2P Device p2p_listen [timeout] = listen for P2P Devices for up-to timeout seconds p2p_group_remove = remove P2P group interface (terminate group if GO) p2p_group_add [ht40] = add a new P2P group (local end as GO) p2p_group_member = Get peer interface address on local GO using peer Device Address p2p_prov_disc = request provisioning discovery p2p_get_passphrase = get the passphrase for a group (GO only) p2p_serv_disc_req = schedule service discovery request p2p_serv_disc_cancel_req = cancel pending service discovery request p2p_serv_disc_resp = service discovery response p2p_service_update = indicate change in local services p2p_serv_disc_external = set external processing of service discovery p2p_service_flush = remove all stored service entries p2p_service_add = add a local service p2p_service_rep asp [] = replace local ASP service p2p_service_del [|service] = remove a local service p2p_reject = reject connection attempts from a specific peer p2p_invite [peer=addr] = invite peer p2p_peers [discovered] = list known (optionally, only fully discovered) P2P peers p2p_peer
= show information about known P2P peer p2p_set = set a P2P parameter p2p_flush = flush P2P state p2p_cancel = cancel P2P group formation p2p_unauthorize
= unauthorize a peer p2p_presence_req [ ] [ ] = request GO presence p2p_ext_listen [ ] = set extended listen timing p2p_remove_client = remove a peer from all groups vendor_elem_add = add vendor specific IEs to frame(s) 0: Probe Req (P2P), 1: Probe Resp (P2P) , 2: Probe Resp (GO), 3: Beacon (GO), 4: PD Req, 5: PD Resp, 6: GO Neg Req, 7: GO Neg Resp, 8: GO Neg Conf, 9: Inv Req, 10: Inv Resp, 11: Assoc Req (P2P), 12: Assoc Resp (P2P) vendor_elem_get = get vendor specific IE(s) to frame(s) 0: Probe Req (P2P), 1: Probe Resp (P2P) , 2: Probe Resp (GO), 3: Beacon (GO), 4: PD Req, 5: PD Resp, 6: GO Neg Req, 7: GO Neg Resp, 8: GO Neg Conf, 9: Inv Req, 10: Inv Resp, 11: Assoc Req (P2P), 12: Assoc Resp (P2P) vendor_elem_remove = remove vendor specific IE(s) in frame(s) 0: Probe Req (P2P), 1: Probe Resp (P2P) , 2: Probe Resp (GO), 3: Beacon (GO), 4: PD Req, 5: PD Resp, 6: GO Neg Req, 7: GO Neg Resp, 8: GO Neg Conf, 9: Inv Req, 10: Inv Resp, 11: Assoc Req (P2P), 12: Assoc Resp (P2P) wfd_subelem_set [contents] = set Wi-Fi Display subelement wfd_subelem_get = get Wi-Fi Display subelement fetch_anqp = fetch ANQP information for all APs stop_fetch_anqp = stop fetch_anqp operation interworking_select [auto] = perform Interworking network selection interworking_connect = connect using Interworking credentials interworking_add_network = connect using Interworking credentials anqp_get [,]... = request ANQP information gas_request [QueryReq] = GAS request gas_response_get [start,len] = Fetch last GAS response hs20_anqp_get [,]... = request HS 2.0 ANQP information nai_home_realm_list = get HS20 nai home realm list sta_autoconnect <0/1> = disable/enable automatic reconnection tdls_discover = request TDLS discovery with tdls_setup = request TDLS setup with tdls_teardown = tear down TDLS with tdls_link_status = TDLS link status with wmm_ac_addts [nominal_msdu_size=#] [mean_data_rate=#] [min_phy_rate=#] [sba=#] [fixed_nominal_msdu] = add WMM-AC traffic stream wmm_ac_delts = delete WMM-AC traffic stream wmm_ac_status = show status for Wireless Multi-Media Admission-Control tdls_chan_switch [sec_channel_offset=] [center_freq1=] [center_freq2=] [bandwidth=] [ht|vht] = enable channel switching with TDLS peer tdls_cancel_chan_switch = disable channel switching with TDLS peer signal_poll = get signal parameters signal_monitor = set signal monitor parameters pktcnt_poll = get TX/RX packet counters reauthenticate = trigger IEEE 802.1X/EAPOL reauthentication autoscan [params] = Set or unset (if none) autoscan parameters wnm_sleep [interval=#] = enter/exit WNM-Sleep mode wnm_bss_query [list] [neighbor=,,,,[,] = Send BSS Transition Management Query raw = Sent unprocessed command flush = flush wpa_supplicant state radio_work = radio_work vendor [] = Send vendor command neighbor_rep_request [ssid=] [lci] [civic] = Trigger request to AP for neighboring AP report (with optional given SSID in hex or enclosed in double quotes, default: current SSID; with optional LCI and location civic request) twt_setup [dialog=] [exponent=] [mantissa=] [min_twt=] [setup_cmd=] [twt=] [requestor=0|1] [trigger=0|1] [implicit=0|1] [flow_type=0|1] [flow_id=<3-bit-id>] [protection=0|1] [twt_channel=] [control=] = Send TWT Setup frame twt_teardown [flags=] = Send TWT Teardown frame erp_flush = flush ERP keys mac_rand_scan enable=<0/1> [addr=mac-address mask=mac-address-mask] = scan MAC randomization get_pref_freq_list = retrieve preferred freq list for the specified interface type p2p_lo_start = start P2P listen offload p2p_lo_stop = stop P2P listen offload all_bss = list all BSS entries (scan results) mscs [up_bitmap=] [up_limit=] [stream_timeout=] [frame_classifier=] = Configure MSCS request scs [scs_id=] [scs_up=<0-7>] [classifier_type=<4|10>] [classifier params based on classifier type] [tclas_processing=<0|1>] [scs_id=] ... = Send SCS request dscp_resp <[reset]>/<[solicited] [policy_id=1 status=0...]> [more] = Send DSCP response dscp_query wildcard/domain_name= = Send DSCP Query setup_link_reconfig < [ID2]...> = Add new setup links and/or remove existing ones for the current MLO connection in STA mode mlo_status = get MLO status mlo_signal_poll = get mlo signal parameters new_random_mac_address = Generate new random MAC address