What's new

Hide and un-hide SSID using NVRAM commands

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

bertc

New Around Here
Hello All,

I want to be able to have the SSID hidden for normal use, but also be able to un-hide the SSID for a short period and activate WPS so a new client may connect to the network. I have software on my RT-N66U that provides messaging service to network clients, and I need to "open" the network to allow a new connection. I'm currently running version 3.0.0.4.372.31 of Asuswrt-Merlin. I've tried the following to un-hide the SSID and "press" the WPS button, but test clients do not see the AP when the commands are run. The value of Hide SSID in the web interface does update (when I refresh the page after running the commands below).

nvram set wl_closed=0
nvram set wl0_closed=0
nvram set wps_proc_status=1
nvram commit

I have noticed that the changes from my script to take effect if I click the Apply button at the bottom of the web page.

Can anyone tell me how to achieve the above? And/or how to "press the apply button in the web interface" from my script?

Thank you,
bertc
 
After changing wireless settings, the wireless services must be restarted for wireless to use those new settings. I'm not at home right now to confirm the exact command syntax, I think the following command should be correct:


Code:
service restart_wireless
 
Thank you for your response, adding the command you have worked for changing the SSID broadcast behavior. I will now test to see if a client can join the network using WPS while I have the SSID un-hidden.

I'll post back with results/questions.

Thanks again,
bertc
 
Hello,

I have verified I can un-hide and hide the SSID broadcast using the above, but i havn't been able to verify the WPS feature is active by setting wps_proc_status=1. I do not see the Power LED flash as it does when the WPS button is pressed. Also, my client won't connect to the wifi network after I perform the above commands. But this may be due something going on on it. However I'd like to confirm the functionality I'm looking for.

Can I start the WPS feature using the nvram paramter "wps_proc_status" and re-starting the wireless service? Is this equavalent to manually pressing the WPS button on the router?

Thanks,
Bert
 

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!

Staff online

Members online

Top