Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to automatically restart a RV042

Posted on 2015-01-12
5
Medium Priority
?
521 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 71

Accepted Solution

by:
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.
0
 
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?
0
 
LVL 71

Expert Comment

by:Qlemo
ID: 40545569
Exactly. Brute force, but simple and effective.
0
 
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.
0
 
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.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  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

The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
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…
Suggested Courses

721 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