I set up my card as follows:
ndiswrapper -i mydriver.inf
iwconfig wlan0 essid MYESSID
iwconfig wlan0 mode Managed
iwconfig wlan0 key restricted XXXXXXXXX
ifconfig wlan0 up
Wireless networking is functional.
Now I use the network config applet to add the wlan0 (ndiswrapper) adapter. Ileave all settings as detected with the exception of "Activate device when computer starts". I set this to yes.
Reboot, Error message when loading network, or if I run ifup from a terminal.
Error : unrecognised wireless request "Mb/s" #I got rid of this by setting RATE=Auto in ifcfg-wlan0
Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0 ; Invalid argument.
Determining IP information for wlan0... failed; no link present. Check cable?
run iwconfig and some settings have been set while others haven't (Access Point, Encryption key). Itried modifying ifup-wireless to just run the iwconfig lines above, but I got the same result. However if I manually run a script (without ifup) the adapter works.
Any help is greatly appreciated.