Solved

How to automatically restart a RV042

Posted on 2015-01-12
5
369 Views
Last Modified: 2015-07-19
Hi,

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.
0
Comment
Question by:Dan Craciun
  • 3
  • 2
5 Comments
 
LVL 69

Accepted Solution

by:
Qlemo earned 500 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.
0
 
LVL 34

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?
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 40545569
Exactly. Brute force, but simple and effective.
0
 
LVL 34

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.
0
 
LVL 34

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.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Set OWA language and time zone in Exchange for individuals, all users or per database.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
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…
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…

831 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