![]() Next, enter the following command: synouser -setpw root XXXXXXX.You’ll be prompted for your admin password again. Once logged in, enter following command: sudo su.In the window that appears, log in as admin.In the Host Name field, enter the IP address of your Synology NAS and click Open. On your computer, run Putty (there is no install).Select Terminal & SNMP and select the Enable SSH service option.Open DiskStation on the Synology NAS and then open the Control Panel.Go to the PuTTY Download page and download putty.exe and plink.exe.I’ve compiled everything here:įirst, you need to set the root user’s password on the NAS to be the same as the Admin user. Eventually, I learned that CyberPower had posted actual instructions on how to do it with a Synology NAS! Unfortunately, it doesn’t tell you everything, but after several hours of searching and trial and error I was able to piece it all together and get my Windows computer and Synology NAS to shutdown when my UPS was running out of battery power. I messed around with NUT (Network UPS Tools), but just couldn’t get it to work on my Windows 10 machine. ![]() I’ve got twin 4TB drives in there, so corrupting those drives would not be good. (I’m not really sure about the pure vs simulated sine wave discussion, but I feared it might matter someday, so I ponied up for the pure sine wave version.)Īnother thing dawned on me: although the UPS application would shutdown my computer when the battery got low, nothing instructed my Synology NAS DS212j to do the same. (The cable modem is in another room and will get it’s own UPS :-) After doing a bit of research, I decided on the CyberPower CP1500PCFLCD UPS. I also realized that I needed to plug my router and network hub into the UPS, if I wanted Internet to continue during a blackout. However, see my newer post, Shutdown Windows computer and Synology NAS using WinNut, for another way to accomplish the same thing!Īfter a recent thunderstorm that took out the power for several hours, I realized that my four year old 825VA UPS was a little long in the tooth and probably under powered for my computer, NAS and twin 26″ monitors. NOTE: As of DSM 6+, it is no longer possible to log in as a root user using the command line option, so the solution in this post no longer works. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |