Bennor
September 12, 2024, 5:26pm
11
If you use the forum search you’ll find a number of past discussions on how to shutdown a My Cloud device using SSH. There are other past discussions on how to use WOL (Wake-on-LAN) to start a My Cloud. For example:
I’m having some problems when I try to shutdown the EX2 via SSH. I login and issue the poweroff command, and get immediately disconnected from ssh. ALL lights remain on, and I can’t ping the EX2. The only way to recover is to pull the power cord.
Am I issuing the incorrect command? Is anyone having the same issue?
Thanks.
Hello everyone,
It seems to be easier than you first think. I have read through various forum posts, including this one. When the NAS is “off”, i.e. through shutdown.sh via ssh or the power plan, the green LED of the LAN port on the back still lights up. So I thought I’d just try sending a wakOnLan packet to the device …and it actually worked. Btw I use a MyCloudEX2Ultra.
I installed wakeonlan on my Ubuntu subsystem for Windows 10 via sudo apt-get install wakeonlan.
Then using the MAC address…
A very simple method to safe shutdown WD My Cloud PR4100 Firmware v 5.0.9.115, is
Step-1 - Enable SSH from GUI
[SSH_Enable_WDpr4100]
Step-2 - Now login through SSH , and run shutdown.sh script from terminal
[SSH Login_WDpr4100]
sshd is the default username for ssh access.
http://wdstagingsplit.staged-by-discourse.com/search?q=shutdown.sh
1 Like