<div dir="ltr"><div><div><div><div><div><div>Hi,<br><br></div>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.<br><br></div>I could see after WPS-PIN my hostapd.conf got changed as below:<br><br># WPS configuration - START<br>wps_state=2<br>ssid=test<br>wpa=3<br>wpa_key_mgmt=WPA-PSK<br>wpa_pairwise=CCMP TKIP<br>wpa_passphrase=ldD/RvYwaM57dcKe5cPbxw<br>auth_algs=1<br># WPS configuration - END<br>interface=wlan0<br>ctrl_interface=/var/run/hostapd<br>device_type=1-0050F204-1<br>#WPS# ssid=test<br>channel=1<br>rts_threshold=2346<br>fragm_threshold=2346<br>beacon_int=100<br>dtim_period=3<br>max_listen_interval=65535<br>ignore_broadcast_ssid=0<br>wmm_enabled=1<br>preamble=0<br>uapsd_advertisement_enabled=1<br>wpa_group_rekey=0<br>#WPS# wps_state=1<br>uuid=87654321-9abc-def0-1234-56789abc0000<br>device_name=Wireless AP<br>manufacturer=Company<br>model_name=WAP<br>model_number=123<br>serial_number=12345<br>os_version=01020300<br>config_methods=label display push_button keypad<br>eap_server=1<br>#WPS# wpa=3<br>#WPS# auth_algs=1<br>#WPS# wpa_passphrase=12345678<br>#WPS# wpa_key_mgmt=WPA-PSK<br>#WPS# wpa_pairwise=TKIP CCMP<br>#WPS# rsn_pairwise=TKIP CCMP <br><br></div>So I tried to reconfigure using:<br><br>hostapd_cli SET wpa 3<br>hostapd_cli SET auth_algs 1<br>hostapd_cli SET wpa_key_mgmt WPA-PSK<br>hostapd_cli SET wpa_pairwise CCMP<br>hostapd_cli SET rsn_pairwise CCMP<br>hostapd_cli SET wpa_passphrase 12345678<br>hostapd_cli SET wps_state 1<br>hostapd_cli WPS_AP_PIN disable<br><br></div>Still 2nd STA failed to connect using WPA-PSK. Also hostapd.conf is not updated and config is not applied run time. But get_config displays recently executed configuration. <br><br></div>I would like to know is there a method to update hostapd.conf and also to update runtime config, by which I can make second non WPS STA connection working.<br><br></div><div>I am using hostapd v2.0<br><br></div>-Raghu <br></div>