A
A
Alexey2017-12-25 09:43:46
cmd/bat
Alexey, 2017-12-25 09:43:46

How to make an automatic reboot of the modem in NETGEAR Router EVG1500 (from Dom.ru)?

I type in the command line:
telnet ip (main gateway)
I press inter, then a black screen. pressing any key crashes, let's say, into the main cmd menu and that's it ((
Maybe there is a remote reboot of the modem without telneta?
Next, I want to make a script in bat'e and throw it into the task scheduler

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Gansterito, 2017-12-25
@Gansterito

And why do you need it? Something "freezes" or want to periodically change the IP address?
See what commands are in the "cmd" menu. If there is a standard unix shell, then the reboot command (or shutdown -r now) will do. If there is still a menu, then climb in it, look for a suitable command.
Automating the execution of telnet scripts in Windows is possible, for example, through the Windows Script Host, there are examples on the Internet.

R
res2001, 2017-12-25
@res2001

The built-in Windows telnet client does not allow scripts to be executed on the remote side - only manual command entry. You need to use some third party client with this capability.
But from a security point of view, it is better to use ssh rather than telnet, the router probably supports this protocol. PuTTY (the well-known ssh client for windows) comes with a command line utility that establishes a connection and executes a script on the remote side. In addition, PuTTY supports various protocols, incl. and telnet.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question