Synology is kind enough to allow remote SSH connection to their NAS. I have enabled it on my DS409slim. But there is just one little missing feature: sFTP ; that is transfer file via SSH.
To enable sFTP with DSM 4.0, log on the Synology using SSH, manually enable the sftp subsystem and restart the SSH dæmon:
# vi /etc/ssh/sshd_config
Subsystem sftp internal-sftp -f DAEMON -l VERBOSE
# /usr/syno/etc/rc.d/S95sshd.sh restart
Connection to syno closed by remote host.
Unfortunately, that last command never restarted the SSH daemon… Just log on the Web interface, browse to the configuration panel and, from the “Terminal” section, select “Enable the SSH service”. This will restart the SSH dæmon and give you access to sFTP transfer too.
I’m always looking at how to get informations from my I.T. systems ; although it often ends they do nothing…
Here’s a trick to monitor the disks temperature of a Synology NAS (DS409slim in my case).
Continue reading “Monitor Synology disk temperature from SNMP”
I own a Synology DS409slim on which I have enabled SSH. The primary idea was just to have a look behind the hoods. This is quite simple: browse to the configuration panel, select the terminal services section and active the SSH daemon.
But once there, you’re stuck with a basic shell and a few commands. No `less`, no `grep`, no `bzip2`, no `perl`… Synology provides an official packages repository that provides a few extra features ; like VPN, LDAP and such ; but not so much to get a “complete” UNIX environment. The savior here is called “ipkg”. Quoting Wikipedia: “(…) the Itsy Package Management System (ipkg), is a lightweight package management system designed for embedded devices that resembled Debian’s dpkg. (…)”. It provides a bunch a GNU-like tools and it runs on the Synology!
Continue reading “Improve Synology DS409slim shell using ipkg”
I was using a 2TB USB disk as a Time Machine storage for my MacBook Pro. The thing is I keep forgetting to plug it to run the backup. So, I’m going to use this storage as a Time Machine remote storage with my Synology DS409-slim.
Continue reading “Time Machine server with Synology”
My Synology DiskStation DS409slim is, via the DSM software, SNMP aware. This means I can poll it to get some information using a SNMP capable monitoring system. This is how I configured Munin to grab some metrics from the NAS.
Continue reading “Monitor a Synology NAS with Munin”