basic script to reboot AP's
Last Post: September 14, 2006:
-
Hallo to all the Members.
I have 11 network devices (AP's) on the LAN that I wish to reboot daily at given time. That is easy, however I SUCK at scripting.
What I am trying to do, is something like:
-telnet 192.168.0.101
the device then asks password
-public [the pass]
device then accepts connection, awaits command
-reboot 10 [reboot in 10 seconds]
device announces intention and ends session
then wait a few seconds, then repeat the whole action
to connect to 192.168.0.102, repeat the script, up to device 11.
Rather tedious doing it by hand, since it takes about 5 minutes and I know a script can bump the whole lot of them in under 10 seconds .... can someone please be ever so kind and assist me with this rather *silly* script?
Appreciated!
- 1