I figured out the problem, a bunch of little things.
Firstly I had to convert my password with wpa_passphrase like so:
Code:
wpa_passphrase <NetworkId> > /etc/wpa_supplicant.conf
<Password>
Secondly, I had to take wlan0 down (I thought I already did but that was before I turned of Network manager so it might have turned it back on):
Code:
ifconfig wlan0 down
So in final what I had to do was this:
Code:
su
<RootPassword>
service NetworkManager stop
# chkconfig NetworkManager off #Uncomment this to make it permenant
ifconfig wlan0 down
wpa_passphrase <NetworkName> > /etc/wpa_supplicant.conf
<NetworkPassword>
wpa_supplicant -Dwext -iwlan0 -e/etc/wpa_supplicant.conf
dhclient -r
dhclient wlan0 #This one might take a moment
ifconfig wlan0 up
exit