Right... just to be clear, I'm not saying you personally (or others with similar situations) shouldn't use WPS. I just want to make sure that people are aware that the technology is not secure, and that it does carry some risk if enabled.
In situations where WPS is optional, it would be advisable to avoid it. Where it is necessary, it is best to ensure that users do have knowledge about the potential risks as well as the idea that there are some possible mitigation strategies (such as isolated networks) that they can consider.
Not an expert on those, but maybe experimenting with different flavours of wpad/hostapd might help. I can't imagine WPS being broken in OpenWrt period.
Hello, thank you very much for the advice. I tried the variants of WPAD and HOSTAPD-UTILS, but we didn't get positive results, so we must continue testing and research. Thank you very much for the help.
There's a developers mailing list (links should be in the wiki), you may want to post there, detailing packages installed, your /etc/config/wireless file and the CLI command you invoke to see if you get a better response there.
Like I said, I can't imagine WPS being broken in OpenWrt, it's probably a misconfiguration or a missing configuration.
Hello, I varied the modulations as you told me and I did not get any results. I am looking for information in the place where you indicated me. Thanks.
Well, actually you are supposed to know the 8-digit pin code and enter it to the dialog on the client device, and send it to the router to confirm that the device is legit...
The router does not send it. It waits for it
Typically the OEM PIN is written to the printed label and is stored in the OEM settings. But that is not used. OpenWrt does not read the pin code set in the OEM firmware, as the location and storage style of the code varies so much and as WPS is seen as insecure. (I have programmed my own community builds to read the OEM PIN in R7800 and WNDR3700 , but I am not actively using WPS. See How to read TP-Link factory wireless pin from flash - art - #2 by hnyman )
You need to set wps_pin option, 8 numbers, to the WiFi interface config. Just set it to whatever your like. (And possibly also set wps_label method option to 1)
The laptop screenshot by @vizoso shows the PIN entering dialog, so the laptop is apparently not using the pushbutton method, but instead it uses the label PIN.
Hello, thanks for the answers and help. I tell you that the image that I show is the box that appears when you connect to a Wi-Fi network, in that box the password of the selected wireless network is placed. Below is the option to press the wps button.
I am not using the PIN variant for the WPS exchange. I hope you understand me. Thanks.