As I wrote in my first post, I followed the steps in the wiki guide.
Looking at the hostapd.sh script,
(https://github.com/openwrt/openwrt/blob/master/package/network/services/hostapd/files/hostapd.sh)
it seems like there is no option 'wps'.
The wiki guide states to use: wps_pushbutton,
luci also uses this config variable, so this is the correct one, I guess.
(option wps_label for wps pin mode is also available).
Doh. I should have read the log more carefully.
Using hidden '1' (hide ssid) in conjunction with WPS doesn't work.
daemon.notice hostapd: WPS: ignore_broadcast_ssid configuration forced WPS to be disabled
However, I couldn't get WPS Pushbutton working, always timed out, tried switching interfacing, no luck.
But WPS Pin Mode worked fine.
The log is a bit cluttered now. Not sure if this message is related to pushbotton or pin method.
Tue Oct 29 00:47:29 2019 daemon.notice hostapd: wlan1: CTRL-EVENT-EAP-STARTED 2c:2b:f9:
Tue Oct 29 00:47:29 2019 daemon.notice hostapd: wlan1: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
Tue Oct 29 00:47:29 2019 daemon.notice hostapd: wlan1: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=14122 method=254
Tue Oct 29 00:47:29 2019 daemon.notice hostapd: wlan1: WPS-FAIL msg=8 config_error=18
Tue Oct 29 00:47:29 2019 daemon.notice hostapd: wlan1: CTRL-EVENT-EAP-FAILURE 2c:2b:f9:
Tue Oct 29 00:47:29 2019 daemon.warn hostapd: wlan1: STA 2c:2b:f9: IEEE 802.1X: authentication failed - EAP type: 0 (unknown)
Tue Oct 29 00:47:29 2019 daemon.info hostapd: wlan1: STA 2c:2b:f9: IEEE 802.1X: Supplicant used different EAP type: 254 (expanded)
Tue Oct 29 00:49:10 2019 daemon.info hostapd: wlan0: STA 2c:2b:f9: IEEE 802.11: authenticated
Tue Oct 29 00:49:10 2019 daemon.info hostapd: wlan0: STA 2c:2b:f9: IEEE 802.11: associated (aid 1)
I will report back if this is related to pushbutton or pin method in a few minutes.
//edit
WPS Pushbutton nothing interesting in the logs.
Only WPS Start and WPS Timeout events.
The "authentication failed - EAP type: 0 (unknown)" is related to the WPS Pin method but seems to work fine anyway.
But I can't reproduce the WPS-FAIL msg=8 config_error=18 message.
Tried with wpad and wpad-openssl. Same timeout issue. So this is not wpad-openssl related.
Thread title updated.
If you are talking about using the physical button, you would have to change the function of the buttons and I don't know. When I want to connect via WPS I use SSH Button on one cell phone to connect another.
No I also use the "(virtual) SSH Button" Method.
But the PushButton Method is a hit and miss.
Some devices don't work at all, others need a few tries to succefully get paired.
WPS Pin Method seems to work better.
I'm curious if there are some settings that make the PushButton Method more reliable?
SSH Button is an Android app to send commands by ssh. I have a Widget with the activation command and then I press the "virtual" button of the client to connect to transfer the key.
I seem to be having a problem getting my WPS to work on my Linksys WRT1900ACSv2. I installed hostapd-utils and wpad-openssl and check the box in LuCI, press the WPS button on the back of the router and nothing happens.