Re: Telnet to reboot router
- From: Dennis Ferguson <dcferguson@xxxxxxxxxxx>
- Date: Sun, 04 Nov 2007 00:25:23 GMT
On 2007-11-03, Graham J <graham@xxxxxxxxxxxxxxxx> wrote:
Suppose I have a server running 24/7 and I want to reset its internet
connection when the connection is detected as having failed. Is there any
way to use Telnet to reboot a Vigor router, using a single command line or
some scripting method?
I can see that:
Telnet <router IP>
Respond to password prompt with correct password
Send command : "sys reboot"
... is the general idea
Any ideas gratefully received.
expect works well for that. Or it does on Unix, at least, I don't
know about the windows version.
http://expect.nist.gov/
Dennis Ferguson
.
- Follow-Ups:
- Re: Telnet to reboot router
- From: Graham J
- Re: Telnet to reboot router
- References:
- Telnet to reboot router
- From: Graham J
- Telnet to reboot router
- Prev by Date: Telnet to reboot router
- Next by Date: Re: Arson leaves Virgin Media customers without service
- Previous by thread: Telnet to reboot router
- Next by thread: Re: Telnet to reboot router
- Index(es):
Relevant Pages
|