What's new

Disabling Guest Wifi at night?

  • 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!

mrvoidman

New Around Here
I'm looking for a shell script to disable a guest wifi SSID that I can schedule using cron. The parental control feature is too specific for my needs.

I have a RT-N66U running 3.0.0.4.374.35_4. I found the following commands on another post but they don't seem to do anything:

# Disable
wl down
wl ssid --cfg=1
wl ssid --cfg=1 ""
wl up

# Enable
wl down
wl ssid --cfg=1 "OLD_SSID"
wl up

Any other suggestions? Can a script change the password to lock people out and set it back again later?
 
I'm looking for a shell script to disable a guest wifi SSID that I can schedule using cron. The parental control feature is too specific for my needs.

I have a RT-N66U running 3.0.0.4.374.35_4. I found the following commands on another post but they don't seem to do anything:

# Disable
wl down
wl ssid --cfg=1
wl ssid --cfg=1 ""
wl up

# Enable
wl down
wl ssid --cfg=1 "OLD_SSID"
wl up

Any other suggestions? Can a script change the password to lock people out and set it back again later?

Schedule a cron job using:

http://forums.smallnetbuilder.com/showpost.php?p=66327&postcount=2

and the commands/techniques to change the Guest SSID passwords are shown in

http://forums.smallnetbuilder.com/showthread.php?t=22700&highlight=%2Fdev%2Furandom
 
I suggest you comment out the nvram commit from your script; for something that will run every day, it's not really needed and may have an adverse impact on your flash memory longer term
 
I suggest you comment out the nvram commit from your script; for something that will run every day, it's not really needed and may have an adverse impact on your flash memory longer term

Considering that the router is only "committing" a couple of small changes, are you sure that premature nvram failure is a concern?
 
Commit is only needed if you are applying a setting which you wish to survive a router reboot.
 

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!
Top