[haiku-bugs] Re: [Haiku] #9646: wpa_supplicant: cannot connect to network

  • From: "dsjonny" <trac@xxxxxxxxxxxx>
  • Date: Sat, 13 Apr 2013 19:10:28 -0000

#9646: wpa_supplicant: cannot connect to network
-------------------------------------------+----------------------------
   Reporter:  dsjonny                      |      Owner:  axeld
       Type:  bug                          |     Status:  new
   Priority:  high                         |  Milestone:  R1
  Component:  Network & Internet/Wireless  |    Version:  R1/Development
 Resolution:                               |   Keywords:
 Blocked By:                               |   Blocking:
Has a Patch:  0                            |   Platform:  All
-------------------------------------------+----------------------------

Comment (by dsjonny):

 Using 45487 nightly.

 I have attached the syslog.

 net_server debug output:

 {{{
 Welcome to the Haiku shell.

 ~/Desktop> /system/servers/net_server
 New service ssh
 Launch service: /boot/common/bin/sshd
 wpa_supplicant v2.0
 failed to read keystore database
 Initializing interface '/dev/net/iprowifi4965/0' conf 'N/A' driver
 'default' ctrl_interface 'N/A' bridge 'N/A'
 wpa_driver_bsd_capa: drivercaps=0x2581e001,cryptocaps=0x00000000
 /dev/net/iprowifi4965/0: Own MAC address: 00:15:00:77:2c:02
 bsd_set_key: alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
 bsd_del_key: key_idx=0
 bsd_set_key: alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
 bsd_del_key: key_idx=1
 bsd_set_key: alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
 bsd_del_key: key_idx=2
 bsd_set_key: alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
 bsd_del_key: key_idx=3
 wpa_driver_bsd_set_countermeasures: enabled=0
 /dev/net/iprowifi4965/0: RSN: flushing PMKID list in the driver
 /dev/net/iprowifi4965/0: State: DISCONNECTED -> INACTIVE
 /dev/net/iprowifi4965/0: Added interface /dev/net/iprowifi4965/0
 /dev/net/iprowifi4965/0: State: INACTIVE -> DISCONNECTED
 ssid - hexdump_ascii(len=7):
      44 52 2d 57 69 46 69                              DR-WiFi
 scan_ssid=1 (0x1)
 proto: 0x3
 key_mgmt: 0x2
 pairwise: 0x19
 group: 0x1e
 PSK (ASCII passphrase) - hexdump_ascii(len=8): [REMOVED]
 PSK (from passphrase) - hexdump(len=32): [REMOVED]
 /dev/net/iprowifi4965/0: Setting scan request: 0 sec 0 usec
 /dev/net/iprowifi4965/0: State: DISCONNECTED -> SCANNING
 Scan SSID - hexdump_ascii(len=7):
      44 52 2d 57 69 46 69                              DR-WiFi
 /dev/net/iprowifi4965/0: Starting AP scan for wildcard SSID
 wpa_driver_bsd_set_wpa: enabled=1
 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1
 ioctl[SIOCS80211, op=103, val=0, arg_len=128]: General system error
 /dev/net/iprowifi4965/0: Failed to initiate AP scan
 /dev/net/iprowifi4965/0: State: SCANNING -> DISCONNECTED
 /dev/net/iprowifi4965/0: Setting scan request: 1 sec 0 usec
 /dev/net/iprowifi4965/0: State: DISCONNECTED -> SCANNING
 Scan SSID - hexdump_ascii(len=7):
      44 52 2d 57 69 46 69                              DR-WiFi
 /dev/net/iprowifi4965/0: Starting AP scan for wildcard SSID
 wpa_driver_bsd_set_wpa: enabled=1
 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1
 /dev/net/iprowifi4965/0: Event SCAN_RESULTS (3) received
 Received 568 bytes of scan results (2 BSSes)
 Sorted scan results
 cc:5d:4e:47:99:bd freq=2472 qual=47 noise=-95 level=0 flags=0x0
 IEs - hexdump(len=400): 00 07 44 52 2d 57 69 46 69 01 0c 82 84 8b 96 0c 12
 18 24 30 48 60 6c 2a 01 00 00 07 44 52 2d 57 69 46 69 01 08 82 84 8b 96 0c
 12 18 24 03 01 0d 2a 01 00 32 04 30 48 60 6c 2d 1a 6e 18 1e ff ff 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3d 16 0d 07 11 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 18 01 00 00 0f ac 02
 02 00 00 0f ac 02 00 0f ac 04 01 00 00 0f ac 02 00 00 dd 18 00 50 f2 02 01
 01 00 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00 dd a9 00 50 f2 04
 10 4a 00 01 10 10 44 00 01 02 10 3b 00 01 03 10 47 00 10 98 58 f6 64 7a e3
 43 07 81 48 4c c9 e2 13 65 05 10 21 00 1a 5a 79 58 45 4c 20 43 6f 6d 6d 75
 6e 69 63 61 74 69 6f 6e 73 20 43 6f 72 70 2e 10 23 00 18 5a 79 58 45 4c 20
 4e 42 47 2d 34 31 38 4e 20 41 50 20 52 6f 75 74 65 72 10 24 00 08 4e 42 47
 2d 34 31 38 4e 10 42 00 0a 30 30 30 30 30 30 30 30 30 30 10 54 00 08 00 06
 00 50 f2 04 00 01 10 11 00 18 5a 79 58 45 4c 20 4e 42 47 2d 34 31 38 4e 20
 41 50 20 52 6f 75 74 65 72 10 08 00 02 00 86 dd 1e 00 90 4c 33 6e 18 1e ff
 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 dd 1a 00
 90 4c 34 0d 07 11 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 dd 06 00 e0 4c 02 01 60
 d8:5d:4c:86:24:b4 freq=2412 qual=46 noise=-95 level=0 flags=0x0
 IEs - hexdump(len=89): 00 0a 54 50 4c 49 4e 4b 48 4f 4d 45 01 0c 82 84 8b
 96 0c 18 30 48 12 24 60 6c 2a 01 00 00 0a 54 50 4c 49 4e 4b 48 4f 4d 45 01
 08 82 84 8b 96 0c 18 30 48 03 01 01 2a 01 00 32 04 12 24 60 6c 30 18 01 00
 00 0f ac 02 02 00 00 0f ac 02 00 0f ac 04 01 00 00 0f ac 02 01 00
 /dev/net/iprowifi4965/0: BSS: Start scan result update 1
 /dev/net/iprowifi4965/0: BSS: Add new id 0 BSSID cc:5d:4e:47:99:bd SSID
 'DR-WiFi'
 /dev/net/iprowifi4965/0: BSS: Add new id 1 BSSID d8:5d:4c:86:24:b4 SSID
 'TPLINKHOME'
 BSS: last_scan_res_used=2/32 last_scan_full=0
 Add randomness: count=1 entropy=0
 random pool - hexdump(len=128): [REMOVED]
 random_mix_pool - hexdump(len=8): [REMOVED]
 random_mix_pool - hexdump(len=5): [REMOVED]
 random pool - hexdump(len=128): [REMOVED]
 Add randomness: count=2 entropy=1
 random pool - hexdump(len=128): [REMOVED]
 random_mix_pool - hexdump(len=8): [REMOVED]
 random_mix_pool - hexdump(len=5): [REMOVED]
 random pool - hexdump(len=128): [REMOVED]
 /dev/net/iprowifi4965/0: New scan results available
 /dev/net/iprowifi4965/0: Selecting BSS from priority group 0
 /dev/net/iprowifi4965/0: 0: cc:5d:4e:47:99:bd ssid='DR-WiFi' wpa_ie_len=0
 rsn_ie_len=24 caps=0x11 level=0 wps
 /dev/net/iprowifi4965/0:    selected based on RSN IE
 /dev/net/iprowifi4965/0:    selected BSS cc:5d:4e:47:99:bd ssid='DR-WiFi'
 /dev/net/iprowifi4965/0: Request association: reassociate: 1  selected:
 cc:5d:4e:47:99:bd  bssid: 00:00:00:00:00:00  pending: 00:00:00:00:00:00
 wpa_state: SCANNING
 /dev/net/iprowifi4965/0: Trying to associate with cc:5d:4e:47:99:bd (SSID
 ='DR-WiFi' freq=2472 MHz)
 /dev/net/iprowifi4965/0: Cancelling scan request
 /dev/net/iprowifi4965/0: WPA: clearing own WPA/RSN IE
 /dev/net/iprowifi4965/0: Automatic auth_alg selection: 0x1
 /dev/net/iprowifi4965/0: RSN: using IEEE 802.11i/D9.0
 /dev/net/iprowifi4965/0: WPA: Selected cipher suites: group 8 pairwise 24
 key_mgmt 2 proto 2
 /dev/net/iprowifi4965/0: WPA: clearing AP WPA IE
 WPA: set AP RSN IE - hexdump(len=26): 30 18 01 00 00 0f ac 02 02 00 00 0f
 ac 02 00 0f ac 04 01 00 00 0f ac 02 00 00
 /dev/net/iprowifi4965/0: WPA: using GTK TKIP
 /dev/net/iprowifi4965/0: WPA: using PTK CCMP
 /dev/net/iprowifi4965/0: WPA: using KEY_MGMT WPA-PSK
 WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 02 01
 00 00 0f ac 04 01 00 00 0f ac 02 00 00
 /dev/net/iprowifi4965/0: No keys have been configured - skip key clearing
 /dev/net/iprowifi4965/0: State: SCANNING -> ASSOCIATING
 Limit connection to BSSID cc:5d:4e:47:99:bd freq=2472 MHz based on scan
 results (bssid_set=0)
 wpa_driver_bsd_associate: ssid 'DR-WiFi' wpa ie len 22 pairwise 3 group 2
 key mgmt 1
 wpa_driver_bsd_set_drop_unencrypted: enabled=1
 bsd_set_opt_ie: set WPA+RSN ie (len 22)
 wpa_driver_bsd_associate: set PRIVACY 1
 /dev/net/iprowifi4965/0: Setting authentication timeout: 10 sec 0 usec
 /dev/net/iprowifi4965/0: Authentication with cc:5d:4e:47:99:bd timed out.
 Added BSSID cc:5d:4e:47:99:bd into blacklist
 /dev/net/iprowifi4965/0: Request to deauthenticate -
 bssid=00:00:00:00:00:00 pending_bssid=cc:5d:4e:47:99:bd reason=3
 state=ASSOCIATING
 /dev/net/iprowifi4965/0: Event DEAUTH (12) received
 /dev/net/iprowifi4965/0: Deauthentication notification
 /dev/net/iprowifi4965/0:  * reason 3 (locally generated)
 Deauthentication frame IE(s) - hexdump(len=0): [NULL]
 /dev/net/iprowifi4965/0: CTRL-EVENT-DISCONNECTED bssid=cc:5d:4e:47:99:bd
 reason=3 locally_generated=1
 /dev/net/iprowifi4965/0: Auto connect enabled: try to reconnect (wps=0
 wpa_state=5)
 /dev/net/iprowifi4965/0: Setting scan request: 0 sec 100000 usec
 BSSID cc:5d:4e:47:99:bd blacklist count incremented to 2
 /dev/net/iprowifi4965/0: Blacklist count 2 --> request scan in 500 ms
 /dev/net/iprowifi4965/0: Not rescheduling scan to ensure that specific
 SSID scans occur
 /dev/net/iprowifi4965/0: Disconnect event - remove keys
 bsd_set_key: alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
 bsd_del_key: key_idx=0
 bsd_set_key: alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
 bsd_del_key: key_idx=1
 bsd_set_key: alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
 bsd_del_key: key_idx=2
 bsd_set_key: alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
 bsd_del_key: key_idx=3
 bsd_set_key: alg=0 addr=0x1809e6f8 key_idx=0 set_tx=0 seq_len=0 key_len=0
 bsd_del_key: addr=00:00:00:00:00:00
 /dev/net/iprowifi4965/0: State: ASSOCIATING -> DISCONNECTED
 /dev/net/iprowifi4965/0: No keys have been configured - skip key clearing
 /dev/net/iprowifi4965/0: State: DISCONNECTED -> DISCONNECTED
 /dev/net/iprowifi4965/0: Not rescheduling scan to ensure that specific
 SSID scans occur
 /dev/net/iprowifi4965/0: State: DISCONNECTED -> SCANNING
 Scan SSID - hexdump_ascii(len=7):
      44 52 2d 57 69 46 69                              DR-WiFi
 /dev/net/iprowifi4965/0: Starting AP scan for wildcard SSID
 wpa_driver_bsd_set_wpa: enabled=1
 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1
 /dev/net/iprowifi4965/0: Removing interface /dev/net/iprowifi4965/0
 /dev/net/iprowifi4965/0: Request to deauthenticate -
 bssid=00:00:00:00:00:00 pending_bssid=00:00:00:00:00:00 reason=3
 state=SCANNING
 /dev/net/iprowifi4965/0: No keys have been configured - skip key clearing
 /dev/net/iprowifi4965/0: State: SCANNING -> DISCONNECTED
 wpa_driver_bsd_set_countermeasures: enabled=0
 /dev/net/iprowifi4965/0: No keys have been configured - skip key clearing
 Removed BSSID cc:5d:4e:47:99:bd from blacklist (clear)
 /dev/net/iprowifi4965/0: BSS: Remove id 0 BSSID cc:5d:4e:47:99:bd SSID
 'DR-WiFi' due to wpa_bss_flush
 /dev/net/iprowifi4965/0: BSS: Remove id 1 BSSID d8:5d:4c:86:24:b4 SSID
 'TPLINKHOME' due to wpa_bss_flush
 /dev/net/iprowifi4965/0: Cancelling scan request
 /dev/net/iprowifi4965/0: Cancelling authentication timeout
 wpa_driver_bsd_set_wpa: enabled=0
 wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0
 bsd_set_opt_ie: set WPA+RSN ie (len 0)
 ioctl[SIOCS80211, op=26, val=0, arg_len=0]: General system error
 wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0
 bsd_set_opt_ie: set WPA+RSN ie (len 0)
 ioctl[SIOCS80211, op=26, val=0, arg_len=0]: General system error
 }}}

--
Ticket URL: <http://dev.haiku-os.org/ticket/9646#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: