LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 02-08-2010, 08:45 PM   #1
nuxrl
Member
 
Registered: Jun 2006
Location: NY, USA
Distribution: Slackware, Arch
Posts: 176

Rep: Reputation: 31
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:
Code:
#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:
Code:
          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
Code:
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:
Code:
> 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:
Code:
[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.
 
Old 02-09-2010, 04:37 AM   #2
janhe
Member
 
Registered: Jul 2007
Location: Belgium
Distribution: slackware64 13.1, slackware 13.1
Posts: 369

Rep: Reputation: 45
Besides the obvious "Have you tried power cycling the access point?", I cannot think of anything.

Does it work if you disable WPA temporarily?
 
Old 02-09-2010, 06:33 AM   #3
nuxrl
Member
 
Registered: Jun 2006
Location: NY, USA
Distribution: Slackware, Arch
Posts: 176

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by janhe View Post
Besides the obvious "Have you tried power cycling the access point?", I cannot think of anything.

Does it work if you disable WPA temporarily?
Thanks for the input.

Yes, I have tried power cycling the access point multiple times. No difference. Will try to disable WPA and see if it connects.
 
Old 02-09-2010, 07:34 AM   #4
nuxrl
Member
 
Registered: Jun 2006
Location: NY, USA
Distribution: Slackware, Arch
Posts: 176

Original Poster
Rep: Reputation: 31
update:

Tried to disable WPA and use WEP/no security settings. The card still can not connect. dhcpcd prints "waiting for carrier" and eventually times out. Also tried an older version of iwl3945 driver/firmware. No success. I am thinking if the card itself is malfunctioning although it can scan by "iwlist wlan0 scan".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No connection with Knoppix 5.3.1 and wireless card Intel 3945ABG alcor1 Linux - Wireless Networking 1 01-18-2009 06:57 PM
Fedora 7 with Intel Pro 3945ABG wireless card jigkin22 Linux - Hardware 1 10-15-2007 06:30 AM
Intel 3945ABG Wireless card smiffy848 Linux - Newbie 1 06-23-2007 10:21 AM
Cannot get intel wireless pro 3945abg card to work Jen Fraggle Linux - Wireless Networking 2 01-25-2007 01:29 PM
intel pro 3945abg wireless card driver problem garfield1228 Linux - Hardware 0 04-20-2006 08:15 AM


All times are GMT -5. The time now is 06:23 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration