The following shows how to configure wpa_supplicant to utitlize WPA-PSK.
[-=] Configuring [=-]
The /etc/wpa_supplicant.conf contains a full set of examples you can use
to configure different types of setups. A quick configuration setup is
presented below to get WPA up and running quickly.
Create the file /etc/wpa_supplicant_1.conf and edit with the following
configuration:
network={
ssid="SSID_Here"
scan_ssid=1
key_mgmt=WPA-PSK
psk="wpa_passphrase"
}
[-=] Running wpa_supplicant [=-]
Once you have your configuration file created bring your wirlesss interface up
and run wpa_supplicant with the
following command.
root@computer:~# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant_1.conf -D hostap -B
The -B option will background the task.
Syntax: wpa_supplicant -i <interface> -c <config file> -D <driver> -B
Now just run your dhcp client to obtain an IP address and your set.