cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to script a reboot on the R700

charlie_wallace
New Contributor II
Is there a way to script a reboot on the R700?s like a cronjob that resets them at a given time, or every 24 hours, i find the double in performance after a reboot. I have 8 R700's on a zone director 3000 and one standalone (elsewhere)

thanks
31 REPLIES 31

2.) Use the "Active TCL" (https://www.activestate.com/activetcl) and the included "Teapot" (TCL Package Manager) to install the "Expect" Module, via the Command Line Interface (cmd).

You will also need an "SSH Client" to Remotely Connect to your "Ruckus" Device. a couple options are "OpenSSH" (http://www.mls-software.com/opensshd.html) and/or the "Putty" SSH/Telnet Client Suite (http://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html). Download the "Putty" .zip file, which contains all of the "Putty" applications, as you're going to need "Plink" to Automate the SSH Connection. 

You can then replace the "Linux Shell" (sh) Commands w/ "Windows/DOS" Commands or use a Scripting Language, such as the previously installed "TCL" or perhaps "Perl/Python". Both "Perl" & "Python" have their own variations of the "Expect" Module (Expect, WinExpect, wExpect, pExpect, etc).

In my opinion, the simplest route is likely to go w/ option #1 (Cygwin), since everything can be installed using the "Cygwin Package Manager" (TCL, Expect, SSH, etc). However, I personally use option #2 (TCL w/ Expect Module, OpenSSH & Putty/Plink, along w/ cmd/vbscript & occasionally Python/pExpect or Perl/Expect).

Hope I was able to offer some additional insight!

Anyways, if I have some time, I might just re-write the "ruckusconf" scripts for Windows usage, myself.
If I get to it, I'll be sure to create a Repository on Github and to post a URL/Link here.