then do (as root)
/sbin/service NetworkManager stop /usr/sbin/wpa_supplicant -dd -D wext -i wlan0 -c /yoor/configfile.conf open a second terminal (after it has assiotated) and type (as root) dhclient wlan0 after this the network should be up and running