Re: Telnet to reboot router




"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


.



Relevant Pages

  • Re: Telnet to reboot router
    ... way to use Telnet to reboot a Vigor router, using a single command line or ... Telnet ... Send command: "sys reboot" ...
    (uk.telecom.broadband)
  • RE: FTPD and Telnet password lost when ethernet cable detached
    ... Telnet on my device with Windows CE 5.0. ... When I reboot my device with the ethernet cable unplugged, ... ethernet cable I'm unable to use the previous saved password, the ftp, telnet ... and remote admin login fails. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: VPN Error 800
    ... this *will* happen again in the future with another reboot. ... Have you applied the July DNS patch yet? ... the port reservations and reboot. ... I have done all of the normal external test (telnet to port ...
    (microsoft.public.windows.server.sbs)
  • Re: Telnet to reboot router
    ... connection when the connection is detected as having failed. ... Telnet ... Send command: "sys reboot" ...
    (uk.telecom.broadband)
  • RE: FTPD and Telnet password lost when ethernet cable detached
    ... If I try to set the system password through ControlPanel->Password Telnet ... and FTP works fine and I never lost password after reboot also with cable ... RemoteAdmin interface use different password to login than ftp and telnet? ... we need to add some other entries to the registry to try to ...
    (microsoft.public.windowsce.platbuilder)