WPA-PSK on Thinkpad T40

Stephen Bosch posting
Tue Dec 15 16:35:10 PST 2009


Not true. There are numerous config examples which feature hex psk,
but they are longer. If I provide a random hex psk in 63 characters,
it accepts it.

The problem is that my psk is 26 characters, and this works with other
operating systems, so I don't understand why wpa_supplicant should be
rejecting it.

On Wed, Dec 16, 2009 at 1:10 AM, Pujeri, Prabhakar
<c_ppujer at qualcomm.com> wrote:
> Looks like you cannot pass hex value as psk
>
> -----Original Message-----
> From: hostap-bounces at lists.shmoo.com [mailto:hostap-bounces at lists.shmoo.com] On Behalf Of Stephen Bosch
> Sent: Tuesday, December 15, 2009 4:04 PM
> To: hostap at lists.shmoo.com
> Subject: WPA-PSK on Thinkpad T40
>
> Hello:
>
> I have a Thinkpad T40 with Windows installed on it. I would like to
> swap the hard disk out and run Gentoo instead.
>
> To do that, I need to be able to connect to my WLAN in my shared
> apartment from the Gentoo LiveCD.
>
> The WLAN here uses a 26 character hex psk, but it is most definitely
> WPA-PSK, and not WEP. I confirmed this with:
>
> iwlist eth1 scan
>
> Looking at the SSID for our WLAN, it says WPA Version 1, TKIP and
> TKIP. Exactly how I have been configuring it.
>
> Yet, when I put a line like this in wpa_supplicant.conf:
>
> psk=[26 character hex key without quotes]
>
> it tells me the psk is invalid and refuses to start because it can't
> parse the .conf file.
>
> If I put it in quotes, it starts, but the connection fails, because,
> well, it's a hex psk.
>
> Why doesn't this work? I've searched and searched for a solution.
> There is an old thread addressing this, but a solution was never found
> and the original poster didn't follow up.
>
> I should mention that this key, and this configuration, works just
> fine with the adapter in Windows.
>
> Thanks,
>
> -Stephen-
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>



More information about the Hostap mailing list