Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

A bit of background:

  1. Ubuntu 13.04
  2. Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
  3. Driver BCM WL 6.30.223.30 (latest WL driver, as far as I know)

With this setup I am able to scan networks, but not able to connect, since wpa_supplicant fails with a configuration that used to work before upgrading to Ubuntu 13.04; follows the command I gave:

sudo wpa_supplicant -B -i eth1 -c /var/lib/wicd/configurations/841b5e297c30 -D wext -dd

...and the first part of the log:

pa_supplicant v1.0
random: Trying to read entropy from /dev/random
Initializing interface 'eth1' conf '/var/lib/wicd/configurations/841b5e297c30' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/var/lib/wicd/configurations/841b5e297c30' -> '/var/lib/wicd/configurations/841b5e297c30'
Reading configuration file '/var/lib/wicd/configurations/841b5e297c30'
ap_scan=1
ctrl_interface='/var/run/wpa_supplicant'
Line: 3 - start of a new network block
ssid - hexdump_ascii(len=5):
     6b 6f 6f 6e 73                                    koons           
scan_ssid=1 (0x1)
proto: 0x3
key_mgmt: 0x2
pairwise: 0x18
group: 0x18
PSK - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='koons'
WEXT: cfg80211-based driver detected
wext: interface eth1 phy: phy0
rfkill: initial event: idx=0 type=2 op=0 soft=0 hard=0
rfkill: initial event: idx=1 type=1 op=0 soft=0 hard=0
rfkill: initial event: idx=2 type=1 op=0 soft=0 hard=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf flags 0x0
netlink: Operstate: linkmode=1, operstate=5
eth1: Own MAC address: 1c:65:9d:22:38:ff
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=4 set_tx=0 seq_len=0 key_len=0
Driver did not support SIOCSIWENCODEEXT
wpa_driver_wext_set_key: alg=0 key_idx=5 set_tx=0 seq_len=0 key_len=0
Driver did not support SIOCSIWENCODEEXT
wpa_driver_wext_set_countermeasures
eth1: RSN: flushing PMKID list in the driver
eth1: Setting scan request: 0 sec 100000 usec
WPS: Set UUID for interface eth1
WPS: UUID based on MAC address - hexdump(len=16): f0 12 c4 c5 8f 2e 50 f3 ba 43 88 6e 6b 71 da 0f
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
Using existing control interface directory.
eth1: Added interface eth1
random: Got 20/20 bytes from /dev/random
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b06 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b1a len=16
eth1: State: DISCONNECTED -> SCANNING
Scan SSID - hexdump_ascii(len=5):
     6b 6f 6f 6e 73                                    koons           
eth1: Starting AP scan for specific SSID(s)
Scan requested (ret=-1) - scan timeout 10 seconds
eth1: Failed to initiate AP scan
eth1: State: SCANNING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
eth1: Setting scan request: 1 sec 0 usec
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b19 len=16
eth1: Event SCAN_RESULTS (3) received
Scan results did not fit - trying larger buffer (8192 bytes)
Received 7665 bytes of scan results (14 BSSes)
eth1: BSS: Start scan result update 1
eth1: BSS: Add new id 0 BSSID 84:1b:5e:29:7c:30 SSID 'koons'
eth1: BSS: Add new id 1 BSSID 74:44:01:31:1b:d2 SSID 'NETGEAR30'
eth1: BSS: Add new id 2 BSSID 00:60:64:43:3f:65 SSID 'BB'
eth1: BSS: Add new id 3 BSSID 08:86:3b:5d:b1:6c SSID 'belkin.16c'
eth1: BSS: Add new id 4 BSSID 00:25:86:3e:dc:c4 SSID 'jwf'
eth1: BSS: Add new id 5 BSSID 08:76:ff:0b:6d:4a SSID 'BigPond0B6D4A'
eth1: BSS: Add new id 6 BSSID 58:6d:8f:e8:ea:b7 SSID 'Grundy1'
eth1: BSS: Add new id 7 BSSID 10:0d:7f:33:3b:62 SSID 'J+T'
eth1: BSS: Add new id 8 BSSID 00:04:ed:9e:5e:d0 SSID ''
eth1: BSS: Add new id 9 BSSID 00:26:5a:32:20:c4 SSID 'Kenso'
eth1: BSS: Add new id 10 BSSID 00:18:e7:f4:79:4e SSID 'hibchab'
eth1: BSS: Add new id 11 BSSID 94:44:52:a7:f3:9b SSID 'Belkin.739B'
eth1: BSS: Add new id 12 BSSID 30:46:9a:37:2c:52 SSID 'Coopies'
eth1: BSS: Add new id 13 BSSID 00:04:ed:d1:ad:7f SSID 'cupcakes'
Add randomness: count=1 entropy=0
Add randomness: count=2 entropy=1
Add randomness: count=3 entropy=2
Add randomness: count=4 entropy=3
Add randomness: count=5 entropy=4
Add randomness: count=6 entropy=5
Add randomness: count=7 entropy=6
Add randomness: count=8 entropy=7
Add randomness: count=9 entropy=8
Add randomness: count=10 entropy=9
eth1: New scan results available
eth1: Selecting BSS from priority group 0
eth1: 0: 84:1b:5e:29:7c:30 ssid='koons' wpa_ie_len=28 rsn_ie_len=24 caps=0x11 level=-36 wps
eth1:    selected based on RSN IE
eth1:    selected BSS 84:1b:5e:29:7c:30 ssid='koons'
eth1: Request association: reassociate: 0  selected: 84:1b:5e:29:7c:30  bssid: 00:00:00:00:00:00  pending: 00:00:00:00:00:00  wpa_state: DISCONNECTED
eth1: Trying to associate with 84:1b:5e:29:7c:30 (SSID='koons' freq=2442 MHz)
FT: Stored MDIE and FTIE from (Re)Association Response - hexdump(len=0):
eth1: Cancelling scan request
eth1: WPA: clearing own WPA/RSN IE
eth1: Automatic auth_alg selection: 0x1
eth1: RSN: using IEEE 802.11i/D9.0
eth1: WPA: Selected cipher suites: group 8 pairwise 24 key_mgmt 2 proto 2
WPA: set AP WPA IE - hexdump(len=30): dd 1c 00 50 f2 01 01 00 00 50 f2 02 02 00 00 50 f2 04 00 50 f2 02 01 00 00 50 f2 02 0c 00
WPA: set AP RSN IE - hexdump(len=26): 30 18 01 00 00 0f ac 02 02 00 00 0f ac 04 00 0f ac 02 01 00 00 0f ac 02 0c 00
eth1: WPA: using GTK TKIP
eth1: WPA: using PTK CCMP
eth1: WPA: using KEY_MGMT WPA-PSK
eth1: WPA: not using MGMT group cipher
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
eth1: No keys have been configured - skip key clearing
eth1: State: DISCONNECTED -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
wpa_driver_wext_set_drop_unencrypted
wpa_driver_wext_set_psk
eth1: Association request to the driver failed
eth1: Setting authentication timeout: 5 sec 0 usec

Could someone shed some light on this ?

Thanks in advance, Luca.

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.