Go Premium for a chance to win a PS4. Enter to Win


How to automatically restart a RV042

Posted on 2015-01-12
Medium Priority
Last Modified: 2015-07-19

I have a RV042 that connects, via VPN, several branches. It's usually stable, but every 2/3 weeks it crashes and requires a restart. And since it's in a remote location, it's not convenient to send someone there simply to power cycle the router.

Can I schedule the router to automatically restart every x days? It's the new model, where you no longer have ssh (and cron) access.

If the answer is: can't do that directly from the router, then can I use a script? Powershell, maybe, to login to the router and restart?

Thank you.
Question by:Dan Craciun
  • 3
  • 2
LVL 71

Accepted Solution

Qlemo earned 2000 total points
ID: 40545485
Since there seems to be no CLI anymore, the only software way is to use the Web UI. Does that have a reboot option?  If yes, logging in and navigate to the corresponding page, then clicking the reboot button - or whatever it's needed - using PowerShell is cumbersome but feasible. A hardware timer might be a much easier workaround.
LVL 35

Author Comment

by:Dan Craciun
ID: 40545565
I've tried using Lynx to navigate to the reboot page, no joy. The idea was that a text only version would be easier to automate.

A hardware timer like something that cuts the power?
LVL 71

Expert Comment

ID: 40545569
Exactly. Brute force, but simple and effective.
LVL 35

Author Comment

by:Dan Craciun
ID: 40546150
Could not find one off the shelf, asked a friend to build one, no luck.

So it's back to scripting. I'm going to try to record a quick AutoIT script this evening, to see how well it works.

Will post back the results.
LVL 35

Author Closing Comment

by:Dan Craciun
ID: 40888534
Tried the AutoIT route, worked but not reliable, so ended up using a wall socket with a timer.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
In previous parts of this Nano Server deployment series, we learned how to create, deploy and configure Nano Server as a Hyper-V host. In this part, we will look for a clustering option. We will create a Hyper-V cluster of 3 Nano Server host nodes w…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Loops Section Overview

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question