mtrudel@gaea ~/Documents % sudo wpa_supplicant -dd -cwpa-adhoc.conf -iwlan0 -Dnl80211 Initializing interface 'wlan0' conf 'wpa-adhoc.conf' driver 'nl80211' ctrl_interface 'N/A' bridge 'N/A' Configuration file 'wpa-adhoc.conf' -> '/home/mtrudel/Documents/wpa-adhoc.conf' Reading configuration file '/home/mtrudel/Documents/wpa-adhoc.conf' ap_scan=2 Line: 2 - start of a new network block ssid - hexdump_ascii(len=10): 74 65 73 74 20 61 64 68 6f 63 test adhoc mode=1 (0x1) frequency=2412 (0x96c) proto: 0x1 key_mgmt: 0x10 pairwise: 0x1 group: 0x8 PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED] PSK (from passphrase) - hexdump(len=32): [REMOVED] Priority group 0 id=0 ssid='test adhoc' netlink: Operstate: linkmode=1, operstate=5 Own MAC address: ac:72:89:85:33:38 wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=0x495e2c key_idx=0 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=0x495e2c key_idx=1 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=0x495e2c key_idx=2 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=0x495e2c key_idx=3 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=0x495e2c key_idx=4 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=0x495e2c key_idx=5 set_tx=0 seq_len=0 key_len=0 RSN: flushing PMKID list in the driver Setting scan request: 0 sec 100000 usec WPS: UUID based on MAC address - hexdump(len=16): 16 9c 02 d6 0f ea 57 44 bc 3b 45 1a 38 3d b8 9d EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: Supplicant port status: Unauthorized EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED EAPOL: Supplicant port status: Unauthorized EAPOL: Supplicant port status: Unauthorized Added interface wlan0 RTM_NEWLINK: operstate=0 ifi_flags=0x1043 ([UP][RUNNING]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added State: DISCONNECTED -> SCANNING Trying to associate with SSID 'test adhoc' Cancelling scan request WPA: clearing own WPA/RSN IE Automatic auth_alg selection: 0x1 WPA: No WPA/RSN IE available from association info WPA: Set cipher suites based on configuration WPA: Selected cipher suites: group 8 pairwise 1 key_mgmt 16 proto 1 WPA: clearing AP WPA IE WPA: clearing AP RSN IE WPA: using GTK TKIP WPA: using PTK NONE WPA: using KEY_MGMT WPA-NONE WPA: not using MGMT group cipher WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 00 01 00 00 50 f2 00 No keys have been configured - skip key clearing wpa_driver_nl80211_set_key: ifindex=3 alg=2 addr=0x495e2c key_idx=0 set_tx=1 seq_len=6 key_len=32 nl80211: set_key failed; err=-67 Link has been severed) State: SCANNING -> ASSOCIATING wpa_driver_nl80211_set_operstate: operstate 0->0 (DORMANT) netlink: Operstate: linkmode=-1, operstate=5 nl80211: Join IBSS (ifindex=3) * SSID - hexdump_ascii(len=10): 74 65 73 74 20 61 64 68 6f 63 test adhoc * freq=2412 * Extra IEs for Beacon/Probe Response frames - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 00 01 00 00 50 f2 00 nl80211: Join IBSS request sent successfully wpa_driver_nl80211_set_key: ifindex=3 alg=2 addr=0x495e2c key_idx=0 set_tx=1 seq_len=6 key_len=32 nl80211: set_key failed; err=-67 Link has been severed) Cancelling authentication timeout State: ASSOCIATING -> COMPLETED CTRL-EVENT-CONNECTED - Connection to 00:00:00:00:00:00 completed (auth) [id=-1 id_str=] wpa_driver_nl80211_set_operstate: operstate 0->1 (UP) netlink: Operstate: linkmode=-1, operstate=6 EAPOL: External notification - EAP success=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP fail=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portControl=ForceAuthorized EAPOL: Supplicant port status: Unauthorized RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP]) netlink: Operstate: linkmode=-1, operstate=6 RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added EAPOL: disable timer tick EAPOL: Supplicant port status: Unauthorized nl80211: Event message available nl80211: IBSS 52:c8:0d:3f:f1:0f joined State: COMPLETED -> ASSOCIATED wpa_driver_nl80211_set_operstate: operstate 1->0 (DORMANT) netlink: Operstate: linkmode=-1, operstate=5 Associated to a new BSS: BSSID=52:c8:0d:3f:f1:0f Select network based on association information Network configuration found for the current AP WPA: Using WPA IE from AssocReq to set cipher suites WPA: Selected cipher suites: group 8 pairwise 1 key_mgmt 16 proto 1 WPA: clearing AP WPA IE WPA: clearing AP RSN IE WPA: using GTK TKIP WPA: using PTK NONE WPA: using KEY_MGMT WPA-NONE WPA: not using MGMT group cipher WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 00 01 00 00 50 f2 00 EAPOL: External notification - EAP success=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP fail=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portControl=ForceAuthorized EAPOL: Supplicant port status: Unauthorized Associated with 52:c8:0d:3f:f1:0f WPA: Association event - clear replay counter WPA: Clear old PTK EAPOL: External notification - portEnabled=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portEnabled=1 EAPOL: SUPP_PAE entering state S_FORCE_AUTH EAPOL: Supplicant port status: Authorized EAPOL: SUPP_BE entering state IDLE Cancelling authentication timeout State: ASSOCIATED -> COMPLETED CTRL-EVENT-CONNECTED - Connection to 52:c8:0d:3f:f1:0f completed (reauth) [id=0 id_str=] wpa_driver_nl80211_set_operstate: operstate 0->1 (UP) netlink: Operstate: linkmode=-1, operstate=6 Cancelling scan request RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP]) netlink: Operstate: linkmode=-1, operstate=6 RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added nl80211: Event message available nl80211: Scan trigger nl80211: Event message available nl80211: New scan results available Received scan results (12 BSSes) BSS: Start scan result update 1 BSS: Add new id 0 BSSID 00:22:90:50:1a:50 SSID 'Ubuntu' BSS: Add new id 1 BSSID c0:c1:c0:87:9e:cd SSID 'ubuntu-cert-n-wpa' BSS: Add new id 2 BSSID 00:26:0b:70:57:d0 SSID 'UbuntuConf' BSS: Add new id 3 BSSID 00:1d:7e:5a:54:b2 SSID 'GVM' BSS: Add new id 4 BSSID e0:cb:4e:ad:ef:97 SSID 'ubity' BSS: Add new id 5 BSSID 4e:75:8f:95:91:12 SSID 'adhoc' BSS: Add new id 6 BSSID 68:7f:74:01:51:52 SSID 'ubity_visiteur' BSS: Add new id 7 BSSID 00:1e:e5:05:94:96 SSID 'TechWIRE' BSS: Add new id 8 BSSID 00:14:bf:21:73:35 SSID '' BSS: Add new id 9 BSSID e0:46:9a:69:b1:34 SSID 'LVLAPP03' BSS: Add new id 10 BSSID 52:c8:0d:3f:f1:0f SSID 'test adhoc' BSS: Add new id 11 BSSID c0:c1:c0:7a:97:f3 SSID 'ubuntu-cert-n-open' New scan results available RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added nl80211: Event message available nl80211: Ignored unknown event (cmd=19) mtrudel@gaea ~/Documents % sudo iw dev wlan0 scan [...] BSS 52:c8:0d:3f:f1:0f (on wlan0) -- joined freq: 2412 beacon interval: 100 capability: IBSS (0x0002) signal: 0.00 dBm last seen: 24888 ms ago SSID: test adhoc Supported rates: 1.0* 2.0 5.5 11.0 6.0 9.0 12.0 18.0 DS Parameter set: channel 1 Extended supported rates: 24.0 36.0 48.0 54.0 WPA: * Version: 1 * Group cipher: TKIP * Pairwise ciphers: Use group cipher suite * Authentication suites: 00-50-f2:0 WMM: information: 01 00