Hi All I tried many forums and this mailing list is my last hope. I am trying to setup secure wireless ad-hoc network between 2 Raspberry Pi’s 3 using their on board Wireless chip. I’m following https://wiki.archlinux.org/index.php/Ad-hoc_networking instructions to get it to work but I can’t get wpa_supplicant to setup secure network. I have succeeded setting up the non secured ad-hoc network between 2 Raspberry Pi’s 3 with no issues. My Wpa supplicant config file looks like this: ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 ap_scan=2 network={ ssid="FooBar" mode=1 frequency=2462 proto=RSN key_mgmt=WPA-PSK pairwise=CCMP group=CCMP psk=“foobarpass" } I’m running the supplicant with command: sudo wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supp.conf -D nl80211 -d Same setup on both Devices. Bellow is the output. Any pointer towards where to start looking at will save me some hair pulling :) Greg Kernel Linux 4.4.21-v7+ #911 SMP Thu Sep 15 14:22:38 BST 2016 armv7l GNU/Linux Loaded modules: Module Size Used by bnep 10340 2 hci_uart 17943 1 btbcm 5929 1 hci_uart bluetooth 326105 22 bnep,btbcm,hci_uart brcmfmac 186339 0 brcmutil 5661 1 brcmfmac cfg80211 427855 1 brcmfmac rfkill 16037 3 cfg80211,bluetooth snd_bcm2835 20447 0 snd_pcm 75762 1 snd_bcm2835 snd_timer 19288 1 snd_pcm snd 51908 3 snd_bcm2835,snd_timer,snd_pcm bcm2835_wdt 3225 0 bcm2835_gpiomem 3040 0 uio_pdrv_genirq 3164 0 uio 8000 1 uio_pdrv_genirq md_mod 118571 0 i2c_dev 5859 0 fuse 83653 1 ipv6 347466 36 First PI to be started: pi@raspberrypi3bare:~ $ sudo wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supp.conf -D nl80211 -dd wpa_supplicant v2.6 random: Trying to read entropy from /dev/random Successfully initialized wpa_supplicant Initializing interface 'wlan0' conf '/etc/wpa_supplicant/wpa_supp.conf' driver 'nl80211' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant/wpa_supp.conf' -> '/etc/wpa_supplicant/wpa_supp.conf' Reading configuration file '/etc/wpa_supplicant/wpa_supp.conf' ctrl_interface='DIR=/var/run/wpa_supplicant GROUP=netdev' update_config=1 ap_scan=2 Line: 4 - start of a new network block ssid - hexdump_ascii(len=6): 46 6f 6f 42 61 72 FooBar mode=1 (0x1) frequency=2462 (0x99e) proto: 0x2 key_mgmt: 0x2 pairwise: 0x10 group: 0x10 PSK (ASCII passphrase) - hexdump_ascii(len=8): [REMOVED] PSK (from passphrase) - hexdump(len=32): [REMOVED] Priority group 0 id=0 ssid='FooBar' nl80211: TDLS supported nl80211: Supported cipher 00-0f-ac:1 nl80211: Supported cipher 00-0f-ac:5 nl80211: Supported cipher 00-0f-ac:2 nl80211: Supported cipher 00-0f-ac:4 nl80211: Supported cipher 00-0f-ac:6 nl80211: Using driver-based off-channel TX nl80211: Supported vendor command: vendor_id=0x1018 subcmd=1 nl80211: Use separate P2P group interface (driver advertised support) nl80211: Enable multi-channel concurrent (driver advertised support) nl80211: use P2P_DEVICE support nl80211: interface wlan0 in phy phy0 nl80211: Set mode ifindex 3 iftype 2 (STATION) nl80211: Subscribe to mgmt frames with non-AP handle 0x6fe670 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x6fe670 match=06 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x6fe670 match=0a07 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x6fe670 match=0a11 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x6fe670 match=1101 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x6fe670 match=1102 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x6fe670 match=0505 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x6fe670 match=0500 rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0 netlink: Operstate: ifindex=3 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT) Add interface wlan0 to a new radio phy0 nl80211: Regulatory information - country=00 nl80211: 2402-2472 @ 40 MHz 20 mBm nl80211: 2457-2482 @ 40 MHz 20 mBm (no IR) nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR) nl80211: 5170-5250 @ 80 MHz 20 mBm (no IR) nl80211: 5250-5330 @ 80 MHz 20 mBm (DFS) (no IR) nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR) nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR) nl80211: 57240-63720 @ 2160 MHz 0 mBm nl80211: Added 802.11b mode based on 802.11g information wlan0: Own MAC address: b8:27:eb:2b:85:ff Note: nl80211 driver interface is not designed to be used with ap_scan=2; this can result in connection failures wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0 wlan0: RSN: flushing PMKID list in the driver nl80211: Flush PMKIDs ENGINE: Loading dynamic engine ENGINE: Loading dynamic engine EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: Supplicant port status: Unauthorized nl80211: Skip set_supp_port(unauthorized) while not associated EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED ctrl_interface_group=108 (from group name 'netdev') wlan0: Added interface wlan0 wlan0: State: DISCONNECTED -> DISCONNECTED nl80211: Set wlan0 operstate 0->0 (DORMANT) netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT) random: Got 20/20 bytes from /dev/random RTM_NEWLINK: ifi_index=3 ifname=wlan0 operstate=2 linkmode=1 ifi_family=0 ifi_flags=0x1003 ([UP]) wlan0: Starting delayed sched scan wlan0: Use normal scan instead of sched_scan for initial scans (normal_scans=0) wlan0: Setting scan request: 0.000000 sec wlan0: State: DISCONNECTED -> SCANNING wlan0: Add radio work 'connect'@0x70d5d0 wlan0: First radio work item in the queue - schedule start immediately wlan0: Starting radio work 'connect'@0x70d5d0 after 0.000055 second wait wlan0: Trying to associate with SSID 'FooBar' wlan0: Cancelling scan request wlan0: WPA: clearing own WPA/RSN IE wlan0: Automatic auth_alg selection: 0x1 wlan0: WPA: No WPA/RSN IE available from association info wlan0: WPA: Set cipher suites based on configuration wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2 wlan0: WPA: clearing AP WPA IE wlan0: WPA: clearing AP RSN IE wlan0: WPA: using GTK CCMP wlan0: WPA: using PTK CCMP wlan0: WPA: using KEY_MGMT WPA-PSK WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 wlan0: State: SCANNING -> ASSOCIATING nl80211: Set wlan0 operstate 0->0 (DORMANT) netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT) nl80211: Join IBSS (ifindex=3) nl80211: Set mode ifindex 3 iftype 1 (ADHOC) nl80211: Unsubscribe mgmt frames handle 0x88e76ef9 (mode change) nl80211: Subscribe to mgmt frames with non-AP handle 0x6fe670 nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0x6fe670 match= nl80211: Register frame command failed (type=176): ret=-22 (Invalid argument) nl80211: Register frame match - hexdump(len=0): [NULL] nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x6fe670 match=06 nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument) nl80211: Register frame match - hexdump(len=1): 06 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x6fe670 match=0a07 nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument) nl80211: Register frame match - hexdump(len=2): 0a 07 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x6fe670 match=0a11 nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument) nl80211: Register frame match - hexdump(len=2): 0a 11 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x6fe670 match=1101 nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument) nl80211: Register frame match - hexdump(len=2): 11 01 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x6fe670 match=1102 nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument) nl80211: Register frame match - hexdump(len=2): 11 02 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x6fe670 match=0505 nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument) nl80211: Register frame match - hexdump(len=2): 05 05 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x6fe670 match=0500 nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument) nl80211: Register frame match - hexdump(len=2): 05 00 nl80211: Failed to register Action frame processing - ignore for now * SSID - hexdump_ascii(len=6): 46 6f 6f 42 61 72 FooBar * freq=2462 * vht_enabled=0 * ht_enabled=0 * channel_type=0 * control port * Extra IEs for Beacon/Probe Response frames - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 nl80211: Join IBSS request sent successfully wlan0: Setting authentication timeout: 60 sec 0 usec EAPOL: External notification - EAP success=0 EAPOL: External notification - EAP fail=0 EAPOL: External notification - portControl=Auto RTM_NEWLINK: ifi_index=3 ifname=wlan0 wext ifi_family=0 ifi_flags=0x11003 ([UP][LOWER_UP]) RTM_NEWLINK: ifi_index=3 ifname=wlan0 operstate=5 linkmode=1 ifi_family=0 ifi_flags=0x11003 ([UP][LOWER_UP]) nl80211: Event message available nl80211: Drv Event 43 (NL80211_CMD_JOIN_IBSS) received for wlan0 nl80211: IBSS 32:59:05:91:a6:e2 joined nl80211: IBSS-joined on 2462 MHz nl80211: Operating frequency for the associated BSS from scan results: 2462 MHz nl80211: IBSS on frequency 2462 MHz wlan0: Event ASSOC (0) received wlan0: Association info event wlan0: freq=2462 MHz wlan0: State: ASSOCIATING -> ASSOCIATED nl80211: Set wlan0 operstate 0->0 (DORMANT) netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT) wlan0: Associated to a new BSS: BSSID=32:59:05:91:a6:e2 wlan0: Select network based on association information wlan0: Network configuration found for the current AP wlan0: WPA: Using WPA IE from AssocReq to set cipher suites wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2 wlan0: WPA: clearing AP WPA IE wlan0: WPA: clearing AP RSN IE wlan0: WPA: using GTK CCMP wlan0: WPA: using PTK CCMP wlan0: WPA: using KEY_MGMT WPA-PSK WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 nl80211: IBSS-joined on 2462 MHz nl80211: Received scan results (1 BSSes) wlan0: BSS: Start scan result update 1 wlan0: BSS: Add new id 0 BSSID 32:59:05:91:a6:e2 SSID 'FooBar' freq 2462 EAPOL: External notification - EAP success=0 EAPOL: External notification - EAP fail=0 EAPOL: External notification - portControl=Auto wlan0: Associated with 32:59:05:91:a6:e2 wlan0: WPA: Association event - clear replay counter wlan0: WPA: Clear old PTK EAPOL: External notification - portEnabled=0 EAPOL: External notification - portValid=0 EAPOL: External notification - EAP success=0 EAPOL: External notification - portEnabled=1 EAPOL: SUPP_PAE entering state CONNECTING EAPOL: SUPP_BE entering state IDLE wlan0: Cancelling authentication timeout wlan0: State: ASSOCIATED -> COMPLETED wlan0: Radio work 'connect'@0x70d5d0 done in 0.522230 seconds wlan0: radio_work_free('connect'@0x70d5d0: num_active_works --> 0 wlan0: CTRL-EVENT-CONNECTED - Connection to 32:59:05:91:a6:e2 completed [id=0 id_str=] nl80211: Set wlan0 operstate 0->1 (UP) netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=6 (IF_OPER_UP) wlan0: Cancelling scan request WMM AC: Missing IEs wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0 RTM_NEWLINK: ifi_index=3 ifname=wlan0 operstate=6 linkmode=1 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) RTM_NEWLINK: ifi_index=3 ifname=wlan0 operstate=6 linkmode=1 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) EAPOL: startWhen --> 0 EAPOL: disable timer tick EAPOL: SUPP_PAE entering state CONNECTING EAPOL: enable timer tick EAPOL: txStart WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0) EAPOL: startWhen --> 0 EAPOL: disable timer tick EAPOL: SUPP_PAE entering state CONNECTING EAPOL: enable timer tick EAPOL: txStart WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0) Second PI: pi@raspberrypi3black:~ $ sudo wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -D nl80211 -dd wpa_supplicant v2.6 random: Trying to read entropy from /dev/random Successfully initialized wpa_supplicant Initializing interface 'wlan0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'nl80211' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' ctrl_interface='DIR=/var/run/wpa_supplicant GROUP=netdev' update_config=1 ap_scan=2 Line: 4 - start of a new network block ssid - hexdump_ascii(len=6): 46 6f 6f 42 61 72 FooBar mode=1 (0x1) frequency=2462 (0x99e) proto: 0x2 key_mgmt: 0x2 pairwise: 0x10 group: 0x10 PSK (ASCII passphrase) - hexdump_ascii(len=8): [REMOVED] PSK (from passphrase) - hexdump(len=32): [REMOVED] Priority group 0 id=0 ssid='FooBar' nl80211: TDLS supported nl80211: Supported cipher 00-0f-ac:1 nl80211: Supported cipher 00-0f-ac:5 nl80211: Supported cipher 00-0f-ac:2 nl80211: Supported cipher 00-0f-ac:4 nl80211: Supported cipher 00-0f-ac:6 nl80211: Using driver-based off-channel TX nl80211: Supported vendor command: vendor_id=0x1018 subcmd=1 nl80211: Use separate P2P group interface (driver advertised support) nl80211: Enable multi-channel concurrent (driver advertised support) nl80211: use P2P_DEVICE support nl80211: interface wlan0 in phy phy0 nl80211: Set mode ifindex 3 iftype 2 (STATION) nl80211: Subscribe to mgmt frames with non-AP handle 0x57b678 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=06 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=0a07 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=0a11 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=1101 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=1102 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=0505 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=0500 rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0 netlink: Operstate: ifindex=3 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT) Add interface wlan0 to a new radio phy0 nl80211: Regulatory information - country=00 nl80211: 2402-2472 @ 40 MHz 20 mBm nl80211: 2457-2482 @ 40 MHz 20 mBm (no IR) nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR) nl80211: 5170-5250 @ 80 MHz 20 mBm (no IR) nl80211: 5250-5330 @ 80 MHz 20 mBm (DFS) (no IR) nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR) nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR) nl80211: 57240-63720 @ 2160 MHz 0 mBm nl80211: Added 802.11b mode based on 802.11g information wlan0: Own MAC address: b8:27:eb:83:26:44 Note: nl80211 driver interface is not designed to be used with ap_scan=2; this can result in connection failures wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0 wlan0: RSN: flushing PMKID list in the driver nl80211: Flush PMKIDs ENGINE: Loading dynamic engine ENGINE: Loading dynamic engine EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: Supplicant port status: Unauthorized nl80211: Skip set_supp_port(unauthorized) while not associated EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED ctrl_interface_group=108 (from group name 'netdev') wlan0: Added interface wlan0 wlan0: State: DISCONNECTED -> DISCONNECTED nl80211: Set wlan0 operstate 0->0 (DORMANT) netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT) random: Got 20/20 bytes from /dev/random RTM_NEWLINK: ifi_index=3 ifname=wlan0 operstate=2 linkmode=1 ifi_family=0 ifi_flags=0x1003 ([UP]) wlan0: Starting delayed sched scan wlan0: Use normal scan instead of sched_scan for initial scans (normal_scans=0) wlan0: Setting scan request: 0.000000 sec wlan0: State: DISCONNECTED -> SCANNING wlan0: Add radio work 'connect'@0x58a5d8 wlan0: First radio work item in the queue - schedule start immediately wlan0: Starting radio work 'connect'@0x58a5d8 after 0.000023 second wait wlan0: Trying to associate with SSID 'FooBar' wlan0: Cancelling scan request wlan0: WPA: clearing own WPA/RSN IE wlan0: Automatic auth_alg selection: 0x1 wlan0: WPA: No WPA/RSN IE available from association info wlan0: WPA: Set cipher suites based on configuration wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2 wlan0: WPA: clearing AP WPA IE wlan0: WPA: clearing AP RSN IE wlan0: WPA: using GTK CCMP wlan0: WPA: using PTK CCMP wlan0: WPA: using KEY_MGMT WPA-PSK WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 wlan0: State: SCANNING -> ASSOCIATING nl80211: Set wlan0 operstate 0->0 (DORMANT) netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT) nl80211: Join IBSS (ifindex=3) nl80211: Set mode ifindex 3 iftype 1 (ADHOC) nl80211: Unsubscribe mgmt frames handle 0x88df3ef1 (mode change) nl80211: Subscribe to mgmt frames with non-AP handle 0x57b678 nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0x57b678 match= nl80211: Register frame command failed (type=176): ret=-22 (Invalid argument) nl80211: Register frame match - hexdump(len=0): [NULL] nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=06 nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument) nl80211: Register frame match - hexdump(len=1): 06 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=0a07 nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument) nl80211: Register frame match - hexdump(len=2): 0a 07 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=0a11 nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument) nl80211: Register frame match - hexdump(len=2): 0a 11 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=1101 nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument) nl80211: Register frame match - hexdump(len=2): 11 01 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=1102 nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument) nl80211: Register frame match - hexdump(len=2): 11 02 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=0505 nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument) nl80211: Register frame match - hexdump(len=2): 05 05 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=0500 nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument) nl80211: Register frame match - hexdump(len=2): 05 00 nl80211: Failed to register Action frame processing - ignore for now * SSID - hexdump_ascii(len=6): 46 6f 6f 42 61 72 FooBar * freq=2462 * vht_enabled=0 * ht_enabled=0 * channel_type=0 * control port * Extra IEs for Beacon/Probe Response frames - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 nl80211: Join IBSS request sent successfully wlan0: Setting authentication timeout: 60 sec 0 usec EAPOL: External notification - EAP success=0 EAPOL: External notification - EAP fail=0 EAPOL: External notification - portControl=Auto nl80211: Event message available nl80211: Drv Event 43 (NL80211_CMD_JOIN_IBSS) received for wlan0 nl80211: IBSS 32:59:05:91:a6:e2 joined nl80211: IBSS-joined on 2462 MHz nl80211: Operating frequency for the associated BSS from scan results: 2462 MHz nl80211: IBSS on frequency 2462 MHz wlan0: Event ASSOC (0) received wlan0: Association info event wlan0: freq=2462 MHz wlan0: State: ASSOCIATING -> ASSOCIATED nl80211: Set wlan0 operstate 0->0 (DORMANT) netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT) wlan0: Associated to a new BSS: BSSID=32:59:05:91:a6:e2 wlan0: Select network based on association information wlan0: Network configuration found for the current AP wlan0: WPA: Using WPA IE from AssocReq to set cipher suites wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2 wlan0: WPA: clearing AP WPA IE wlan0: WPA: clearing AP RSN IE wlan0: WPA: using GTK CCMP wlan0: WPA: using PTK CCMP wlan0: WPA: using KEY_MGMT WPA-PSK WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 nl80211: IBSS-joined on 2462 MHz nl80211: Received scan results (1 BSSes) wlan0: BSS: Start scan result update 1 wlan0: BSS: Add new id 0 BSSID 32:59:05:91:a6:e2 SSID 'FooBar' freq 2462 EAPOL: External notification - EAP success=0 EAPOL: External notification - EAP fail=0 EAPOL: External notification - portControl=Auto wlan0: Associated with 32:59:05:91:a6:e2 wlan0: WPA: Association event - clear replay counter wlan0: WPA: Clear old PTK EAPOL: External notification - portEnabled=0 EAPOL: External notification - portValid=0 EAPOL: External notification - EAP success=0 EAPOL: External notification - portEnabled=1 EAPOL: SUPP_PAE entering state CONNECTING EAPOL: SUPP_BE entering state IDLE wlan0: Cancelling authentication timeout wlan0: State: ASSOCIATED -> COMPLETED wlan0: Radio work 'connect'@0x58a5d8 done in 0.605994 seconds wlan0: radio_work_free('connect'@0x58a5d8: num_active_works --> 0 wlan0: CTRL-EVENT-CONNECTED - Connection to 32:59:05:91:a6:e2 completed [id=0 id_str=] nl80211: Set wlan0 operstate 0->1 (UP) netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=6 (IF_OPER_UP) wlan0: Cancelling scan request WMM AC: Missing IEs wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0 RTM_NEWLINK: ifi_index=3 ifname=wlan0 wext ifi_family=0 ifi_flags=0x11003 ([UP][LOWER_UP]) nl80211: Set IF_OPER_UP again based on ifi_flags and expected operstate netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=6 (IF_OPER_UP) RTM_NEWLINK: ifi_index=3 ifname=wlan0 operstate=5 linkmode=1 ifi_family=0 ifi_flags=0x11003 ([UP][LOWER_UP]) nl80211: Set IF_OPER_UP again based on ifi_flags and expected operstate netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=6 (IF_OPER_UP) RTM_NEWLINK: ifi_index=3 ifname=wlan0 operstate=6 linkmode=1 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) RTM_NEWLINK: ifi_index=3 ifname=wlan0 operstate=6 linkmode=1 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) EAPOL: startWhen --> 0 EAPOL: disable timer tick EAPOL: SUPP_PAE entering state CONNECTING EAPOL: enable timer tick EAPOL: txStart WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0) EAPOL: startWhen --> 0 EAPOL: disable timer tick EAPOL: SUPP_PAE entering state CONNECTING EAPOL: enable timer tick EAPOL: txStart WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0) EAPOL: startWhen --> 0 EAPOL: disable timer tick EAPOL: SUPP_PAE entering state CONNECTING EAPOL: enable timer tick EAPOL: txStart WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0) EAPOL: startWhen --> 0 EAPOL: disable timer tick EAPOL: SUPP_PAE entering state HELD EAPOL: enable timer tick EAPOL: Supplicant port status: Unauthorized nl80211: Set supplicant port unauthorized for 32:59:05:91:a6:e2 EAPOL authentication completed - result=FAILURE wlan0: Setting authentication timeout: 2 sec 0 usec wlan0: Authentication with 32:59:05:91:a6:e2 timed out. Added BSSID 32:59:05:91:a6:e2 into blacklist wlan0: WPA: Clear old PMK and PTK wlan0: Request to deauthenticate - bssid=32:59:05:91:a6:e2 pending_bssid=00:00:00:00:00:00 reason=3 state=COMPLETED nl80211: Leave IBSS request sent successfully nl80211: Set mode ifindex 3 iftype 2 (STATION) nl80211: Unsubscribe mgmt frames handle 0x88df3ef1 (mode change) nl80211: Subscribe to mgmt frames with non-AP handle 0x57b678 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=06 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=0a07 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=0a11 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=1101 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=1102 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=0505 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=0500 wlan0: Event DEAUTH (12) received wlan0: Deauthentication notification wlan0: * reason 3 (locally generated) Deauthentication frame IE(s) - hexdump(len=0): [NULL] wlan0: CTRL-EVENT-DISCONNECTED bssid=32:59:05:91:a6:e2 reason=3 locally_generated=1 wlan0: Auto connect enabled: try to reconnect (wps=0/0 wpa_state=9) wlan0: Setting scan request: 0.100000 sec BSSID 32:59:05:91:a6:e2 blacklist count incremented to 2 wlan0: Blacklist count 2 --> request scan in 500 ms wlan0: Ignore new scan request for 0.500000 sec since an earlier request is scheduled to trigger sooner wlan0: WPA: Clear old PMK and PTK wlan0: Disconnect event - remove keys wlan0: State: COMPLETED -> DISCONNECTED nl80211: Set wlan0 operstate 1->0 (DORMANT) netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT) EAPOL: External notification - portEnabled=0 EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: Supplicant port status: Unauthorized nl80211: Skip set_supp_port(unauthorized) while not associated EAPOL: SUPP_BE entering state INITIALIZE EAPOL: External notification - portValid=0 EAPOL: External notification - EAP success=0 wlan0: State: DISCONNECTED -> DISCONNECTED nl80211: Set wlan0 operstate 0->0 (DORMANT) netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT) EAPOL: External notification - portEnabled=0 EAPOL: External notification - portValid=0 wlan0: Ignore new scan request for 1.000000 sec since an earlier request is scheduled to trigger sooner RTM_NEWLINK: ifi_index=3 ifname=wlan0 operstate=2 linkmode=1 ifi_family=0 ifi_flags=0x1003 ([UP]) wlan0: State: DISCONNECTED -> SCANNING wlan0: Re-association to the same ESS wlan0: Add radio work 'connect'@0x58c438 wlan0: First radio work item in the queue - schedule start immediately wlan0: Starting radio work 'connect'@0x58c438 after 0.000049 second wait wlan0: Trying to associate with SSID 'FooBar' wlan0: Cancelling scan request wlan0: WPA: clearing own WPA/RSN IE wlan0: Automatic auth_alg selection: 0x1 wlan0: WPA: No WPA/RSN IE available from association info wlan0: WPA: Set cipher suites based on configuration wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2 wlan0: WPA: clearing AP WPA IE wlan0: WPA: clearing AP RSN IE wlan0: WPA: using GTK CCMP wlan0: WPA: using PTK CCMP wlan0: WPA: using KEY_MGMT WPA-PSK WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 wlan0: State: SCANNING -> ASSOCIATING nl80211: Set wlan0 operstate 0->0 (DORMANT) netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT) IBSS already found in scan results, adjust control freq: 2462 nl80211: Join IBSS (ifindex=3) nl80211: Set mode ifindex 3 iftype 1 (ADHOC) nl80211: Unsubscribe mgmt frames handle 0x88df3ef1 (mode change) nl80211: Subscribe to mgmt frames with non-AP handle 0x57b678 nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0x57b678 match= nl80211: Register frame command failed (type=176): ret=-22 (Invalid argument) nl80211: Register frame match - hexdump(len=0): [NULL] nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=06 nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument) nl80211: Register frame match - hexdump(len=1): 06 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=0a07 nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument) nl80211: Register frame match - hexdump(len=2): 0a 07 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=0a11 nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument) nl80211: Register frame match - hexdump(len=2): 0a 11 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=1101 nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument) nl80211: Register frame match - hexdump(len=2): 11 01 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=1102 nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument) nl80211: Register frame match - hexdump(len=2): 11 02 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=0505 nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument) nl80211: Register frame match - hexdump(len=2): 05 05 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x57b678 match=0500 nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument) nl80211: Register frame match - hexdump(len=2): 05 00 nl80211: Failed to register Action frame processing - ignore for now * SSID - hexdump_ascii(len=6): 46 6f 6f 42 61 72 FooBar * freq=2462 * vht_enabled=0 * ht_enabled=0 * channel_type=0 * control port * Extra IEs for Beacon/Probe Response frames - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 nl80211: Join IBSS request sent successfully wlan0: Setting authentication timeout: 60 sec 0 usec EAPOL: External notification - EAP success=0 EAPOL: External notification - EAP fail=0 EAPOL: External notification - portControl=Auto RTM_NEWLINK: ifi_index=3 ifname=wlan0 wext ifi_family=0 ifi_flags=0x11003 ([UP][LOWER_UP]) RTM_NEWLINK: ifi_index=3 ifname=wlan0 operstate=5 linkmode=1 ifi_family=0 ifi_flags=0x11003 ([UP][LOWER_UP]) nl80211: Event message available nl80211: Drv Event 43 (NL80211_CMD_JOIN_IBSS) received for wlan0 nl80211: IBSS 32:59:05:91:a6:e2 joined nl80211: IBSS-joined on 2462 MHz nl80211: Operating frequency for the associated BSS from scan results: 2462 MHz nl80211: IBSS on frequency 2462 MHz wlan0: Event ASSOC (0) received wlan0: Association info event wlan0: freq=2462 MHz wlan0: State: ASSOCIATING -> ASSOCIATED nl80211: Set wlan0 operstate 0->0 (DORMANT) netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT) wlan0: Associated to a new BSS: BSSID=32:59:05:91:a6:e2 wlan0: Select network based on association information wlan0: Network configuration found for the current AP wlan0: WPA: Using WPA IE from AssocReq to set cipher suites wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2 wlan0: WPA: clearing AP WPA IE wlan0: WPA: clearing AP RSN IE wlan0: WPA: using GTK CCMP wlan0: WPA: using PTK CCMP wlan0: WPA: using KEY_MGMT WPA-PSK WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 EAPOL: External notification - EAP success=0 EAPOL: External notification - EAP fail=0 EAPOL: External notification - portControl=Auto wlan0: Associated with 32:59:05:91:a6:e2 wlan0: WPA: Association event - clear replay counter wlan0: WPA: Clear old PTK EAPOL: External notification - portEnabled=0 EAPOL: External notification - portValid=0 EAPOL: External notification - EAP success=0 EAPOL: External notification - portEnabled=1 EAPOL: SUPP_PAE entering state CONNECTING EAPOL: SUPP_BE entering state IDLE wlan0: Cancelling authentication timeout Removed BSSID 32:59:05:91:a6:e2 from blacklist wlan0: State: ASSOCIATED -> COMPLETED wlan0: Radio work 'connect'@0x58c438 done in 0.499545 seconds wlan0: radio_work_free('connect'@0x58c438: num_active_works --> 0 wlan0: CTRL-EVENT-CONNECTED - Connection to 32:59:05:91:a6:e2 completed [id=0 id_str=] nl80211: Set wlan0 operstate 0->1 (UP) netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=6 (IF_OPER_UP) wlan0: Cancelling scan request WMM AC: Missing IEs wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0 RTM_NEWLINK: ifi_index=3 ifname=wlan0 operstate=6 linkmode=1 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) RTM_NEWLINK: ifi_index=3 ifname=wlan0 operstate=6 linkmode=1 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) EAPOL: startWhen --> 0 EAPOL: disable timer tick EAPOL: SUPP_PAE entering state CONNECTING EAPOL: enable timer tick EAPOL: txStart WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0) _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap