Question : Problem: Telnet to a SnapGear running Linux and Reboot it

I have a snapgear which is basically a firewall/vpn piece of equipment and I need to reboot it every so often as it likes to freeze up.

I can telnet into it or I can use the web interface. I think the easiest way would be to telnet, but I need a way to automate this.

I need to login, enter my username and password, send the "reboot" command and exit.

How do I do this as a scheduled task or as a pre-scripted file (preferably without having to buy software of search through crappy freeware sites looking for a program to install)?

Answer : Problem: Telnet to a SnapGear running Linux and Reboot it

I ended up just installing AutoHotkey http://www.download.com/AutoHotkey/3000-2084_4-10279446.html?cdlPid=10819446 on one of my servers and having it run a macro to do the job. Thanks for the reply though, I thought I was alone in the universe there for a while!!
Random Solutions  
 
programming4us programming4us