If STA connected using WPS PIN, then another STA can't connect with WPA2-PSK

Jouni Malinen j
Sun Oct 11 14:33:34 PDT 2015


On Thu, Oct 08, 2015 at 07:00:32PM +0530, Raghavendra. S wrote:
> In my testbed first STA connects to AP using WPS PIN. After that if Second
> STA tries to connect using WPA-PSK and passphrase then it is failing.

> I could see after WPS-PIN my hostapd.conf got changed as below:
> #WPS# wps_state=1

It looks like the initial configuration of hostapd was with WPS Setup
state unconfigured. The first WPS protocol execution will generate
random passphrase in such case and move the AP into configured state.

> So I tried to reconfigure using:
> hostapd_cli SET wps_state 1

This is again moving the AP into unconfigured state which is requesting
the passphrase to be changed on the first WPS protocol run.

If you want to use the preconfigure passphrase, set the AP into
configured state instead (wps_state=2).

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list