WPS AP pin mode

I tried config WPS AP pin mode, folowing https://github.com/xradvanyip/hostapd-openwrt/blob/master/hostapd/README-WPS, but it didn't work.

Here is my step:

  • set wps_label and wps_pin to uci config wireless
  • hostapd_cli wps_ap_pin set $PIN
  • hostapd_cli wps_ap_pin enable

But enable command didn't successfully, it return "FAIL"

Anyone know which config I am missing?

First thing I saw on the repository linked was " Customized HostAP application for the InvisibleWiFi project. "

1 Like

sorry I don't understand what you are meaning, can you tell more detail about it?

No worries.

Those instructions look to be not from vanilla openwrt?

1 Like

What is the device and openwrt version?

ubus call system board 
2 Likes

here is my openwrt version:
admin@iGate:~# ubus call system board
{
"kernel": "5.10.138",
"hostname": "iGate",
"system": "ARMv8 Processor rev 0",
"model": "AX3000 GPON ONT",
"board_name": "GW040P",
"rootfs_type": "squashfs",
"release": {
"distribution": "VNPT-T WRT",
"version": "G040R5000R0106",
"revision": "G040R5000R0106-241021_0956",
"target": "realtek_bb/rtl9607f",
"description": "VNPT-T WRT G040R5000R0106 241021_0956"
}
}

I don't exactly know that, but my source code already have this packet. Do you know any way else to enable ap pin mode?

I'm going to quote @frollic here:

Here's the hostapd documentation for openwrt:

1 Like

if you have the source code, shouldn't the question be asked the guy staring back at you in the mirror ?

3 Likes

You need more complete hostapd (wpad) package than default for wps.

You have to ask

VNPT-T

For a fix.

3 Likes

This topic was automatically closed after 29 hours. New replies are no longer allowed.