Is it possible for your PC to reboot your router?

Im sure a script could be written to log into the router excute the command to reboot. Not a clue how it'd be done though sorry :p
 
Xez is that a clio 16v?? i used to have an M-reg - put in a Greet Cottin Air filter and WAHEY!! miss that car.

On topic - im not sure, i dont THINK a pc can do a reset - you need to do a hard reset from the router as far as i know. What sorta router is it?
 
fastwunz said:
Xez is that a clio 16v?? i used to have an M-reg - put in a Greet Cottin Air filter and WAHEY!! miss that car.

It is ;)

To the OP, what/why are you curious to know if a pc cant automatically reboot a router? Im not quite sure what your trying to do. More details would be good.
 
Its just a web server so there's no reason you cant script a login and reboot request. Better however would be opening telnet up and scripting it through that (model dependant)
 
All it should require is a simple set of telnet commands :)
This is the telnet scripting tool that I use for simple jobs like this:
http://mike-tech.com/article.php?gif=cisco&article=72

Simple reboot script:
Code:
192.168.1.1 23
WAIT "login"
SEND "root\m"
WAIT "password"
SEND "mypassword\m"
WAIT ">"
SEND "reboot\m"
WAIT ">"

Obviously replace the IP, user & password as appropriate- Should be the same as those you use to log into the web UI.

You should then be able to call the script with Windows task scheduler or similar :)

There are plenty of other ways to do this (All are going to be involving telnet), but this is using a simple ready-made scripting client with nothing complicated.

-Leezer-
 
You can schedule commands within the Cisco IOS using the Kron but as for your average off the shelf devices unfortunately not, unless you put them on a timer switch.
 
Back
Top Bottom