same mulfunction
the code gave me richardpl works like my script that use wpa_supplicant and I still can't obtain IP address from router by dhclient.
In my rc.conf I don't have ifconfig_ral0="WPA DHCP" and my script for wpa mode works fine
here is the code :
#!/bin/sh
ifconfig ral0 up
wpa_supplicant -B -iral0 -c/root/wlan/wpa.conf
dhclient ral0
and this is the .conf file :
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
ssid="3Com"
psk="veryverysecretpassword"
}
so the question is the same : why in wpa mode I can obtain IP and when in wep mode not ?
I remember you that I can associate with ssid but also giving an IP manually I can't ping. dhclient fails
Last edited by andycapp; 5th May 2008 at 07:09 PM.
Reason: ortography...
|