You are not logged in.

#1 2008-07-05 17:09:53

darzephyr
Member
From: Argentina
Registered: 2006-08-02
Posts: 43

WIFI: Association times with ndiswrapper > 7 mins

Hi, I need some help with these smile.
I'm experiencing a wireless association problem since I installed ndiswrapper.
Sometimes it associates to the router inmediatly but another times take up to 7 minutes (or more).
My card is a Broadcom 4310 USB (inside a Dell Insipiron 1525)
My router is really near (less than 1 meter)

With Windows Vista (preinstalled ¬_¬) connects inmediatly. I also tried the propietary Broadcom driver "wl" and it connects inmediatly too. (But the connection is really bad when the signal is not at 100%)

I tried by using the recently released ndiswrapper 1.53 but I get the same results.

I'm using netcfg2 2.0.6
My kernel is 2.6.25.10 (x86)

The Windows drivers are from the Dell website for my wireless card (x86 version).

When the connection is finally established, the navigation is OK

Here is the lspci output:
   

0b:00.0 Network controller: Broadcom Corporation BCM4310 USB Controller (rev 01)
        Subsystem: Dell Unknown device 000b
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at fe7fc000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [58] Vendor Specific Information <?>
        Capabilities: [e8] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
        Capabilities: [d0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting <?>
        Capabilities: [13c] Virtual Channel <?>
        Capabilities: [160] Device Serial Number 1f-00-4f-ff-ff-3a-29-6d
        Capabilities: [16c] Power Budgeting <?>

"ndiswrapper -l" output:
   

bcmwl5 : driver installed
        device (14E4:4315) present (alternate driver: wl)

( the "wl" module is installed but no loaded)

Here is my netcfg profile:
   

CONNECTION="wireless"
INTERFACE=wlan0
SCAN="yes"
SECURITY="wpa"
ESSID="XXXX"
KEY="ZZZZ"
IP="static"
IFOPTS="192.168.1.100 netmask 255.255.255.0 broadcast 192.168.1.255"
GATEWAY="192.168.1.1"
TIMEOUT=20

(i'm using static IP instead of DHCP)

iwconfig output (when it's connected):

wlan0     IEEE 802.11g  ESSID:"XXXXXX"
          Mode:Managed  Frequency:2.442 GHz  Access Point: 00:E0:4C:F6:EA:6B
          Bit Rate=54 Mb/s   Tx-Power:32 dBm
          RTS thr:2347 B   Fragment thr:2346 B
          Power Management:off
          Link Quality:100/100  Signal level:-27 dBm  Noise level:-96 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Here is the iwevent output when it takes a lot of time:
   

Waiting for Wireless Events from interfaces...
13:42:04.706969   wlan0    Set Mode:Managed
13:42:04.743007   wlan0    Set ESSID:"emiNET"
13:42:07.826508   wlan0    Set Mode:Managed
13:42:07.861046   wlan0    Set ESSID:"emiNET"
13:42:07.964314   wlan0    Set Mode:Managed
13:42:08.092497   wlan0    Set Mode:Managed
13:42:08.092522   wlan0    Set Frequency:2.442 GHz (Channel 7)
13:42:08.092564   wlan0    Set ESSID:"emiNET"
13:42:08.548393   wlan0    Association Request IEs:0006656D694E455401088C9298A4B0C8E0EC210208122402010E30140100000FAC040100000FAC040100000FAC020800DD09001018020010000000DD0600409
13:42:08.548449   wlan0    Association Response IEs:01088C9298A4B0C8E0EC
13:42:08.548459   wlan0    New Access Point/Cell address:00:E0:4C:F6:EA:6B
13:42:11.854936   wlan0    Association Request IEs:0006656D694E455401088C9298A4B0C8E0EC210208122402010E30140100000FAC040100000FAC040100000FAC020800DD09001018020010000000DD0600409
13:42:11.854987   wlan0    Association Response IEs:01088C9298A4B0C8E0EC
13:42:11.854997   wlan0    New Access Point/Cell address:00:E0:4C:F6:EA:6B

.... a lot of "Association Request/Response" messages ....

13:49:47.248244   wlan0    Association Request IEs:0006656D694E455401088C9298A4B0C8E0EC210208122402010E30140100000FAC040100000FAC040100000FAC020800DD09001018020010000000DD0600409
13:49:47.248295   wlan0    Association Response IEs:01088C9298A4B0C8E0EC
13:49:47.248305   wlan0    New Access Point/Cell address:00:E0:4C:F6:EA:6B

(then it stops and I can ping the router and browse the web)
(( when the association messages are displayed without stopping I can't ping the router))

If I forgot some relevant information, please tell me.

UPDATE:

It seems to be related to WPA/WPA2/TKIP/AES router configuration. After reinstalling the ndiswrapper drivers (while testing another drivers) and setting the router configuration to WPA2 Mixed ( WPA+TKIP  +  WPA2+AES ) the issue seems to be solved (association takes less than 20/30 secs) , but it needs more testing.

Last edited by darzephyr (2008-07-09 02:02:37)


Darío Andrés
KDE BugSquad Team and Developer

Offline

Board footer

Powered by FluxBB