
September 14th, 2006, 05:36 PM
|
|
Registered User
|
|
Join Date: Sep 2006
Posts: 3
Time spent in forums: 24 m 47 sec
Reputation Power: 0
|
|
|
Simple rebooting script
Firstly, sorry, I seem to have posted this in the Help Wanted section.... tho I do need help, of a scripting guru for ......
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!
|