|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
||||
Quote:
here I am using a fake key but in the same format I am using. the ap is named 2xThink sudo ifconfig ath0 nwid 2xThink wpa wpapsk \ `wpa-psk 2xThink 0xf6fbd924161fe9aaa0fe4d5b3a9ab085ddc34fd6f674c876 7d381a6afe0e756` wpa-psk: passphrase must be between 8 and 63 characters ifconfig: wpapsk: bad pre-shared key length The damned key is 63 characters f6fb d924 161f e9aa a0fe 4d5b 3a9a b085 ddc3 4fd6 f674 c876 7d38 1a6a fe0e 756 what is my pea brain missing here? |
|
|||
Hello there, i also had the same problem with character lengths on my WPA2 key, i regenerated a new key (didn't seem to like special characters much) removed the 0x from the beginning of my password and mine started working.
Here is a copy paste of my working hostname.iwn0 file; dhcp nwid NETWORKNAME wpa wpapsk $(wpa-psk NETWORKNAME WIFIPASSWORD)
__________________
The more you learn, the more you realize how little you know .... Last edited by There0; 10th November 2009 at 02:28 PM. |
|
||||
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:
Code:
$ wpa-psk jggimi 'this is a sample passphrase in ASCII text' 0x97aaf0bb5682e2c1ae1c5bba7d59634e230b7f9c7963c3ebd05169705e1f27e2 $ |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Poul-Henning Kamp (FreeBSD developer) sues Lenovo ;) | vermaden | FreeBSD General | 9 | 17th August 2009 07:23 PM |
wireless not working. | bsdnewbie999 | OpenBSD General | 17 | 19th July 2009 03:06 AM |
Wireless Card on T61 | disappearedng | FreeBSD General | 1 | 13th July 2008 12:54 AM |
Gui for Wireless LAN? | PatrickBaer | FreeBSD General | 2 | 13th June 2008 12:25 AM |
Lenovo Thinkpad T60 - FreeBSD Configuration Guidelines and Advices | worldofopensource | General Hardware | 5 | 19th May 2008 12:27 PM |