Ben Vitale - 2010-09-04

ndiswrapper works 100% for me on an unsecured network. I'm on Ubuntu 9.10
(32-bit) with ndiswrapper 1.56 compiled from source, with the patch for
2907179 applied. The device is a Netgear WG311v3.

If I attempt a wifi connection with WPA-PSK enabled, I see the following error
and no connection is made:

Sep 3 23:45:32 vandelay kernel: ndiswrapper
(NdisMSetInformationComplete:2524): invalid task
Sep 3 23:45:45 vandelay kernel: ndiswrapper
(NdisMSetInformationComplete:2524): invalid task

The driver is definitely there and ndiswrapper is managing the hardware:

bvitale@vandelay:~$ sudo ndiswrapper -l
wg311v3 : driver installed
device (11AB:1FAA) present

bvitale@vandelay:~$ sudo lshw -C Network
description: Wireless interface
product: 88w8335 802.11b/g Wireless
vendor: Marvell Technology Group Ltd.
physical id: a
bus info: pci@0000:01:0a.0
logical name: wlan0
version: 03
serial: 00:14:6c:83:f0:26
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+wg311v3
driverversion=1.56+NETGEAR,02/22/2005, latency=32 link=no multicast=yes
wireless=IEEE 802.11g
resources: irq:18 memory:ee000000-ee00ffff memory:ee010000-ee01ffff

Can anyone shed any light on this? Is it an issue with the Windows driver? Is
it an issue with ndiswrapper?