View Single Post
  #5   (View Single Post)  
Old 10th November 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Ah, now I see the problem. You are using wpa-psk when you already have a hexadecimal key. The program creates the key from a plain text passphrase. From wpa-psk(8), emphasis mine:
Quote:
wpa-psk generates a 256-bit pre-shared key from a service set identifier
(SSID) and a passphrase. The passphrase must be a sequence of between 8
and 63 ASCII-encoded characters. The length of the SSID must be between
1 and 32 octets.
Here's an example of using wpa-psk:
Code:
$ wpa-psk jggimi 'this is a sample passphrase in ASCII text'
0x97aaf0bb5682e2c1ae1c5bba7d59634e230b7f9c7963c3ebd05169705e1f27e2
$
The -output- of wpa-psk is used as the hexidecimal -input- to ifconfig.
Reply With Quote