You are not logged in.

#1 2010-02-09 01:45:48

nuxrl
Member
Registered: 2008-04-04
Posts: 7

Intel 3945ABG card fails to associate with the AP

Have been using Arch for about one year. Everything works great until a few days ago. My wireless card couldn't connect to my router.

kernel: 2.6.32-ARCH
wireless card: Intel 3945ABG
wireless card driver/firmware: iwlwifi-3945-ucode 15.32.2.9-2
ap security: WPA2 personal
ap encryption: AES
wpa_supplicant version: wpa_supplicant v0.6.9

The wireless card:

#lspci -vv
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
        Subsystem: Intel Corporation Device 1010                                                      
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- 
        Latency: 0, Cache Line Size: 64 bytes                                                                
        Interrupt: pin A routed to IRQ 32                                                                    
        Region 0: Memory at df2ff000 (32-bit, non-prefetchable) [size=4K]                                    
        Capabilities: [c8] Power Management version 2                                                        
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)                   
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-                                       
        Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+                                           
                Address: 00000000fee0300c  Data: 41c9                                                        
        Capabilities: [e0] Express (v1) Legacy Endpoint, MSI 00                                              
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 unlimited                  
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-                                      
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr+ TransPend-
                LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <128ns, L1 <64us
                        ClockPM+ Surprise- LLActRep- BwNot-
                LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+
                        ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
        Capabilities: [100] Advanced Error Reporting
                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
                UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
                CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
                AERCap: First Error Pointer: 14, GenCap- CGenEn- ChkCap- ChkEn-
        Capabilities: [140] Device Serial Number 00-1c-bf-ff-ff-bb-75-f0
        Kernel driver in use: iwl3945
        Kernel modules: iwl3945

The AP:

          Cell 01 - Address: 00:21:29:B6:7D:A8
                    Channel:11                
                    Frequency:2.462 GHz (Channel 11)
                    Quality=70/70  Signal level=-17 dBm  
                    Encryption key:on                    
                    ESSID:"darkstar"                     
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s                 
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s          
                    Mode:Master                                         
                    Extra:tsf=00000013fa157af7                          
                    Extra: Last beacon: 1646ms ago                      
                    IE: Unknown: 00086461726B73746172                   
                    IE: Unknown: 010882848B9624B0486C                   
                    IE: Unknown: 03010B                                 
                    IE: Unknown: 2A0100                                 
                    IE: Unknown: 2F0100                                 
                    IE: IEEE 802.11i/WPA2 Version 1                     
                        Group Cipher : CCMP                             
                        Pairwise Ciphers (1) : CCMP                     
                        Authentication Suites (1) : PSK                 
                    IE: Unknown: 32048C129860                           
                    IE: Unknown: DD06001018020203

/etc/wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
        ssid="darkstar"
        proto=RSN
        key_mgmt=WPA-PSK
        pairwise=CCMP TKIP
        group=CCMP TKIP
        psk=MyPSK
}

wpa_cli prints:

> level 1
<2>CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
OK                                                         
> <2>CTRL-EVENT-SCAN-RESULTS                               
<2>WPS-AP-AVAILABLE                                        
<2>Trying to associate with 00:21:29:b6:7d:a8 (SSID='darkstar' freq=2462 MHz)
<1>Cancelling scan request                                                   
<1>RSN: using IEEE 802.11i/D9.0                                              
<1>WPA: using GTK CCMP                                                       
<1>WPA: using PTK CCMP                                                       
<1>WPA: using KEY_MGMT WPA-PSK                                               
<1>Setting authentication timeout: 10 sec 0 usec                             
<1>Associated to a new BSS: BSSID=00:21:29:b6:7d:a8                          
<2>Associated with 00:21:29:b6:7d:a8                                         
<1>Setting authentication timeout: 10 sec 0 usec                             
<1>Cancelling scan request                                                   
<1>Setting scan request: 0 sec 100000 usec                                   
<2>CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys

wpa_supplicant debug messages:

[root@henry etc]# wpa_supplicant -D wext -c /etc/wpa_supplicant.conf -i wlan0 -B -dddt
1265678056.805999: Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
1265678056.806073: Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
1265678056.806090: Reading configuration file '/etc/wpa_supplicant.conf'
1265678056.806141: ctrl_interface='/var/run/wpa_supplicant'
1265678056.806158: ctrl_interface_group='wheel'
1265678056.806170: Line: 3 - start of a new network block
1265678056.806195: ssid - hexdump_ascii(len=8):
     64 61 72 6b 73 74 61 72                           darkstar
1265678056.806235: proto: 0x2
1265678056.806249: key_mgmt: 0x2
1265678056.806263: pairwise: 0x18
1265678056.806275: group: 0x18
1265678056.806288: PSK - hexdump(len=32): [REMOVED]
1265678056.806323: Priority group 0
1265678056.806336:    id=0 ssid='darkstar'
1265678056.806348: Initializing interface (2) 'wlan0'
1265678056.806468: SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
1265678056.806484:   capabilities: key_mgmt 0xf enc 0xf flags 0x0
1265678056.808384: WEXT: Operstate: linkmode=1, operstate=5
1265678056.815538: Own MAC address: 00:1c:bf:bb:75:f0
1265678056.815559: wpa_driver_wext_set_wpa
1265678056.815578: wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
1265678056.815603: wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
1265678056.815622: wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
1265678056.815638: wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
1265678056.815655: wpa_driver_wext_set_countermeasures
1265678056.815668: wpa_driver_wext_set_drop_unencrypted
1265678056.815680: RSN: flushing PMKID list in the driver
1265678056.815709: Setting scan request: 0 sec 100000 usec
1265678056.815761: WPS: UUID based on MAC address - hexdump(len=16): 51 af e9 0b 7c 2b 57 a1 bb 53 82 f1 b0 0f 0d d6
1265678056.815787: WPS: Build Beacon and Probe Response IEs
1265678056.815802: WPS:  * Version
1265678056.815816: WPS:  * Wi-Fi Protected Setup State (0)
1265678056.815830: WPS:  * Version
1265678056.815840: WPS:  * Wi-Fi Protected Setup State (0)
1265678056.815850: WPS:  * Response Type (2)
1265678056.815860: WPS:  * UUID-E
1265678056.815872: WPS:  * Manufacturer
1265678056.815882: WPS:  * Model Name
1265678056.815892: WPS:  * Model Number
1265678056.815901: WPS:  * Serial Number
1265678056.815911: WPS:  * Primary Device Type
1265678056.815921: WPS:  * Device Name
1265678056.815931: WPS:  * Config Methods (0)
1265678056.815941: WPS:  * RF Bands (3)
1265678056.818027: EAPOL: SUPP_PAE entering state DISCONNECTED
1265678056.818047: EAPOL: KEY_RX entering state NO_KEY_RECEIVE
1265678056.818058: EAPOL: SUPP_BE entering state INITIALIZE
1265678056.818069: EAP: EAP entering state DISABLED
1265678056.818103: Using existing control interface directory.
1265678056.819190: ctrl_interface_group=10 (from group name 'wheel')
1265678056.819317: Added interface wlan0
1265678056.819336: Daemonize..

Since the card works in scanning mode, I assume it's OK. I have other devices in the house that also connect to the same AP. Everyone works except this  laptop.

Any suggestions?

Thanks.

Offline

#2 2010-02-11 11:19:48

panuh
Member
From: X :ɯoɹℲ
Registered: 2009-11-24
Posts: 144

Re: Intel 3945ABG card fails to associate with the AP

I think there are several adapters concerned by this problem but there also seems to be no one to know a solution (if I didn't miss the right among all the threads there).

I have the same chipset as you but I only connect via WEP. However my workaround should work for you, too in case you have the same problem:
You should first associate the AP and then do 'ifconfig wlan0 up'. iwconfig should then show the AP's MAC-adress and you should be able to do all the other things as starting wpa_supplicant.
For me, any reconnect after that will work without problems.

If it doesn't work, try upping the device, scan, associate, down again and up again. This, for me, always works.

It's an ugly workaraound but it would be nice if you could post whether it's the same for you or not. I've seen some threads and I'd like to know if it's really a spread problem or a coincidence. Or just selective perception on my side big_smile

Offline

#3 2010-02-11 11:31:51

brianhanna
Member
Registered: 2009-10-30
Posts: 157

Re: Intel 3945ABG card fails to associate with the AP

I have the same wireless card and haven't had this problem.  I use WEP though.  The 3945 driver seems to have been going through a lot of turmoil lately.

Offline

Board footer

Powered by FluxBB