You are not logged in.
Hello!
I'm using two different wlan, configured with wpa_supplicant. With the netcfg2 configuration I can't connect to the wlan. I get the following error message:
wlan0: timed out
- DHCP IP lease attempt failed
I get this message with both wlans. I'm using the following configuration:
CONNECTION="wireless"
DESCRIPTION=""
INTERFACE=wlan0
HOSTNAME=sn-client-01
IP="dhcp"
DHCP_TIMEOUT=10
ESSID=""
SECURITY="WPA-CONFIG"
KEY=""
SCAN="NO"
TIMEOUT=15
WPA_CONF="/etc/wpa_supplicant_sn.conf"
WPA_OPTS="-B -Dwext -i wlan0"
But if I'm using my wlan configuration script, I can connect to the wlan:
ifconfig wlan0 up
wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant_sn.conf
dhcpcd wlan0
Does anybody know, where are the difference between the two methods?
Thanks for help!
Best regards,
Flasher
Offline
What about modifying your profile like this?
CONNECTION="wireless"
DESCRIPTION=""
INTERFACE=wlan0
HOSTNAME=sn-client-01
SCAN="yes"
SECURITY="wpa"
ESSID="<<put your essid>>"
KEY="<<put your key>>"
IP="dhcp"
DHCP_TIMEOUT=30
As you can see dhcp_timeout has been increased and security set to wpa.
Offline
Why aren't you specifiying an ESSID in the netcfg profile?
I have never done without but it does not hurt to try . It does limit to rely on what wpa_supplicant can connect too though - it will only pick the config section that concerns your specific ESSID.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline