NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

ngforumu's avatar
ngforumu
Aspirant
Apr 06, 2022

Schedule restart of R6400

At the moment there is no easy way to schedule restarts other than an outlet timer. Has anyone been able to do this recently or could this be a request for future development?

 

Why would I want to do that? The router stops responding to vpn traffic until a restart every so often. My theory is that packet loss somehow impacts it. I had a smart outlet that died and I would like to configure a cron job either on the router or via an outside device.

 

This previous thread had good tips but the setup has changed and posting directly the old .cgi does not seem to work.

https://community.netgear.com/t5/DSL-Modems-Routers/Is-it-possible-to-schedule-restarts/td-p/1140845

 

From what I could find the restart is buried under "newgui_adv_home.cgi". When you click restart it sets the value of buttonSelect to 2 and submits the form. I need a way to pass the randomly generated ID during login to from.

 

Form without clicking reboot:

<form action="newgui_adv_home.cgi?id=21272b6f4dea791c62698c1ddda05b2b2cddfc1a9984dc669a6aa1c13b221d24" method="post">

...

<input type="hidden" value="1" name="buttonSelect">
<input type="hidden" name="enable_apmode" value="0">
<input type="hidden" name="wantype" value="dhcp">

</form>

 

Trying:
http://192.168.x.1/newgui_adv_home.cgi?id=6cc6bd3e74077f449d8fbfbd2b6a4d073abfe3e340edacd26632bfb06e92ca51

 

Results in:

Sorry,your timestamp is expired.
Please click the menu to re-enter the page.

 

The below does not work either as I suspect it needs the "id" in addition to buttonSelect.

wget -q --post-data 'buttonSelect=2' http://USER:PASS@192.168.x.1/newgui_adv_home.cgi

 

Lastly, apologies for the long post.

 

Thanks!

4 Replies