Using WPS Push Botton on WRT1900

I want to use WPS to set up a few devices on my network.
I read an article, that seemed a bit outdated, but have

opkg remove wpad-baisc
opkg install wpad hostapd-utils

in the 2.4Ghz wireless wifi-iface I have added:

>option wps_pushbutton '1'

LuCi now displays an option

Enable WPS pushbutton, requires WPA(2)-PSK/WPA3-SAE

in the Wireless security tab.

Usign the pushbotton on the router doesn't do anything. The LED does not light up, and devices can't connect using WPS.

I also tried using the command:

hostapd_cli wps_pbc

But it does not work either.

My router is a Linksys WRT1900ACS

Wps seems to have been broken for a while, the last time I remember it working was in the Lede 17.* builds, it's not used by many people so probably not very much of a priority for developers. From what I remember setting everything through cli rather than luci and rebooting between tries would sometimes get it to work, but I don't know if that's still the case or not (and probably more trouble than it's worth).

What settings do I need to configured?

All I have done is set the

option wps_pushbutton '1'

Yes that's all, should have also mentioned that when setting through cli make sure the radio you want use is the only one set to '1' (meaning the other set to '0'), having both set to '1' always caused failures for me, just setting the wanted radio to '1' is what would get it to work (sometimes).

Have you installed hostapd-utils on your router (I'm not using WPS myself, but I think that package is necessary for that)?

1 Like

Yes, I have

I will try to enable just for one wireless interface(?)
and restart multiple times, to see if it works

Yes, enable on just one interface (whichever one you need) and try, if it doesn't work, reboot, make sure the settings are still enabled on just one interface and try again, if it doesn't work after 2-3 tries its probably not going to, so no need to spend too much time on it.

edit - it might just be the Marvell drivers in your device and mine (mine is a wrt1200), development seems to have stopped on them a couple of years ago and people with non-marvel devices have mentioned wps is working fine for them, I just don't know enough about it to say.