hostap contra DWL-2000AP+

mody at quick.cz mody at quick.cz
Mon Sep 6 16:05:40 EDT 2004


Hello!

I've a big problem with my z-com xi-330 Prism3 base PCMCIA card and HW AP
DWL-2000AP+. I'm not able to associate. The AP is setup up 64bit WEP key and
DHCP server. Other guys from my office with xi-325 (Prism2.5) and Centrino
can associate withou any problems.

I have three days to play with the AP. What should I do now to hunt the
problem? I have kismet but I dunno how to read the binary dump. I dunno much
about 802.11b/g standard.

I need a help from an expert. Please help!

Thanx!
Mody

System: Debian unstable, kernel 2.6.8, hostap from cvs (IMO 0.2.5 version).

/var/log/syslog:
...
Sep  6 09:08:04 localhost cardmgr[2598]: executing: 'modprobe hostap'
Sep  6 09:08:04 localhost kernel: hostap_crypt: registered algorithm 'NULL'
Sep  6 09:08:04 localhost cardmgr[2598]: executing: 'modprobe hostap_cs'
Sep  6 09:08:04 localhost kernel: hostap_cs: CVS (Jouni Malinen <jkmaline at cc.hut.fi>)
Sep  6 09:08:04 localhost kernel: hostap_cs: setting Vcc=33 (constant)
Sep  6 09:08:04 localhost kernel: hostap_cs: CS_EVENT_CARD_INSERTION
Sep  6 09:08:04 localhost kernel: hostap_cs: setting Vcc=50 (from config)
Sep  6 09:08:04 localhost kernel: Checking CFTABLE_ENTRY 0x01 (default 0x01)
Sep  6 09:08:04 localhost kernel: IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
Sep  6 09:08:04 localhost kernel: io->flags = 0x0047, io.base=0x0000, len=128
Sep  6 09:08:04 localhost kernel: hostap_cs: Registered netdevice wifi0
Sep  6 09:08:04 localhost kernel: hostap_cs: index 0x01: Vcc 5.0, irq 3, io 0x0400-0x047f
Sep  6 09:08:05 localhost kernel: prism2_hw_init: initialized in 194 ms
Sep  6 09:08:05 localhost kernel: wifi0: NIC: id=0x800c v1.0.0
Sep  6 09:08:05 localhost kernel: wifi0: PRI: id=0x15 v1.1.1
Sep  6 09:08:05 localhost kernel: wifi0: STA: id=0x1f v1.7.4
Sep  6 09:08:05 localhost kernel: wifi0: registered netdevice wlan0
Sep  6 09:08:05 localhost cardmgr[2598]: executing: './network start wlan0'
Sep  6 09:08:05 localhost kernel: prism2_download: dl_cmd=4 start_addr=0x003f0000 num_areas=3
Sep  6 09:08:05 localhost kernel: wifi0: test Genesis mode with HCR 0x1f
Sep  6 09:08:05 localhost kernel: prism2_pccard_cor_sreset: original COR 41
Sep  6 09:08:05 localhost kernel: prism2_pccard_genesis_sreset: original COR 41
Sep  6 09:08:05 localhost kernel: Readback test failed, HCR 0x1f write 00 e1 a1 ff read 00 c1 a1 c1
Sep  6 09:08:05 localhost kernel: wifi0: test Genesis mode with HCR 0x0f
Sep  6 09:08:05 localhost kernel: prism2_pccard_cor_sreset: original COR 41
Sep  6 09:08:05 localhost kernel: prism2_pccard_genesis_sreset: original COR 41
Sep  6 09:08:05 localhost kernel: Readback test succeeded, HCR 0x0f
Sep  6 09:08:05 localhost kernel: prism2_pccard_genesis_sreset: original COR 41
Sep  6 09:08:05 localhost kernel: prism2_hw_init: initialized in 0 ms
Sep  6 09:08:05 localhost kernel: wifi0: NIC: id=0x8000 v0.0.1
Sep  6 09:08:05 localhost kernel: wifi0: PRI: id=0x15 v1.1.4
Sep  6 09:08:05 localhost kernel: Could not get RID for component STA
Sep  6 09:08:05 localhost kernel: wifi0: Failed to read STA f/w version - only Primary f/w present
Sep  6 09:08:05 localhost kernel: prism2_download: dl_cmd=6 start_addr=0x003f0000 num_areas=3
Sep  6 09:08:05 localhost kernel: wifi0: test Genesis mode with HCR 0x1f
Sep  6 09:08:05 localhost kernel: prism2_pccard_cor_sreset: original COR 41
Sep  6 09:08:05 localhost kernel: prism2_pccard_genesis_sreset: original COR 41
Sep  6 09:08:05 localhost kernel: Readback test failed, HCR 0x1f write 00 e1 a1 ff read 00 c1 a1 c1
Sep  6 09:08:05 localhost kernel: wifi0: test Genesis mode with HCR 0x0f
Sep  6 09:08:05 localhost kernel: prism2_pccard_cor_sreset: original COR 41
Sep  6 09:08:05 localhost kernel: prism2_pccard_genesis_sreset: original COR 41
Sep  6 09:08:05 localhost kernel: Readback test succeeded, HCR 0x0f
Sep  6 09:08:05 localhost kernel: prism2_pccard_genesis_sreset: original COR 41
Sep  6 09:08:05 localhost kernel: prism2_hw_init: initialized in 0 ms
Sep  6 09:08:05 localhost kernel: wifi0: NIC: id=0x800c v1.0.0
Sep  6 09:08:05 localhost kernel: wifi0: PRI: id=0x15 v1.1.4
Sep  6 09:08:05 localhost kernel: Could not get RID for component STA
Sep  6 09:08:05 localhost kernel: wifi0: Failed to read STA f/w version - only Primary f/w present
Sep  6 09:08:05 localhost kernel: prism2_download: dl_cmd=5 start_addr=0x003f0c01 num_areas=3
Sep  6 09:08:05 localhost kernel: prism2_hw_init: initialized in 27 ms
Sep  6 09:08:05 localhost kernel: wifi0: NIC: id=0x800c v1.0.0
Sep  6 09:08:05 localhost kernel: wifi0: PRI: id=0x15 v1.1.4
Sep  6 09:08:05 localhost kernel: wifi0: STA: id=0x1f v1.8.0
Sep  6 09:08:05 localhost kernel: prism2: wlan0: operating mode changed 3 -> 2
Sep  6 09:08:05 localhost kernel: hostap_crypt: registered algorithm 'WEP'
Sep  6 09:08:05 localhost dhclient: Internet Systems Consortium DHCP Client V3.0.1
Sep  6 09:08:05 localhost dhclient: Copyright 2004 Internet Systems Consortium.
Sep  6 09:08:05 localhost dhclient: All rights reserved.
Sep  6 09:08:05 localhost dhclient: For info, please visit http://www.isc.org/products/DHCP
Sep  6 09:08:05 localhost dhclient: 
Sep  6 09:08:05 localhost dhclient: wifi0: unknown hardware address type 801
Sep  6 09:08:05 localhost dhclient: sit0: unknown hardware address type 776
Sep  6 09:08:06 localhost kernel: wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
Sep  6 09:08:06 localhost kernel:    retry_count=0 tx_rate=0 fc=0x4108 (Data::0 ToDS)
Sep  6 09:08:06 localhost kernel:    A1=00:00:00:00:00:00 A2=00:60:b3:8c:26:9a A3=33:33:00:00:00:16 A4=00:00:00:00:00:00
Sep  6 09:08:06 localhost kernel: wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
Sep  6 09:08:06 localhost kernel:    retry_count=0 tx_rate=0 fc=0x4108 (Data::0 ToDS)
Sep  6 09:08:06 localhost kernel:    A1=00:00:00:00:00:00 A2=00:60:b3:8c:26:9a A3=33:33:ff:8c:26:9a A4=00:00:00:00:00:00
Sep  6 09:08:07 localhost kernel: wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
Sep  6 09:08:07 localhost kernel:    retry_count=0 tx_rate=0 fc=0x4108 (Data::0 ToDS)
Sep  6 09:08:07 localhost kernel:    A1=00:00:00:00:00:00 A2=00:60:b3:8c:26:9a A3=33:33:00:00:00:02 A4=00:00:00:00:00:00
Sep  6 09:08:07 localhost dhclient: wifi0: unknown hardware address type 801
Sep  6 09:08:07 localhost dhclient: sit0: unknown hardware address type 776
Sep  6 09:08:07 localhost kernel: NET: Registered protocol family 17
Sep  6 09:08:07 localhost dhclient: Listening on LPF/wlan0/00:60:b3:8c:26:9a
Sep  6 09:08:07 localhost dhclient: Sending on   LPF/wlan0/00:60:b3:8c:26:9a
Sep  6 09:08:07 localhost dhclient: Sending on   Socket/fallback
Sep  6 09:08:11 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
Sep  6 09:08:11 localhost kernel: wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
Sep  6 09:08:11 localhost kernel:    retry_count=0 tx_rate=0 fc=0x4108 (Data::0 ToDS)
Sep  6 09:08:11 localhost kernel:    A1=00:00:00:00:00:00 A2=00:60:b3:8c:26:9a A3=ff:ff:ff:ff:ff:ff A4=00:00:00:00:00:00
Sep  6 09:08:11 localhost kernel: wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
Sep  6 09:08:11 localhost kernel:    retry_count=0 tx_rate=0 fc=0x4108 (Data::0 ToDS)
Sep  6 09:08:11 localhost kernel:    A1=00:00:00:00:00:00 A2=00:60:b3:8c:26:9a A3=33:33:00:00:00:02 A4=00:00:00:00:00:00
Sep  6 09:08:15 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
Sep  6 09:08:15 localhost kernel: wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
Sep  6 09:08:15 localhost kernel:    retry_count=0 tx_rate=0 fc=0x4108 (Data::0 ToDS)
Sep  6 09:08:15 localhost kernel:    A1=00:00:00:00:00:00 A2=00:60:b3:8c:26:9a A3=ff:ff:ff:ff:ff:ff A4=00:00:00:00:00:00
Sep  6 09:08:15 localhost kernel: wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
Sep  6 09:08:15 localhost kernel:    retry_count=0 tx_rate=0 fc=0x4108 (Data::0 ToDS)
Sep  6 09:08:15 localhost kernel:    A1=00:00:00:00:00:00 A2=00:60:b3:8c:26:9a A3=33:33:00:00:00:02 A4=00:00:00:00:00:00
Sep  6 09:08:16 localhost kernel: wlan0: no IPv6 routers present
Sep  6 09:08:20 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
Sep  6 09:08:20 localhost kernel: wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
Sep  6 09:08:20 localhost kernel:    retry_count=0 tx_rate=0 fc=0x4108 (Data::0 ToDS)
Sep  6 09:08:20 localhost kernel:    A1=00:00:00:00:00:00 A2=00:60:b3:8c:26:9a A3=ff:ff:ff:ff:ff:ff A4=00:00:00:00:00:00
Sep  6 09:08:29 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
Sep  6 09:08:29 localhost kernel: wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
Sep  6 09:08:29 localhost kernel:    retry_count=0 tx_rate=0 fc=0x4108 (Data::0 ToDS)
Sep  6 09:08:29 localhost kernel:    A1=00:00:00:00:00:00 A2=00:60:b3:8c:26:9a A3=ff:ff:ff:ff:ff:ff A4=00:00:00:00:00:00
Sep  6 09:08:39 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
Sep  6 09:08:39 localhost kernel: wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
Sep  6 09:08:39 localhost kernel:    retry_count=0 tx_rate=0 fc=0x4108 (Data::0 ToDS)
Sep  6 09:08:39 localhost kernel:    A1=00:00:00:00:00:00 A2=00:60:b3:8c:26:9a A3=ff:ff:ff:ff:ff:ff A4=00:00:00:00:00:00
Sep  6 09:08:53 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16
Sep  6 09:08:53 localhost kernel: wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
Sep  6 09:08:53 localhost kernel:    retry_count=0 tx_rate=0 fc=0x4108 (Data::0 ToDS)
Sep  6 09:08:53 localhost kernel:    A1=00:00:00:00:00:00 A2=00:60:b3:8c:26:9a A3=ff:ff:ff:ff:ff:ff A4=00:00:00:00:00:00
Sep  6 09:09:09 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
Sep  6 09:09:09 localhost kernel: wifi0: TXEXC - status=0x0004 ([Discon]) tx_control=000c
Sep  6 09:09:09 localhost kernel:    retry_count=0 tx_rate=0 fc=0x4108 (Data::0 ToDS)
Sep  6 09:09:09 localhost kernel:    A1=00:00:00:00:00:00 A2=00:60:b3:8c:26:9a A3=ff:ff:ff:ff:ff:ff A4=00:00:00:00:00:00
Sep  6 09:09:12 localhost dhclient: No DHCPOFFERS received.
Sep  6 09:09:12 localhost dhclient: No working leases in persistent database - sleeping.
Sep  6 09:09:12 localhost cardmgr[2598]: + Downloading primary firmware /etc/hostap_fw/AK010104.HEX to interface wlan0
Sep  6 09:09:12 localhost cardmgr[2598]: + srec summary for AK010104.HEX
Sep  6 09:09:12 localhost cardmgr[2598]: + Included file name: AK010104.HEX
Sep  6 09:09:12 localhost cardmgr[2598]: + Component: 0x0015 1.1.4 (primary firmware)
Sep  6 09:09:12 localhost cardmgr[2598]: + 
Sep  6 09:09:12 localhost cardmgr[2598]: + 
Sep  6 09:09:12 localhost cardmgr[2598]: + Verifying update compatibility and combining data:
Sep  6 09:09:12 localhost cardmgr[2598]: + Plugging PDR 0400 (NIC configuration): ram16=1 pci=0 (03 00)
Sep  6 09:09:12 localhost cardmgr[2598]: + OK.
Sep  6 09:09:12 localhost cardmgr[2598]: + 
Sep  6 09:09:12 localhost cardmgr[2598]: + Downloading to volatile memory (RAM).
Sep  6 09:09:12 localhost cardmgr[2598]: + OK.
Sep  6 09:09:12 localhost cardmgr[2598]: + ioctl[PRISM2_IOCTL_HOSTAPD]: No data available
Sep  6 09:09:12 localhost last message repeated 2 times
Sep  6 09:09:12 localhost cardmgr[2598]: + srec summary for AK010104.HEX
Sep  6 09:09:12 localhost cardmgr[2598]: + Included file name: AK010104.HEX
Sep  6 09:09:12 localhost cardmgr[2598]: + Component: 0x0015 1.1.4 (primary firmware)
Sep  6 09:09:12 localhost cardmgr[2598]: + 
Sep  6 09:09:12 localhost cardmgr[2598]: + STAID not available (maybe running PRI-only)
Sep  6 09:09:12 localhost cardmgr[2598]: + 
Sep  6 09:09:12 localhost cardmgr[2598]: + Verifying update compatibility and combining data:
Sep  6 09:09:12 localhost cardmgr[2598]: + Plug record length mismatch (PDR=0x0001): 6 != 16
Sep  6 09:09:12 localhost cardmgr[2598]: + ==> extend from default
Sep  6 09:09:12 localhost cardmgr[2598]: + OK.
Sep  6 09:09:12 localhost cardmgr[2598]: + 
Sep  6 09:09:12 localhost cardmgr[2598]: + Downloading to volatile memory (RAM).
Sep  6 09:09:12 localhost cardmgr[2598]: + OK.
Sep  6 09:09:12 localhost cardmgr[2598]: + Downloading secondary (station) firmware /etc/hostap_fw/RF010800.hex to interface wlan0
Sep  6 09:09:12 localhost cardmgr[2598]: + ioctl[PRISM2_IOCTL_HOSTAPD]: No data available
Sep  6 09:09:12 localhost last message repeated 2 times
Sep  6 09:09:12 localhost cardmgr[2598]: + srec summary for RF010800.hex
Sep  6 09:09:12 localhost cardmgr[2598]: + Included file name: RF010800.hex
Sep  6 09:09:12 localhost cardmgr[2598]: + Component: 0x001f 1.8.0 (station firmware)
Sep  6 09:09:12 localhost cardmgr[2598]: + 
Sep  6 09:09:12 localhost cardmgr[2598]: + STAID not available (maybe running PRI-only)
Sep  6 09:09:12 localhost cardmgr[2598]: + 
Sep  6 09:09:12 localhost cardmgr[2598]: + Verifying update compatibility and combining data:
Sep  6 09:09:12 localhost cardmgr[2598]: + Could not find data position for plugging PDR 0x0413 at 0x0000118e (len=2)
Sep  6 09:09:12 localhost cardmgr[2598]: + PDR 0x0413 is not in wlan card PDA and there is no default data. Ignoring plug record.
Sep  6 09:09:12 localhost cardmgr[2598]: + OK.
Sep  6 09:09:12 localhost cardmgr[2598]: + 
Sep  6 09:09:12 localhost cardmgr[2598]: + Downloading to volatile memory (RAM).
Sep  6 09:09:12 localhost cardmgr[2598]: + OK.
Sep  6 09:09:12 localhost cardmgr[2598]: + Components after download:
Sep  6 09:09:12 localhost cardmgr[2598]: +   NICID: 0x800c v1.0.0
Sep  6 09:09:12 localhost cardmgr[2598]: +   PRIID: 0x0015 v1.1.4
Sep  6 09:09:12 localhost cardmgr[2598]: +   STAID: 0x001f v1.8.0
Sep  6 09:09:12 localhost cardmgr[2598]: + Internet Systems Consortium DHCP Client V3.0.1
Sep  6 09:09:12 localhost cardmgr[2598]: + Copyright 2004 Internet Systems Consortium.
Sep  6 09:09:12 localhost cardmgr[2598]: + All rights reserved.
Sep  6 09:09:12 localhost cardmgr[2598]: + For info, please visit http://www.isc.org/products/DHCP
Sep  6 09:09:12 localhost cardmgr[2598]: + 
Sep  6 09:09:12 localhost cardmgr[2598]: + wifi0: unknown hardware address type 801
Sep  6 09:09:12 localhost cardmgr[2598]: + sit0: unknown hardware address type 776
Sep  6 09:09:12 localhost cardmgr[2598]: + wifi0: unknown hardware address type 801
Sep  6 09:09:12 localhost cardmgr[2598]: + sit0: unknown hardware address type 776
Sep  6 09:09:12 localhost cardmgr[2598]: + Listening on LPF/wlan0/00:60:b3:8c:26:9a
Sep  6 09:09:12 localhost cardmgr[2598]: + Sending on   LPF/wlan0/00:60:b3:8c:26:9a
Sep  6 09:09:12 localhost cardmgr[2598]: + Sending on   Socket/fallback
Sep  6 09:09:12 localhost cardmgr[2598]: + DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
Sep  6 09:09:12 localhost cardmgr[2598]: + DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
Sep  6 09:09:12 localhost cardmgr[2598]: + DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
Sep  6 09:09:12 localhost cardmgr[2598]: + DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
Sep  6 09:09:12 localhost cardmgr[2598]: + DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
Sep  6 09:09:12 localhost cardmgr[2598]: + DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16
Sep  6 09:09:12 localhost cardmgr[2598]: + DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
Sep  6 09:09:12 localhost cardmgr[2598]: + No DHCPOFFERS received.
Sep  6 09:09:12 localhost cardmgr[2598]: + No working leases in persistent database - sleeping.

-- 
Debian unstable 2.6.8-1-686 i686 GNU/Linux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20040906/f38e1556/attachment.pgp 


More information about the HostAP mailing list