I'm trying to figure out how to set up my wireless card on my laptop,
using WPA-PSK.

I just installed Mandrivia Limited Edition 2005 (Or mandrake 10.2)

when I go through the mandrake control center to set up  my DLink DWL
650, (using the ndiswrapper and the latest drivers from dlink for
windows) my messages log looks like this:

Jun  4 19:45:42 old-laptop drakconf.real[22054]: ### Program is starting ###
Jun  4 19:53:21 old-laptop drakconnect[24184]: running: /sbin/modprobe ath_pci
Jun  4 19:53:22 old-laptop drakconnect[24184]: running: /sbin/modprobe
-n ath_pci
Jun  4 19:53:23 old-laptop drakconnect[24184]: running: /sbin/modprobe ath_pci
Jun  4 19:53:23 old-laptop drakconnect[24184]: running: /sbin/modprobe
-n ath_pci
Jun  4 19:53:35 old-laptop drakconnect[24184]: running: /sbin/modprobe
ndiswrapper
Jun  4 19:53:35 old-laptop kernel: ndiswrapper version 1.0 loaded
(preempt=no,smp=no)
Jun  4 19:53:36 old-laptop kernel: ndiswrapper: driver neta3ab
(D-Link,10/22/2003,3.0.0.44) added
Jun  4 19:53:36 old-laptop kernel: PCI: Enabling device 0000:02:00.0
(0000 -> 0002)
Jun  4 19:53:36 old-laptop kernel: ACPI: PCI interrupt 0000:02:00.0[A]
-> GSI 11 (level, low) -> IRQ 11
Jun  4 19:53:36 old-laptop kernel: ndiswrapper: using irq 11
Jun  4 19:53:37 old-laptop kernel: wlan0: ndiswrapper ethernet device
00:0d:88:55:c5:e3 using driver neta3ab
Jun  4 19:53:37 old-laptop kernel: wlan0: encryption modes supported:
WEP, WPA with TKIP, WPA with AES/CCMP
Jun  4 19:53:38 old-laptop dhclient: sit0: unknown hardware address type 776
Jun  4 19:53:39 old-laptop dhclient: sit0: unknown hardware address type 776
Jun  4 19:53:43 old-laptop dhclient: DHCPDISCOVER on wlan0 to
255.255.255.255 port 67 interval 6
Jun  4 19:53:49 old-laptop dhclient: DHCPDISCOVER on wlan0 to
255.255.255.255 port 67 interval 8
Jun  4 19:53:57 old-laptop dhclient: DHCPDISCOVER on wlan0 to
255.255.255.255 port 67 interval 10
Jun  4 19:54:02 old-laptop drakconnect[24184]: running: /bin/rpm -q
--qf %{name}  wpa_supplicant
Jun  4 19:54:03 old-laptop drakconnect[24184]: installed packages wpa_supplicant
Jun  4 19:54:05 old-laptop drakconnect[24184]: created file
/etc/wpa_supplicant.conf
Jun  4 19:54:05 old-laptop drakconnect[24184]: changed mode of
/etc/wpa_supplicant.conf to 600
Jun  4 19:54:05 old-laptop drakconnect[24184]: running:
/sbin/chkconfig --add wpa_supplicant
Jun  4 19:54:07 old-laptop dhclient: DHCPDISCOVER on wlan0 to
255.255.255.255 port 67 interval 7
Jun  4 19:54:14 old-laptop dhclient: DHCPDISCOVER on wlan0 to
255.255.255.255 port 67 interval 19
Jun  4 19:54:17 old-laptop drakconnect[24184]: modified file
/etc/sysconfig/network-scripts/ifcfg-wlan0
Jun  4 19:54:17 old-laptop drakconnect[24184]: modified file /etc/iftab
Jun  4 19:54:17 old-laptop drakconnect[24184]: modified file /etc/iftab
Jun  4 19:54:18 old-laptop drakconnect[24184]: modified file
/etc/sysconfig/network
Jun  4 19:54:18 old-laptop drakconnect[24184]: removed
files/directories /etc/sysconfig/network-scripts/wlan0
Jun  4 19:54:18 old-laptop drakconnect[24184]: modified file
/etc/sysconfig/network-scripts/ifcfg-wlan0
Jun  4 19:54:18 old-laptop drakconnect[24184]: modified file
/etc/sysconfig/network-scripts/ifcfg-wlan0
Jun  4 19:54:18 old-laptop drakconnect[24184]: changed mode of
/etc/sysconfig/network-scripts/ifcfg-wlan0 to 700
Jun  4 19:54:18 old-laptop drakconnect[24184]: written wlan0 interface
configuration in /etc/sysconfig/network-scripts/ifcfg-wlan0
Jun  4 19:54:18 old-laptop drakconnect[24184]: running: /bin/rpm -q
--qf %{name}  dhcp-client
Jun  4 19:54:18 old-laptop drakconnect[24184]: removed
files/directories /etc/sysconfig/network-scripts/eth0
Jun  4 19:54:18 old-laptop drakconnect[24184]: modified file
/etc/sysconfig/network-scripts/ifcfg-eth0
Jun  4 19:54:18 old-laptop drakconnect[24184]: modified file
/etc/sysconfig/network-scripts/ifcfg-eth0
Jun  4 19:54:18 old-laptop drakconnect[24184]: changed mode of
/etc/sysconfig/network-scripts/ifcfg-eth0 to 755
Jun  4 19:54:18 old-laptop drakconnect[24184]: written eth0 interface
configuration in /etc/sysconfig/network-scripts/ifcfg-eth0
Jun  4 19:54:18 old-laptop drakconnect[24184]: running: /bin/rpm -q
--qf %{name}  dhcp-client
Jun  4 19:54:18 old-laptop drakconnect[24184]: writing host
information to /etc/hosts
Jun  4 19:54:18 old-laptop drakconnect[24184]: created file /etc/hosts
Jun  4 19:54:18 old-laptop drakconnect[24184]: writing host
information to /etc/hosts
Jun  4 19:54:18 old-laptop drakconnect[24184]: created file /etc/hosts
Jun  4 19:54:20 old-laptop drakconnect[24184]: modified file /etc/iftab
Jun  4 19:54:20 old-laptop drakconnect[24184]: modified file /etc/iftab
Jun  4 19:54:20 old-laptop drakconnect[24184]: modified file
/etc/sysconfig/network
Jun  4 19:54:20 old-laptop drakconnect[24184]: removed
files/directories /etc/sysconfig/network-scripts/wlan0
Jun  4 19:54:20 old-laptop drakconnect[24184]: modified file
/etc/sysconfig/network-scripts/ifcfg-wlan0
Jun  4 19:54:20 old-laptop drakconnect[24184]: modified file
/etc/sysconfig/network-scripts/ifcfg-wlan0
Jun  4 19:54:20 old-laptop drakconnect[24184]: changed mode of
/etc/sysconfig/network-scripts/ifcfg-wlan0 to 700
Jun  4 19:54:20 old-laptop drakconnect[24184]: written wlan0 interface
configuration in /etc/sysconfig/network-scripts/ifcfg-wlan0
Jun  4 19:54:20 old-laptop drakconnect[24184]: running: /bin/rpm -q
--qf %{name}  dhcp-client
Jun  4 19:54:20 old-laptop drakconnect[24184]: removed
files/directories /etc/sysconfig/network-scripts/eth0
Jun  4 19:54:20 old-laptop drakconnect[24184]: modified file
/etc/sysconfig/network-scripts/ifcfg-eth0
Jun  4 19:54:20 old-laptop drakconnect[24184]: modified file
/etc/sysconfig/network-scripts/ifcfg-eth0
Jun  4 19:54:20 old-laptop drakconnect[24184]: changed mode of
/etc/sysconfig/network-scripts/ifcfg-eth0 to 755
Jun  4 19:54:20 old-laptop drakconnect[24184]: written eth0 interface
configuration in /etc/sysconfig/network-scripts/ifcfg-eth0
Jun  4 19:54:20 old-laptop drakconnect[24184]: running: /bin/rpm -q
--qf %{name}  dhcp-client
Jun  4 19:54:20 old-laptop drakconnect[24184]: writing host
information to /etc/hosts
Jun  4 19:54:20 old-laptop drakconnect[24184]: created file /etc/hosts
Jun  4 19:54:20 old-laptop drakconnect[24184]: writing host
information to /etc/hosts
Jun  4 19:54:20 old-laptop drakconnect[24184]: created file /etc/hosts
Jun  4 19:54:20 old-laptop drakconnect[24184]: modified file /etc/modprobe.conf
Jun  4 19:54:21 old-laptop drakconnect[24184]: to put in /etc/modules nvram
Jun  4 19:54:21 old-laptop drakconnect[24184]: modified file /etc/modules
Jun  4 19:54:21 old-laptop drakconnect[24184]: to put in
/etc/modprobe.preload nvram, via-agp
Jun  4 19:54:21 old-laptop drakconnect[24184]: modified file
/etc/modprobe.preload
Jun  4 19:54:21 old-laptop drakconnect[24184]: running:
/etc/rc.d/init.d/network restart
Jun  4 19:54:22 old-laptop network: Shutting down interface eth0:  succeeded
Jun  4 19:54:22 old-laptop network: Shutting down interface wlan0:  succeeded
Jun  4 19:54:23 old-laptop kernel: eth0: link up, 100Mbps,
full-duplex, lpa 0x41E1
Jun  4 19:54:23 old-laptop ifplugd(eth0)[14768]: Executing
'/etc/ifplugd/ifplugd.action eth0 down'.
Jun  4 19:54:23 old-laptop ifplugd(eth0)[14768]: Program executed successfully.
Jun  4 19:54:23 old-laptop ifplugd(eth0)[14768]: Exiting.
Jun  4 19:54:23 old-laptop network: Shutting down loopback interface:  succeeded
Jun  4 19:54:23 old-laptop network: Setting network parameters:  succeeded
Jun  4 19:54:24 old-laptop kernel: Disabled Privacy Extensions on
device c03b26e0(lo)
Jun  4 19:54:24 old-laptop network: Bringing up loopback interface:  succeeded
Jun  4 19:54:25 old-laptop ifplugd(eth0)[25062]: ifplugd 0.26 initializing.
Jun  4 19:54:25 old-laptop kernel: eth0: link up, 100Mbps,
full-duplex, lpa 0x41E1
Jun  4 19:54:25 old-laptop ifplugd(eth0)[25062]: Using interface
eth0/00:08:02:49:0F:72 with driver <8139too> (version: 0.9.27)
Jun  4 19:54:25 old-laptop ifplugd(eth0)[25062]: Using detection mode:
SIOCETHTOOL
Jun  4 19:54:25 old-laptop ifplugd(eth0)[25062]: Initialization
complete, link beat detected.
Jun  4 19:54:25 old-laptop ifplugd(eth0)[25062]: Executing
'/etc/ifplugd/ifplugd.action eth0 up'.
Jun  4 19:54:25 old-laptop dhclient: sit0: unknown hardware address type 776
Jun  4 19:54:25 old-laptop network: Bringing up interface eth0:  succeeded
Jun  4 19:54:25 old-laptop ifup: Error for wireless request "Set
Encode" (8B2A) :
Jun  4 19:54:25 old-laptop ifup:     invalid argument "my-pre-shared-key".
Jun  4 19:54:26 old-laptop ifup:
Jun  4 19:54:26 old-laptop ifup: Determining IP information for wlan0...
Jun  4 19:54:26 old-laptop dhclient: sit0: unknown hardware address type 776
Jun  4 19:54:27 old-laptop last message repeated 2 times
Jun  4 19:54:30 old-laptop dhclient: DHCPREQUEST on eth0 to
255.255.255.255 port 67
Jun  4 19:54:30 old-laptop dhclient: DHCPACK from 192.168.0.10
Jun  4 19:54:30 old-laptop dhclient: bound to 192.168.0.5 -- renewal
in 279918 seconds.
Jun  4 19:54:30 old-laptop ifplugd(eth0)[25062]: client: Determining
IP information for eth0... done.
Jun  4 19:54:31 old-laptop dhclient: DHCPDISCOVER on wlan0 to
255.255.255.255 port 67 interval 3
Jun  4 19:54:32 old-laptop ifplugd(eth0)[25062]: Program executed successfully.
Jun  4 19:54:34 old-laptop dhclient: DHCPDISCOVER on wlan0 to
255.255.255.255 port 67 interval 3
Jun  4 19:54:40 old-laptop last message repeated 2 times
Jun  4 19:54:43 old-laptop dhclient: DHCPDISCOVER on wlan0 to
255.255.255.255 port 67 interval 4
Jun  4 19:54:47 old-laptop dhclient: DHCPDISCOVER on wlan0 to
255.255.255.255 port 67 interval 9
Jun  4 19:54:56 old-laptop dhclient: DHCPDISCOVER on wlan0 to
255.255.255.255 port 67 interval 14
Jun  4 19:55:00 old-laptop CROND[25434]: (mail) CMD (/usr/bin/python
-S /usr/lib/mailman/cron/gate_news)
Jun  4 19:55:10 old-laptop dhclient: DHCPDISCOVER on wlan0 to
255.255.255.255 port 67 interval 15
Jun  4 19:55:25 old-laptop dhclient: DHCPDISCOVER on wlan0 to
255.255.255.255 port 67 interval 7
Jun  4 19:55:32 old-laptop dhclient: No DHCPOFFERS received.
Jun  4 19:55:32 old-laptop ifup:  failed.
Jun  4 19:55:32 old-laptop network: Bringing up interface wlan0:  failed


And I can't get the wireless to work.  I've searched (and found) tons
of messages about the error "Set Encode" message that it kicks out, 
but no real solutions.

Can anyone help?

Thanks,

Dan