WPS button for WPS printer

I've been trying for a while to make a printer work with my OpenWRT router, it's a Epson L3150 and it works only with WPS. Currently that button resets the router. Is there a way to make it so pressing that button enables WPS temporarily? Most of the threads i saw on the subject were really old or presented conflicting instructions.

Any help is appreciated.

x https://download.epson-europe.com/pub/download/6306/epson630646eu.pdf
Pages 20-21.

Ap without physical wps button on (connecting printer) - #10 by hnyman might still work.

that didn't seem to work so well, says the file is missing, even with the full wpad installed

Never tried, but you make a screenshot when file is missing....

didn't seem to work too well on my router

Which file is missing? hostapd_cli? If so, try installing hostapd-utils?

Says it can't find wpa_ctrl_open, don't know what that is, but hostapd-utils is installed and up to date

From what I can find, that should be a function in hostapd, which should be part of wpad. Did you uninstall the other wpad package (wpad-basic, wpad-mini, etc.) before installing the full wpad? I'm not sure if that's necessary, but it's worth a try.

I remember reading on a tutorial specifically telling me to uninstall wpad-mini, then installing the full package. Right now only wpad is currently installed.

Have you tried rebooting your router after installing wpad? It really does look like it's not working properly to me. If issue persists after the reboot, can you post the list of installed packages? It's either opkg list-installed or apk list --installed depending on the OpenWRT version.

Used those commands, it seems that hostapd-common and hostapd-utils are installed.

But the command for hostapt_cli insists that the interface part of the command is not a command. Not sure what to do here.