You are not logged in.
I can successfully connect to my wlan with:
wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf
dhcpcd wlan0
so my wpa_supplicant.conf is correct.
Now I want to automatically connect on boot. I think I have to do this with another config file (I don't know why this is so complicated) named /etc/network.d/wlan0.conf:
CONNECTION="wireless"
INTERFACE=wlan0
SCAN="yes"
SECURITY="wpa-conf"
ESSID="megainternet"
IP="dhcp"
WPA_CONF="/etc/wpa_supplicant.conf"
USEWPA="yes"
WPAOPTS="-Dwext"
TIMEOUT=20
When I then do a "netcfg wlan0.conf" it says "DONE" after a while but it doesn't connect to the specified access point. It uses another one named "MONZOON", but not my "megainternet"
Offline
see, http://wiki.archlinux.org/index.php/Netcfg
you might try a QUIRKS=(wpaessid)
wpaessid - (same as preessid, but used before wpa_supplicant).
Can you set scan="no", since you're using the network supplied by wpa_supplicant.conf?
Brian
Regards,
Brian
Offline
After setting DHCP_TIMEOUT=40 and TIMEOUT=40 it works. It's not really a solution as with the wpa_supplicant command it connects after 5 seconds. So I'm considering adding the command to the start script rather than using the buggy netcfg
Offline
After setting DHCP_TIMEOUT=40 and TIMEOUT=40 it works. It's not really a solution as with the wpa_supplicant command it connects after 5 seconds. So I'm considering adding the command to the start script rather than using the buggy netcfg
Looks like it's not netcfg, but incorrect configuration files, both your netcfg profile and wpa_supplicant.conf seem to have errors.
Please read the wiki, there are detailed, step by step, easy to understand instructions: http://wiki.archlinux.org/index.php/Network_profiles
Also please try using one of the example configurations in /etc/network.d/examples. You do not need to use wpa-config and /etc/wpa_supplicant.conf if your network is a basic home WPA network.
A simple config like this will probably do what you need
CONNECTION="wireless"
INTERFACE=wlan0
SECURITY="wpa"
ESSID=megainternet
KEY="YOUR WIRELESS KEY"
IP="dhcp"
Then you can connect with a simple
netcfg profilename
Where profilename is the name of your config file, for example "netcfg homenetwork" for /etc/network.d/homenetwork
Last edited by iphitus (2009-02-21 03:51:28)
Offline
doesn't work iphitus. same problem here.
% whereis whatis whence which whoami whois who
Offline