Hi there,
I've just setup Alt-F on my old NAS and already noticed some weird things about it.
At first I wanted to remotely shut it down so I've tried this solution from
Lukas Trtik (found in this group):What worked for me:
1) installed Alt-F sudo package
2) created an user called 'shutdown' in Alt-F administration directly (for me - easier than looking for a Linux command)
3) connected via ssh and used visudo to add this: shutdown ALL=NOPASSWD:/sbin/poweroff
4) calling it from Windows using PuTTY: plink.exe -l shutdown -pw PASSWORD SERVERNAME -m nas_shutdown.txt
where nas_shutdown.txt contains: sudo /sbin/poweroff
Just
to find out that I don't have a "poweroff" under sbin nor a "shutdown",
just a "halt". So I tried halting, but the NAS didn't poweroff
properly: system seems to have stopped, but the LEDs were still on,
pressing the power button only made its LED blink so I had to physically
remove the power cable.
Then I gave up the idea of remote
shutdown and decided to use the power button (would be proper shutdown
according to this page:
https://sourceforge.net/p/alt-f/wiki/How%20to%20Use/). But my NAS didn't
behave as described there and I found that "The
DNS320L/327L front power button can only be used to power
off the box" inside Alt-F.
Finally, on the same page inside
Alt-F where I found that it says under "System Safety" that reaching
"Critical Temp" the "Command to execute" is "/usr/sbin/poweroff". That
leaves me a bit worried, because as I said earlier ... poweroff is just
not there and it'll probably fry.
So my questions:
1- Anyway to remotely shutdown the 320L?
2- If I press the power button, wait for power LED to blink and release it, will my 320L shutdown properly?
3-
Should I replace "Critical Temp Command to execute"? Anything better
than "/usr/sbin/halt" (which is there but doesn't work properly)?
One more thing! On which log are failed poweroffs logged? What to search for?
Don't get me wrong, Alt-F still seems far better than the original Firmware, congrats!
I just want to make the most of the NAS and need to understand the shutdown a bit better.