This was an issue I ran into recently, setting up wpa wireless on my slackware 13.1 box. Here’s how I got it going:
First off you’ll need your wireless network name (SSID), and the passphrase. To generate the psk, you’ll need to run:
wpa_passphrase YOURSSID passphrase
Now you should get a nice little box returned from the above command, copy that information.
Now edit your wpa_supplicant file, found in /etc/wpa_supplicant.conf
You’ll want to paste your info into the box, and overall your end result file should like something like:
ctrl_interface=/var/run/wpa_supplicant
network = {
ssid=”myNetwork”
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
psk=SECRETKEY
}
Save that and run:
wpa_supplicant -B -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
That should turn on your wireless card
Now run:
dhcpcd wlan0
this will give you an ipaddress
You should be good to go, try to ping google.com
As each network set up is different, some tips on attempting to debug:
In the wpa_supplicant command switch -B to -dd for verbose debugging.