Question regarding WPA(-PSK)

Sebastian Kaps seb
Sun Nov 21 09:45:56 PST 2004


I have a SMC2802W V2 card which I'm running with ndiswrapper.
I want to use WPA-PSK encryption, so I installed wpasupplicant.

This basically works, but I always have to run "wpa_cli reassociate"
after bringing up the interface. Otherwise I can't connect to my access

Can this be automated somehow?

Here's my /etc/wpa_supplicant.conf:
| ctrl_interface=/var/run/wpa_supplicant # for wpa_cli support
| network={
|   ssid="WLAN"
|   psk="secret"
|   key_mgmt=WPA-PSK
|   proto=WPA
| }

wpa_supplicant itself is started by ifup(8) like this:
| /usr/sbin/wpa_supplicant -Bw -i wlan0 -D ndiswrapper -c /etc/wpa_supplicant.conf
Ciao, Sebastian

More information about the Hostap mailing list