Quick overview on Synology Directory Server

Quoting the Package Center description: “Directory Server provides LDAP service with centralized access control (…)”.

Let’s have a (quick) look at what Synology’s LDAP service provides.
Continue reading “Quick overview on Synology Directory Server”

Enable sFTP on Synology DS409slim

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 Stop SSH... 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.

Monitor Synology disk temperature from SNMP

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”

Improve Synology DS409slim shell using ipkg

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”