none of wpa_passphrase
Sam Leffler
sam at errno.com
Fri Aug 10 10:33:12 PDT 2007
Eitarou Kamo wrote:
> Pietro Cerutti wrote:
>
>
>> Eitarou Kamo wrote:
>>
>>
>>
>>>> Hi,
>>>> I used wpa _supplicant and was aware none of wpa _passphrase.
>>>> My machine is 6.2 REREASE. Does anyone have it or way to making it?
>>>>
>>>>
>>>>
>> These kind of generic questions are better suited for
>> freebsd-questions@, i doubt.
>>
>> Anyway, from man 8 wpa_passphrase:
>>
>> The wpa_passphrase utility is a small program for generating a 256-bit
>> pre-shared WPA key from an ASCII passphrase and a given SSID. The output
>> is formatted for inclusion in wpa_supplicant.conf(5).
>>
>> Example:
>> I have an access point with ssid MySSID and passphrase MyS3cr3t:
>>
>>
>>
>>
>>> wpa_passphrase MySSID
>>>
>>>
>>>
>> # reading passphrase from stdin
>> MyS3cr3t
>> network={
>> ssid="MySSID"
>> #psk="MyS3cr3t"
>> psk=c0964594a3000e7605ef17097f7d939a44e516f05b99806fd862db5934c2e4d4
>> }
>>
>> The output is ready to be included in your wpa_supplicant.conf file
>> (better removing the commented line where the password is in clear text).
>> nf
>>
>>
>>
> My question is not the usage of it but itself.... I can't use
> wpa_supplicant because
> none of it. Is there it anywhere? Haven't it been dealt with stable yet?
>
wpa_supplicant includes the functionality of wpa_passphrase. You only
want it if you want to precompute the PSK from a passphrase.
As to building it you have the code; just setup a Makefile in
usr.sbin/wpa. HEAD and RELENG_6 include support so try grabbing it from
there.
Sam
More information about the freebsd-stable
mailing list