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
Solved

How to automatically restart a RV042

Posted on 2015-01-12
5
385 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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Computer account cleanup 90 127
Changing out of office on 365 5 40
Powershell application 2 40
format log file 2 20
A procedure for exporting installed hotfix details of remote computers using powershell
A brief introduction to what I consider to be the best editor for PowerShell.
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…

790 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