wpa_supplicant security modes
Dan Williams
dcbw
Fri Jan 30 08:20:58 PST 2009
On Fri, 2009-01-30 at 08:23 -0500, Dmitry Baryshev wrote:
> Hello.
>
> I need to write a GUI for one console tool, which uses wpa_supplicant.
> I need to pass security type and password to this console tool. I also
> have D-Link wireless router, it has the following security types: WEP,
> WPA, WPA2, WPA-Auto. But I didn't find these security types in
> wpa_supplicant or wpa_supplicant.conf manual pages. How can I tell
> wpa_supplicant to use WEP, WPA, WPA2 or WPA-Auto security modes?
Look in the example wpa_supplicant.conf for network blocks that use WEP
(key_mgmt=NONE, wep_key0=xxxxx, wep_tx_keyidx=0). For WPA stuff, you
have a lot of options, where the D-Link router has simplified them.
Rough conversions are:
WPA
----------
key_mgmt=WPA-PSK
proto=WPA
pairwise=TKIP
group=TKIP
WPA2
----------
key_mgmt=WPA-PSK
proto=RSN
pairwise=CCMP
group=CCMP
WPA-Auto
----------
key_mgmt=WPA-PSK
proto=RSN WPA
pairwise=TKIP CCMP
group=TKIP CCMP
Dan
More information about the Hostap
mailing list