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

Forum Discussion

pjhunter's avatar
pjhunter
Aspirant
Aug 17, 2020
Solved

RN312 - programatically eject external USB storage and programatically shutdown RN312.

I am faced with unexpected power outages (here in CA). My RN312 is on a UPS, but sometimes the outage lasts longer than the UPS battery. I monitor the battery state on a separage windows system that ...
  • pjhunter's avatar
    pjhunter
    Aug 18, 2020

    Thanks StephenB ,

    This your suggestion would work (letting NAS monitor the UPS), but shutting down the PC's manually wouldn't work, if nobody is around (which is often the case).

     

    The solution you referred to in the older post "rnutil rn_shutdown" works perfectly.  I tested it and the USB external drive was properly shutdown followed by the NAS itself.

     

    The PC monitoring the UPS now has an script that fires after 10 minutes on battery that, among other things, sends an ssh command the RN312:

    ssh root@nas -command rnutil rn_shutdown

     

    Perfect solution. Thanks.

     

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More