Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Aug 2007 10:02:28 -0700
From:      Sam Leffler <sam@errno.com>
To:        Eitarou Kamo <e-kamo@trio.plala.or.jp>
Cc:        freebsd-stable@freebsd.org, Pietro Cerutti <gahr@gahr.ch>
Subject:   Re: none of wpa_passphrase
Message-ID:  <46BC9A24.4070500@errno.com>
In-Reply-To: <46BC52A6.40005@trio.plala.or.jp>
References:  <46BAD8F3.1050403@trio.plala.or.jp>	<46BBE66E.4040202@trio.plala.or.jp> <46BC4155.20803@gahr.ch> <46BC52A6.40005@trio.plala.or.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46BC9A24.4070500>