STA not found?

Michael michael_duesseldorf
Sun May 23 09:50:35 PDT 2004


The problem:

I have a WinXP Home laptop that has difficulties connecting to my WLAN at
home, but only with WEP enabled and requiring shared authentication - open
system authentication is fine.  Interestingly, several other computers with
WinXP Pro (and tested with Knoppix 3.4) have no such difficulties.  If you
had any ideas of what the problem is, *please* respond - I've been at it for
a while now trying to work it out myself and am at a complete loss.


A summary of syslog:

May 23 13:03:35 LinuxBox kernel: hostap_pci: 0.1.2 - 2003-11-02 (Jouni
Malinen <jkmaline at cc.hut.fi>)
May 23 13:03:35 LinuxBox kernel: hostap_pci: Registered netdevice wlan0
May 23 13:03:35 LinuxBox kernel: prism2_hw_init: initialized in 220 ms
May 23 13:03:35 LinuxBox kernel: wlan0: NIC: id=0x8013 v1.0.0
May 23 13:03:35 LinuxBox kernel: wlan0: PRI: id=0x15 v1.0.7
May 23 13:03:35 LinuxBox kernel: wlan0: STA: id=0x1f v1.3.6
May 23 13:03:35 LinuxBox kernel: wlan0: defaulting to host-based encryption
as a workaround for firmware bug in Host AP mode WEP
May 23 13:03:35 LinuxBox kernel: wlan0: defaulting to bogus WDS frame as a
workaround for firmware bug in Host AP mode WDS
May 23 13:03:35 LinuxBox kernel: wlan0: Intersil Prism2.5 PCI:
mem=0xe6403000, irq=10
May 23 13:03:35 LinuxBox kernel: hostap_crypt: registered algorithm 'WEP'

[...]

May 23 13:04:46 LinuxBox dhcpd: DHCPDISCOVER from 00:01:02:03:04:05 via
wlan0
May 23 13:04:47 LinuxBox dhcpd: DHCPOFFER on 192.168.9.100 to
00:01:02:03:04:05 (GoodLaptop) via wlan0
May 23 13:04:47 LinuxBox dhcpd: DHCPREQUEST for 192.168.9.100 (192.168.9.1)
from 00:01:02:03:04:05 (GoodLaptop) via wlan0
May 23 13:04:47 LinuxBox dhcpd: DHCPACK on 192.168.9.100 to
00:01:02:03:04:05 (GoodLaptop) via wlan0

[...]

May 23 14:05:04 LinuxBox kernel: wlan0: 00:0a:0b:0c:0d:0e auth_cb - STA not
found
May 23 14:05:06 LinuxBox last message repeated 22 times
May 23 14:06:12 LinuxBox last message repeated 25 times


The init script I use to bring up the AP ('bogus' WEP key & MACs)

#!/bin/sh

modprobe hostap
modprobe hostap_pci
#modprobe hostap_crypt_wep

/sbin/iwconfig wlan0 essid HWLAN mode Master channel 11
/sbin/iwconfig wlan0 rate auto nick "Router"
/sbin/iwconfig wlan0 key 0123456789ABCDEF0123456789

/sbin/ifconfig wlan0 192.168.9.1 up

/sbin/iwpriv wlan0 addmac 00:01:02:03:04:05
/sbin/iwpriv wlan0 addmac 00:0a:0b:0c:0d:0e
/sbin/iwpriv wlan0 maccmd 1

/usr/local/sbin/prism2_param wlan0 host_decrypt 0
/usr/local/sbin/prism2_param wlan0 ap_auth_algs 2





More information about the Hostap mailing list