J'ai essayer cette manip sans succès.
1. Enable “Service SSH” in the Control Panel Synology DiskStation
1a.Enable root access from you username:
Open putty and ssh with your username and use the terminal command:
sudo -i
sudo synouser -setpw root YOURPASSWORD
2. Open WinSCP and connect to your NAS server using the SCP protocol
Use the username root and your admin password
3. Using WinSCP to copy the script S99ZZZ_Shutdown.sh into folder:
/usr/syno/etc/rc.sysv
Check the permissions of the copied file S99ZZZ_Shutdown.sh,
in WinSCP, by right-clicking on the file and selecting “Properties” and enter in the Oct field: 0755
Also you can use the terminal command:
chmod 0775 /usr/syno/etc/rc.sysv/S99ZZZ_Shutdown.sh
chmod +x /usr/syno/etc/rc.sysv/S99ZZZ_Shutdown.sh
4. Then, find and open a file synoinfo.conf in directory:
/etc/synoinfo.conf
Press F4 to edit synoinfo.conf file in WinSCP and change the following values:
wol_enabled_options=””
eth0_wol_options=”g”
eth1_wol_options=”g”
// etc. if you have network cards ..//
Also you can use MC or VI editor on terminal shell for edit synoinfo.conf
5. Save your changes and reboot the server. Now, WOL is enabled!
To enable WOL from the outside – open UDP port 9