NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
pjhunter
Aug 17, 2020Aspirant
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 ...
- 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.
pjhunter
Aug 18, 2020Aspirant
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.
StephenB
Aug 18, 2020Guru - Experienced User
pjhunter wrote:
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).
Correct. If the UPS battery drains, the PCs would do an unclean shutdown. In my experience, that isn't a problem. Though I don't tend to leave documents open, etc. on my PCs.
pjhunter wrote:
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.
Glad I could help.
Related Content
NETGEAR Academy

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