AR5112 card working with madwifi-bsd, hostapd-0.4.1, wpa_supplicant-0.4.1(andopenssl-0.9.7g)

Jouni Malinen jkmaline
Mon Jun 6 06:14:24 PDT 2005


On Mon, Jun 06, 2005 at 04:05:07PM +0800, Victor Yeo wrote:

> I am using WPA-PSK, i enter the wpa_passphrase in ascii format, such as:
> 
> wpa_passphrase="secretpw"
> 
> are you saying that this won't work? How do i generate a password and used it for wpa_passphrase?

Please note that I'm not aware of any problems with entering passphrases
as ASCII passphrases for either hostapd or wpa_supplicant. In practice,
I more or less always use this in the configuration. wpa_passphrase
could be used to speed to the program startup a bit, if that is of
concern, but that is the only real reason for using it. When using PSK
as a hex string, one will need to remember to update it if SSID ever
changes and any of the devices is using a passphrase. As such, I would
recommend using passphrase as an ASCII string in wpa_pasphrase field.

-- 
Jouni Malinen                                            PGP id EFC895FA




More information about the Hostap mailing list