NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Bob245
May 08, 2019Guide
How to shutdown my ReadyNAS Pro 4 (RNDP4000) OS6.10.0
Hello everybody.
Thanks to Guru StephenB I succesfully upgraded my ReadyNas RNDP4000 to OS6.10.0.
I am very satisfied with this update.
I activated SSH and would like to find the command to remotely turn off the NAS.
With other NAS (of other brands) I use a batch that creates the ssh connection (for example with the putty.exe)
With other NAS (of other brands) I use a batch that creates the ssh connection (for example with the putty.exe)
and then I pass the poweroff command.
Below is the batch line that I use (invented password)
putty.exe admin@192.168.10.96 -pw ??12345678?? -m c:\poweroff\command.txt
In the file c:\poweroff\command.txt there is the simple command POWEROFF.
For the Netgear this shutdown system does not work. Can you give me advice always staying with SSH?
Below is the batch line that I use (invented password)
putty.exe admin@192.168.10.96 -pw ??12345678?? -m c:\poweroff\command.txt
In the file c:\poweroff\command.txt there is the simple command POWEROFF.
For the Netgear this shutdown system does not work. Can you give me advice always staying with SSH?
Thanks a lot
Bob245 wrote:
putty.exe admin@192.168.10.96 -pw ??12345678?? -m c:\poweroff\command.txtAlways use root when logging in with ssh.
You might consider using rnutil -rn_shutdown for the NAS. Rnutil will shut down readynasd first, and then shut down the system.
7 Replies
Replies have been turned off for this discussion
- SandsharkSensei - Experienced User
Poweroff should work. Try poweroff --help to see the options.
- Bob245Guide
Hello,
the linux version present in my ReadyNAS OS6 is similar to other NAS that i use but I am not capable to poweroff it with batch.
on netgear nas there is Linux NAS01 4.4.163.x86_64.1 #1 SMP Wed Mar 20 17:57:45 UTC 2019 x86_64 GNU/Linux
on other brand there is Linux NAS00 4.14.24-qnap #1 SMP Sat Mar 23 10:47:59 CST 2019 x86_64 GNU/Linux
Someone are capable to make a poweroff for readynas by SSH?
Thanks
- Bob245Guide
Hi,
you are the best, now it work. Now the batch is this
putty.exe admin@192.168.10.96 -pw ZxxxxxxxxxZ -m c:\poweroff\ReadyNAS.txt
in the file c:\poweroff\ReadyNAS.txt there is the grace shutdown(no hypen need before rn_shutdown)
rnutil rn_shutdown
This upgrade os6.10.0 is fantastic: web screen very clear and simple to use, there is the hotfix automatic, iscsi work well and finally encryption (the key manage with usb key is very easy).Thanks a lot for you precious collaboration
- StephenBGuru - Experienced User
Bob245 wrote:
putty.exe admin@192.168.10.96 -pw ZxxxxxxxxxZ -m c:\poweroff\ReadyNAS.txtAgain, I recommend putty.exe root@192.168.10.96 -pw ZxxxxxxxxxZ -m c:\poweroff\ReadyNAS.txt
Though it doesn't seem to matter for this particular command, in general you should always log in as root when you use ssh. There are cases where running commands as admin can do damage to the OS partition (for instance, mis-setting file ownership and permissions).
Related Content
NETGEAR Academy

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