wpa_supplicant cannot establish a WPA2 connection on udev-renamed hostap (prism2) wifi networks

Gene Heskett gheskett
Sun Mar 15 08:35:45 PDT 2015

On Sunday 15 March 2015 08:49:20 Thomas Richter wrote:
> Hi folks,
> yesterday, I run into a very irritating issue when I failed to create
> a WPA2-authenticated network connection on the basis of a
> hostap/prism2 device.
> The problem is here that the prism2 network driver creates named
> interfaces (wifiX,wlanX), but unfortunately udev may rename one of
> them (wlanX -> wlanY) without renaming the other. Unfortunately,
> wpa_supplicant is then unaware or unable to find the corresponding
> paired raw wifiX device.
> Not enough, wpa_supplicant does neither generate an enlighting error
> or warning message, leaving the average user completely lost, with a
> non-working WPA2.
> Thus, would it be possible to a) use a smarter mechanism to find the
> matching pair between the wlanX and wifiX network interface, and b) to
> improve the error message created in case wpa_supplicant is unable to
> find the "missing link"?
> Thanks and greetings,
> 	Thomas Richter

Fancy meeting you here after all these years, Thomas.  Your amigados 
tools, fixes for broken amiga stuff back in the day were invaluable, and 
I thank you again.  I hope this finds you in good health.

Cheers, Gene Heskett
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

More information about the Hostap mailing list