Reference Manual

Table Of Contents
RS9116 n-Link Linux and Android Technical Reference Manual
Version 2.0
August 2019
78
# Enable control interface for PBC/PIN entry
ctrl_interface=/var/run/hostapd
# Enable internal EAP server for EAP-WSC (part of Wi-Fi Protected Setup)
eap_server=
1
wps_state=
2
ap_pin=
12345670
wps_pin_requests=/var/run/hostapd_wps_pin_requests
8.3 WPS
8.3.1 AP-mode for WPS -push button method
$ sh wlan_enable.sh or wlan_bt_insert.sh or wlan_zigb_insert.sh or onebox_insert.sh script present in the
“release” folder as per the instructions mentioned in
Section 4.1
$ is phi ; it will give phyX number
$ iw phy phyX interface add wifi1
type __ap
$ ./hostapd hostapd_wps.conf
-ddddddt>log &
$ sh dhcp_server.sh wifi1
$ ./hostapd_cli wps_pbc
Now push wps button on station side.
At this point, the client has two minutes to complete WPS negotiation
8.3.2 AP-mode for WPS Enter-pin method
$ sh wlan_enable.sh or wlan_bt_insert.sh or wlan_zigb_insert.sh or onebox_insert.sh scripts present in the
“release” folder as per the instructions mentioned in
Section 4.1
Check if the hostapd.wpa_psk file present in /etc/, if not, then create a new empty file naming
hostapd.wpa_psk in location (/etc/ ).