Orbi WiFi 7 RBE973
Reply

Is it possible to schedule restarts?

solomani
Aspirant

Is it possible to schedule restarts?

Is it possible to schedule reboots on the netgear?

 

Thanks.

Model: D6400|AC1600 WiFi VDSL/ADSL Modem Router|802.11ac Dual Band Gigabit
Message 1 of 15
TheEther
Guru

Re: Is it possible to schedule restarts?

No, it's not possible.  Why would you want to do that?

Message 2 of 15
solomani
Aspirant

Re: Is it possible to schedule restarts?

Because the netgear OS needs a restart weekly I find.  Packet loss starts happening which slowly gets worse and router reboot fixes it.  Even the GNU OS have these issues though they last a month or more before I see an issue.

Message 3 of 15
TheEther
Guru

Re: Is it possible to schedule restarts?

Are you running the latest firmware?

Message 4 of 15
solomani
Aspirant

Re: Is it possible to schedule restarts?

Yes I am according to the router itself - V1.0.0.52_1.0.52.

Message 5 of 15
TheEther
Guru

Re: Is it possible to schedule restarts?

Well, then all I can suggest is to put the router on a timer.

Message 6 of 15
solomani
Aspirant

Re: Is it possible to schedule restarts?

You mean a physical timer at the powerpoint or that's an OS option on the router?  Thanks.

Message 7 of 15
TheEther
Guru

Re: Is it possible to schedule restarts?

A physical timer.  I already said it's not possible to schedule restarts on the router.

Message 8 of 15

Re: Is it possible to schedule restarts?

24-hour-7-day-digital-mains-timer[1].jpg

Message 9 of 15
SamirD
Prodigy

Re: Is it possible to schedule restarts?

There kinda is a way to automate the logging in and rebooting from the web interface.  I've done this on several older netgears.  Then you can set up a line like 'WGET -qO- --http-user=LOGIN --http-passwd=PASSWORD --post-data="Reboot=Reboot" http://192.168.1.1/diag.htm' to run whenever you want on a pc.

 

The other solution will be to use a rebooter like this one:

http://3gstore.com/product/6081_2_outlet_ip_switch.html

 

We used this on an old fvs114 that would just lock up whenever, but came up instantly when rebooted.  I basically forgot it had this issue at all once the rebooter was installed.

Message 10 of 15
solomani
Aspirant

Re: Is it possible to schedule restarts?

These are nice solutions, thanks Samir!

 

I'll try the command-line from cron first as I run OSX.

Message 11 of 15
solomani
Aspirant

Re: Is it possible to schedule restarts?

Hi Samir/All,

 

Is it still possible to reboot via wget on the latest firmware?  I tried your suggestions as well as this:

 

wget -q --post-data "button=reboot" http://USERNAME:PASSWORD@172.18.0.2/reboot.cgi

 

But nothing happened.  So wondering if I have it formatted right?

Message 12 of 15
SamirD
Prodigy

Re: Is it possible to schedule restarts?

So you'll need to test how to reboot the router using wget on your computer (command line).  

 

And you'll have to figure out what that url will need to be/look like.  What I posted was for an fvs114, so I'm sure it won't work for any other model.  If you've done some programming, you have a chance of figuring it out.

 

The way you can figure out the url you need is by going to the page where the reboot option is.  If it's a link, that's awesome because you can just right-click and find out what the link goes to.  If it's javascript, you'll have to decode that script and figure out how to execute the same thing.  If it's a form or button, there's ways to do that in html, so you again would have a single line that might work.

 

It took me no less than a few days (maybe even a week?) to figure out that line for the fvs114.  This isn't easy by any means, but it can be done.  And now that you know what you're looking for, you might try some searches as someone may have already figured it out.  

 

Good luck, and definitely post back here with any results or development.

 

Oh, and once you've figured it out, putting in a cron is a perfect way to execute it consistantly when you want it. 🙂

Message 13 of 15
SamirD
Prodigy

Re: Is it possible to schedule restarts?


@solomani wrote:

Hi Samir/All,

 

Is it still possible to reboot via wget on the latest firmware?  I tried your suggestions as well as this:

 

wget -q --post-data "button=reboot" http://USERNAME:PASSWORD@172.18.0.2/reboot.cgi

 

But nothing happened.  So wondering if I have it formatted right?


Get rid of the -q so you can see the error messages.  Also, don't use the 'http://user:pass' method of passing the login/password.  I've seen that not work.

 

I don't know what your reboot screen looks like so if you could post up a screenshot (or even one from the manual), I might be able to help you further.

Message 14 of 15
solomani
Aspirant

Re: Is it possible to schedule restarts?

Hi Samir,

Thanks for the help.  So I changed it to verbose mode and it gets to the page fine, just not sure how to pass the reboot command.  So here is the code + output:

 

 

 

elektra-2:~ solomani$ wget -v --http-user X --http-password Y "http://192.168.0.1/ADVANCED_home2.htm"
--2016-09-20 16:51:01--  http://192.168.0.1/ADVANCED_home2.htm
Connecting to 192.168.0.1:80... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Authentication selected: Basic realm="NETGEAR D6400"
Connecting to 192.168.0.1:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 35198 (34K) [text/html]
Saving to: ‘ADVANCED_home2.htm.2’

ADVANCED_home2.htm.2               100%[==============================================================>]  34.37K  --.-KB/s    in 0.001s

2016-09-20 16:51:01 (47.8 MB/s) - ‘ADVANCED_home2.htm.2’ saved [35198/35198]

 

The direct link to the reboot page looks like this:

Screen Shot 2016-09-20 at 16.57.00.png

 

If I hit reboot I get a Y/N are you sure requester:

Screen Shot 2016-09-20 at 16.57.12.jpg

 

This is what inspector shows me when I mouse-over the reboot button:

<td width="50%" class="page-table-button-left" align="center" onclick="advButtonClick(2);" onmouseover="changeCursorPointer();" onmouseout="changeCursorDefault();">
													 <span id="reboot">Reboot</span>	
											</td>

 

Stuck at that point 🙂

Message 15 of 15
Top Contributors
Discussion stats
  • 14 replies
  • 32844 views
  • 4 kudos
  • 4 in conversation
Announcements

Orbi WiFi 7