Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 340645

Summary: net-wireless/wpa_supplicant-0.7.2-r3 breaks wireless networking
Product: Gentoo Linux Reporter: Bertjan Broeksema <broeksema>
Component: [OLD] UnspecifiedAssignee: Bjarke Istrup Pedersen (RETIRED) <gurligebis>
Status: RESOLVED NEEDINFO    
Severity: normal CC: alexxy, krinpaus, patrick.lorazo
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bertjan Broeksema 2010-10-12 08:38:39 UTC
After updating wpa_supplicant-0.6.* to wpa_supplicant-0.7.2-r3 my wireless networking stops working. When starting wpa_supplicant manually I get the following output:

Initializing interface 'wlan0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' 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='/var/run/wpa_supplicant'
ap_scan=0
Line: 12 - start of a new network block
ssid - hexdump_ascii(len=14):
     46 52 49 54 5a 5f 42 6f 78 5f 37 32 37 30         FRITZ_Box_7270  
proto: 0x1
key_mgmt: 0x2
pairwise: 0x18
PSK - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='FRITZ_Box_7270'
WEXT: cfg80211-based driver detected
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf flags 0x0
netlink: Operstate: linkmode=1, operstate=5
Own MAC address: 00:16:0a:23:fb:50
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_countermeasures
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 100000 usec
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=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b06 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b1a len=16
EAPOL: disable timer tick
EAPOL: Supplicant port status: Unauthorized

I didn't change my (working) /etc/conf.d/net and /etc/wpa_supplicant/wpa_supplicant.conf files. Down grading to 0.6.* solves the problem again. My /etc/conf.d/net file:

modules=( "wpa_supplicant" )
wpa_supplicant_wlan0="-Dwext"
modules_wlan0="dhcpcd"

And my wpa_supplicant.conf:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
ap_scan=0

network={
  ssid="My SSID"
  proto=WPA
  key_mgmt=WPA-PSK
  pairwise=CCMP TKIP
  psk="my psk"
}




Reproducible: Always

Actual Results:  
wlan0 doesn't even associate with the network

Expected Results:  
wlan0 doesn associate with the network and gets an ip address assigned
Comment 1 Patrick Lorazo 2010-12-14 02:52:38 UTC
Upgrading from 0.6.10 to 0.7.2-r3 gives me the same problems...
Comment 2 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2010-12-14 10:02:49 UTC
If you run wpa_supplicant manually (without the init script), does it work then?
Comment 3 Pacho Ramos gentoo-dev 2012-11-18 13:00:08 UTC
(In reply to comment #2)
> If you run wpa_supplicant manually (without the init script), does it work
> then?