can't associate

Holger Schurig hs4233 at mail.mn-solutions.de
Fri Feb 16 06:52:20 EST 2007


Somehow I can't associate to a Cisco AP.

# modprobe usb8xxx
# ifconfig eth1 up
# iwconfig eth1 essid SCHURIG
# iwconfig eth1
eth1      MRVL-USB8388  ESSID:""  Nickname:""
          Mode:Managed  Access Point: Not-Associated   Bit Rate:1 Mb/s
          Tx-Power=18 dBm
          Retry limit:8   RTS thr=2347 B   Fragment thr=2346 B
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
# iwlist eth1 scanning
eth1      No scan results

However, the driver *did* find my access point, even when I did not
do an "echo SCHURIG >extscan":

# cat /sys/kernel/debug/libertas_wireless/eth1/getscantable
------------------------------------------------------------------------------
# | ch  | ss  |       bssid       |   cap    |    TSF   | Qual | SSID
------------------------------------------------------------------------------
00| 001 | 038 | 00:13:19:80:da:30 | 0801-I   | 00e32e90 | 218 | SCHURIG

After I did this, the following worked:

# iwlist eth1 scanning
eth1      Scan completed :
          Cell 01 - Address: 00:13:19:80:DA:30
                    ESSID:"SCHURIG"
                    Mode:Managed
                    Frequency:2.412 GHz (Channel 1)
                    Quality=100/100  Signal level=-43 dBm  Noise level=-96 dBm
                    Encryption key:off
                    Bit Rates:54 Mb/s

It just did report a wrong bit rate (iwlist eth1 scanning with another card
report all bitrates from 1 Mb/s to 54 Mb/s). However, "iwconfig eth1" still
doesn't show any association.


When I did make an extscan, I suddenly got an association:

# echo SCHURIG >/sys/kernel/debug/libertas_wireless/eth1/extscan
# cat /sys/kernel/debug/libertas_wireless/eth1/getscantable
------------------------------------------------------------------------------
# | ch  | ss  |       bssid       |   cap    |    TSF   | Qual | SSID
------------------------------------------------------------------------------
00| 001 | 010 | 00:13:19:80:da:30 | 0801-I   | 29379031 | 246 | SCHURIG
# iwconfig eth1 essid SCHURIG
# iwconfig eth1
eth1      MRVL-USB8388  ESSID:"SCHURIG"  Nickname:""
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:13:19:80:DA:30
          Bit Rate:54 Mb/s   Tx-Power=18 dBm
          Retry limit:8   RTS thr=2347 B   Fragment thr=2346 B
          Encryption key:off
          Power Management:off
          Link Quality=100/100  Signal level=-43 dBm  Noise level=-93 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:42
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Without the second call to "iwconfig eth1 essid SCHURIG" this did not work,
thought.



The device is

  idVendor           0x1286
  idProduct          0x2001
  bcdDevice           31.07

and the firmware is usb8388_A1_W8015FP14_FW2.bin renamed to usb8388.bin
with an md5sum of 421964206b0699014a11256ac48dd0a8



More information about the libertas-dev mailing list