Jump to content

Network Resource to reset router


Recommended Posts

Posted

I am looking for a connection to my router via a Netword Resource.  It accepts SSH and Telnet.  For the purposes of sending it a reboot command.  Is this possible?

thank you

Posted
4 minutes ago, glsmith777 said:

I am looking for a connection to my router via a Netword Resource.  It accepts SSH and Telnet.  For the purposes of sending it a reboot command.  Is this possible?

thank you

I don't know if it's possible. However, a simple controlled outlet would allow you to do reboot it

Posted

Thank you for your response

I am already using an Insteon micro open/close with a normally closed relay.  I can send an open command to the Insteon and it opens the relay, turning power off to the router.  The micro switch times out in about 45 secs, releasing the relay and the router power comes back on.  Works great - but would prefer sending a reboot signal.  I can send the commands over telnet and SSH - so the router will accept a reboot over intranet.  And I have created a script and scheduled the script with the Windows scheduler.  That works also.  But I am trying to use the ISY as THE controller and allow me to reboot whenever I want.

I have Network Resources now that control all of my TVs (either direct command or via an IR blaster), my DirecTV boxes, my Bose stereo (in 9 rooms), all my IR LED candles, my LIFX LED lights, my CYRON LED lights (via WL2CC) and SIRS LED lights (via WL2CC).  I just assumed a router reboot would be trivial.

 

Posted
1 hour ago, glsmith777 said:

And I have created a script and scheduled the script with the Windows scheduler.  That works also.  But I am trying to use the ISY as THE controller and allow me to reboot whenever I want.

If the router has an API  then it's trivial to create a network resource.    What does your windows scheduler actually do?   If you can hit a url like http:/<local IP of router>/reboot then it's simple with network resources.   If you need to SSH or Telnet then login and issue commands you can't do it via network resources.  You could however create a nodeserver that could do that.

Just to make the discussion simpler for all concerned, what make and model router are you using?

Posted

I have found with ASUS routers (I have three, 2 different models) that a reboot won't correct some of the problems. It takes a power cycle to make some things be forgotten. Insteon and ISY994 does it well.

YMMV

Posted

thank you for the response - 

Router is a Zyxel C3000Z

The Windows scheduler runs a Telnet script each evening at 4 AM.  The telnet script

192.168.0.1
WAIT "Login:"
SEND "admin\m"
WAIT "Password:"
SEND "mypassword\m"
WAIT ">"
SEND "reboot\m"

then reboots my router

If I could use an HTTP call, I would not have asked for help (of course).  Router does not accept user name of password or commands over HTTP.   Telenet works fine, would be nice to have the ISY control it vs the Windows scheduler.

If its is not possible, I certainly understand

Thanks again!

Posted (edited)

@glsmith777 I smell one big problem with depending on any type of Ethernet package, to reset a problem router, that depends on your router working properly.

Edited by larryllix
  • Like 1
Guest
This topic is now closed to further replies.

×
×
  • Create New...