Re: Telnet to reboot router
- From: "Graham J" <graham@xxxxxxxxxxxxxxxx>
- Date: Sun, 4 Nov 2007 10:19:57 -0000
"Dennis Ferguson" <dcferguson@xxxxxxxxxxx> wrote in message
news:slrnfiq4bj.cb.dcferguson@xxxxxxxxxxxxxxxxxxxx
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/
Thanks Dennis - I will give it a try ...
--
Graham J
.
- References:
- Telnet to reboot router
- From: Graham J
- Re: Telnet to reboot router
- From: Dennis Ferguson
- Telnet to reboot router
- Prev by Date: Re: Arson leaves Virgin Media customers without service
- Next by Date: Re: Telnet to reboot router
- Previous by thread: Re: Telnet to reboot router
- Next by thread: Re: Telnet to reboot router
- Index(es):
Relevant Pages
|