Telnet to a SnapGear running Linux and Reboot it
Posted on 2008-06-09
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)?