From owner-freebsd-stable@FreeBSD.ORG Fri Aug 10 17:33:12 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 750DB16A41B for ; Fri, 10 Aug 2007 17:33:12 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 6559513C4A6 for ; Fri, 10 Aug 2007 17:33:11 +0000 (UTC) (envelope-from sam@errno.com) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id l7AGuAhi008516 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 10 Aug 2007 09:56:11 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <46BC9A24.4070500@errno.com> Date: Fri, 10 Aug 2007 10:02:28 -0700 From: Sam Leffler User-Agent: Thunderbird 2.0.0.0 (X11/20070530) MIME-Version: 1.0 To: Eitarou Kamo References: <46BAD8F3.1050403@trio.plala.or.jp> <46BBE66E.4040202@trio.plala.or.jp> <46BC4155.20803@gahr.ch> <46BC52A6.40005@trio.plala.or.jp> In-Reply-To: <46BC52A6.40005@trio.plala.or.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, Pietro Cerutti Subject: Re: none of wpa_passphrase X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2007 17:33:12 -0000 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