I had to use the wps functionality on my mikrotik router to pair a specialized device namely ara.
The only way to connect this device to the internet is by using the wps functionality.
I am blind therefore do not use winbox or the router’s web interface because of their inaccessibility. What I mean is that these interfaces do not yield sufficient information to my screen reading technology so that I can navigate and activate the relevant elements like links and or buttons.
This is why I went the commandline route. Here is what you need to do.
We are not going to concern ourselves with the hardware wps button because that is usually multi-function and it is hard to track the lights that glow on the router to indicate that the device has entered wps.
We will take the wlan1 interface as an example. To see a list of interfaces, run the following command.
Suppose we want to enable wps by pressing a virtual button on the router on wlan1, here is what we do.
set wlan1 wps-mode=push-button-virtual-only
The above command will instruct the router to enable the virtual button that can be triggered from software.
We will now actually activate wps.
The above command placed the wlan1 interface on the router into wps server mode. This is when you initiate device pairing.