Could not get PMK

David Dudley DavidDu
Fri May 23 10:37:11 PDT 2008


Does that mean that I have something in Radius (freeradius2) configured

Is there a keyword that should be included in the user definition, or
the eap definition for that?

I'm new to this wireless stuff, and still trying to work out which way
is up.


>>> Bryan Kadzban <bryan at> 5/23/2008 11:33:22 AM
On Fri, May 23, 2008 at 10:16:05AM -0500, David Dudley wrote:
> OK, what is PMK

Pairwise Master Key.  It's the key that WPA and WPA2 both use to
the Pairwise Temporal Keys (PTKs) that actually encrypt the data.

If you use WPA-PSK (or WPA2-PSK), then the PMK has the same value as
PSK, although this is a large hex number, not a string (there's a
algorithm that combines an ASCII string with the SSID to generate this
hex number).

If you use WPA-EAP, then the RADIUS server is supposed to generate the
PMK randomly.

> and why couldn't hostapd get it?

I don't know for sure.  I can guess that it's something to do with the
fact that it's running on NetBSD, but that's purely a guess.

To troubleshoot, it will probably help to get debugging output from
hostapd (and possibly also the client on the other end of the
association, but that's probably not needed yet).

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: David Dudley.vcf

More information about the Hostap mailing list