You are not logged in.
hi there,
i'm new to arch linux, and actually trying to connect to my wpa-wlan with netcfg...
when i boot my system, wlan works fine with:
sudo iwconfig wlan0 essid "my connection"
sudo wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf
sudo dhcpcd wlan0
and i'm able to connect to the internet.
Trying to connect with netcfg2 doesnt work:
sudo netcfg2 default.conf
:: default.conf up
wlan0: timed out
- DHCP IP lease attempt failed
(the same with netcfg instead of netcfg2)
i'm wondering what i did wrong. these are my configuration files:
default.conf (Path: /etc/network.d/default.conf)
CONNECTION="wireless"
INTERFACE=wlan0
SCAN="yes"
SECURITY="wpa2"
ESSID="my connection"
KEY="mykey"
IP="dhcp"
TIMEOUT=30
DHCP_TIMEOUT=30
also tried SCAN="no", same error
wpa_supplicant.conf (Path: /etc/wpa_supplicant.conf)
ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
network={
ssid="my connection"
scan_ssid=1
key_mgmt=WPA-PSK
psk=687.......c05
}
any ideas?
Last edited by DaStevo (2009-02-22 22:23:39)
Offline
If you're using custom wpa_supplicant.conf file then you should use:
SECURITY=wpa-config
and define the path to the wpa_supplicant.conf file:
WPA_CONF=/etc/wpa_supplicant.conf
I'm not hundred percent sure, but I don't think you need KEY and ESSID variables.
Offline
thanks a lot!
SECURITY=wpa-config
WPA_CONF=/etc/wpa_supplicant.conf
did the thing....
also deleted key and essid variable, they weren't necessary
Offline