problems with Linksys WMP11

rpgoldman at real-time.com rpgoldman at real-time.com
Fri Dec 20 10:26:16 EST 2002


Jouni Malinen writes:
 > On Fri, Dec 20, 2002 at 12:08:40AM -0500, Jason Boxman wrote:
 > 
 > > The reported issues with 1.4.2 are indeed true.
 > 
 > Yes, but they should not cause problems when testing the card in
 > managed mode as was the case in the original question.

Then if that's not the problem, here's what I'm trying:

I start up the card in /etc/rc.local (if I can get it working, I can
move the initialization to a more appropriate place) trying the
following:

ifconfig eth0 down
modprobe hostap_pci
/sbin/iwconfig wlan0 essid sift-holmes 
/sbin/iwconfig wlan0 mode managed
/sbin/iwconfig wlan0 channel 6
/sbin/iwconfig wlan0 key  xxxxxxxxxx [1]
/sbin/iwconfig wlan0 key  xxxxxxxxxx [2]
/sbin/iwconfig wlan0 key  xxxxxxxxxx  [3]
/sbin/iwconfig wlan0 key  xxxxxxxxxx [4]
/sbin/iwconfig wlan ap any
/sbin/ifconfig wlan0 192.168.1.12 netmask 255.255.255.0 broadcast 192.168.1.255
/sbin/route add default gw 192.168.1.1

Here's what I see in dmesg:

ap_crypt: registered algorithm 'NULL'
hostap_pci: hostap_pci.c 0.0.0 2002-10-12 (SSH Communications Security Corp, Jouni Malinen)
hostap_pci: (c) Jouni Malinen <jkmaline at cc.hut.fi>
PCI: Found IRQ 10 for device 00:0b.0
hostap_pci: Registered netdevice wlan0
prism2_hw_init()
prism2_hw_config: initialized in 18516 iterations
wlan0: trying to read PDA from 0x007f0000: OK
wlan0: hfa384x_get_rid - RID len mismatch: rid=0xfd0b, len=10 (expected 8)
Could not get RID for component NIC
wlan0: PRI: id=0x15 v1.1.0
wlan0: STA: id=0x1f v1.4.2
wlan0: defaulting to host-based encryption as a workaround for firmware bug in Host AP mode WEP
wlan0: Warning: secondary station firmware version 1.4.2 does not seem to work in Host AP mode
wlan0: hfa384x_cmd: entry still in list? (entry=d6ae1ae0, type=0, res=0)
wlan0: hfa384x_cmd: command was not completed (res=0, entry=d6ae1ae0, type=0, cmd=0x0002, param0=0x0000)
wlan0: MAC port 0 reseting failed
hostap_pci: hardware initialization failed
hostap_pci: Netdevice wlan0 unregistered
hostap_pci: No devices found, driver not installed.
hostap_crypt: unregistered algorithm 'NULL' (deinit)
hostap_crypt: registered algorithm 'NULL'
hostap_pci: hostap_pci.c 0.0.0 2002-10-12 (SSH Communications Security Corp, Jouni Malinen)
hostap_pci: (c) Jouni Malinen <jkmaline at cc.hut.fi>
PCI: Found IRQ 10 for device 00:0b.0
hostap_pci: Registered netdevice wlan0
prism2_hw_init()
prism2_hw_config: initialized in 18515 iterations
wlan0: trying to read PDA from 0x007f0000: OK
wlan0: hfa384x_get_rid - RID len mismatch: rid=0xfd0b, len=10 (expected 8)
Could not get RID for component NIC
wlan0: PRI: id=0x15 v1.1.0
wlan0: STA: id=0x1f v1.4.2
wlan0: defaulting to host-based encryption as a workaround for firmware bug in Host AP mode WEP
wlan0: Warning: secondary station firmware version 1.4.2 does not seem to work in Host AP mode
wlan0: hfa384x_get_rid - RID len mismatch: rid=0xfdc1, len=4 (expected 2)
wlan0: LinkStatus=2 (Disconnected)
wlan0: Intersil Prism2.5 PCI: mem=0xe3000000, irq=10
hostap_crypt: registered algorithm 'WEP'
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus=2 (Disconnected)
wlan0: prism2_open
[And about a zillion copies of this:]
wlan0: Could not find STA for this TX error

I have been using a Mandrake 9.0 kernel.  I believed that it was
patched for the wireless extensions.  I could be wrong about that ---
would that explain the above kind of errors?

Anyway, the system just comes up in a totally bollixed-up state:

wlan0     IEEE 802.11-b  ESSID:"test"  
          Mode:Master  Frequency:2.422GHz  Access Point: 00:06:25:09:A8:4A
          Bit Rate:11Mb/s   Tx-Power:-17 dBm   Sensitivity=1/3  
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:xxxx-xxxx-xx   Encryption mode:restricted
          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

Seeming to have ignored all my iwconfig commands.  I reissue them from
the console, but still don't get good behavior.  Pings of the WAP
fail, leaving me with this statistical information:

wlan0     Link encap:Ethernet  HWaddr 00:06:25:09:A8:4A  
          inet addr:192.168.1.12  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:22 errors:0 dropped:0 overruns:0 frame:0
          TX packets:339 errors:339 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:4030 (3.9 Kb)  TX bytes:42702 (41.7 Kb)
          Interrupt:10 Memory:d907b000-d907c000 

Note that I seem to be RECEIVING fine, but all transmissions fail.
Reinvoking iwconfig gives me the following settings, which look ok to
me (but I'm dumb about this):

wlan0     IEEE 802.11-b  ESSID:"sift-holmes"  
          Mode:Managed  Frequency:2.437GHz  Access Point: 00:06:25:67:22:82
          Bit Rate:2Mb/s   Tx-Power:-15 dBm   Sensitivity=1/3  
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:xxxx-xxxx-xx   Encryption mode:restricted
          Power Management:off
          Link Quality:64/92  Signal level:-62 dBm  Noise level:-100 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Again, my profuse apologies if I'm just doing something obviously
stupid.  And my profound gratitude to anyone who can set me straight!

Best,
R



More information about the HostAP mailing list