wpa works for me.
make sure, you can connect to an unprotected network as described by the thread opener.
remove the wpa_supplicant package if installed:
Code:
sudo apt-get remove wpasupplicant
download the source for version 0.4.9 of wpa_supplicant from http://hostap.epitest.fi/wpa_supplicant/.
you'll also need the openssl sources from http://www.openssl.org/source/ (used the slightly old version 0.9.8a because i had it already, but i hope it works with the latest version too)
extract the sources:
Code:
tar -xzvf wpa_supplicant-0.4.9.tar.gz
tar -xzvf openssl-0.9.8b.tar.gz
sudo cp -R wpa_supplicant-0.4.9 /usr/src/wpasupplicant
sudo cp -R openssl-0.9.8b /usr/src/openssl
symlink the directory /usr/src/openssl/include to /usr/src/wpasupplicant/openssl
Code:
sudo ln -s /usr/src/openssl/include /usr/src/wpasupplicant/openssl
copy the file defconfig to .config
Code:
sudo cp /usr/src/wpasupplicant/defconfig /usr/src/wpasupplicant/.config
install wpa_supplicant
Code:
cd /usr/src/wpasupplicant
sudo make
sudo make install
create or edit the configuration file for wpa_supplicant /etc/wpa_supplicant.conf. mine looks like this:
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=0
network={
ssid="daham"
psk="XXX"
proto=WPA
key_mgmt=WPA-PSK
scan_ssid=1
pairwise=TKIP
}
start wpa_supplicant
Code:
sudo wpa_supplicant -c /etc/wpa_supplicant.conf -i wlan0 -D wext
this are the steps that made wpa_supplicant working for me. hope this may help someone else.
Bookmarks