What's new

How to enable WPS using NVRAM commands

bertc

New Around Here
I want to turn on the WPS function on my RT-N66U (running Merlin buid 3.0.0.4.372.31). I've tried the following:

nvram set wps_proc_status=1
service restart_wireless_wps

But this doesn't seem to work. I can see the Connection Status change from "Idle" to "Start WPS Process" on the WPS tab from the Advanced Settings -> Wireless page when I issue nvram set wps_proc_status=1. I also see that if I click on the Start button in the WPS Method section of thw web page, the power LED will flash as if I physically pressed the WPS button on the router. It seems I am missing this last step to get the router's WPS feature enabled from a script I run on it. Can I enable the WPS function from a script? And if so, how do I do it?

Thank you
 
In case anyone else has this problem, turning off Spanning Tree Protocol under LAN - Switch Control seems to fix it.

(Apologies for necro but this is the only relevant Google result for "Start WPS Process")
 
If anyone stumbles on this thread while searching for any command to trigger the WPS connection process (as opposed to exclusively relying on nvram set), calling service start_wps_method on the RT-AC86U works (regardless of whether the Spanning Tree Protocol is enabled or disabled -- contrary to the comment above). Doing a diff of the output of nvram show reveals that after the command is invoked wps_proc_status_x and wps_proc_status are set to 1 in nvram (similar to what is described in the first post) so it may also be possible to start the process by setting those variables in nvram and restarting wireless (although that did not work for me).
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top