Synology DSM 6

I am a big fan of synology, I also own a DS214 with two WD RED 3 TB drives in raid 1.

Lastly, synology released the beta of DSM 6.

In a few months I will write a full review of DSM 6, but for now I want to say these things: because of a bug in the update the web interface didn’t start anymore. Luckily I had SSH enabled and was able to fix it using following thread:

But that’s the only negative I have to say about DSM 6. The new videostation is HTML5-based and super stable. It works like a charm.

dsm_1Backup and restore now also supports backing up to external storage, cloud sync is able to sync multiple directories.

Although cloudsync isn’t able to sync external hard drives, it is possible to mount it in a local volume using a command. You have to start it every time the system boots, but you can find a tutorial how to do that here (backup link).

mount -o bind /volumeUSB1/usbshare/EXTERNALFOLDER /volume1/data/LinkedUsbDriveFolder


And also, best inprovement: BASH! Yes, synology SSH is now a bash terminal.



Setting up raspberry pi B and enabling CEC (anynet+)

Hi there,

I want to use my raspberry pi as a TV webbrowser to display messages at my youth house. To do that, I will configure it to power on the TV when people are present and shut the TV down when no one is around. Here is my checklist of todo things:

  1. Setup PI with SSH enabled
  2. Enable x11org vnc server to view hardware hdmi output. (With a fixed resolution)
  3. Install LibCEC to control the TV
  4. TBA Making it boot in a browser kiosk mode to display the infopage
  5. TBA Creating the infopage and managing software.
  6. TBA

1. Setup Raspberry PI with SSH enabled

First of all we want to download the raspbian image from the official site.

Secondly, we are gfbashoing to put the image on our SD card. I recommend using at least class 10. Once for a school project we had troubles because our programs were running to slow, and upgrading the sd card solved all our problems. The software we use is Win32 Disk Imager.



Now we boot up the pi with a screen and keyboard connected. We enable ssh from raspi-config.

And how to find the raspberry pi’s IP address? Simple, just fire up advanced IP scanner and look for raspberry foundation or look at the hdmi output.

Advanced Ip scanner

After that we connect to the raspi using putty. We run raspi-config to enable the gui, expand the file system etc…

pi@raspberrypi ~ $ sudo raspi-config

2. Enable x11org vnc server to view hardware hdmi output.

Using a simple vnc server will create a virtual desktop. For developing purposes this isn’t handy because we could get a different output on the screen.

First we will install the package.

sudo apt-get update && sudo apt-get dist-upgrade
sudo rpi-update
sudo apt-get install x11vnc
sudo reboot


Now we add a password.

pi@raspberrypi ~ $ x11vnc -storepasswd

Next, create a folder to hold the X11VNC desktop configuration file.

nano /home/pi/.config/autostart/x11vnc.desktop

Insert the following:

[Desktop Entry]
Exec=x11vnc -forever -usepw -display :0 -ultrafilexfer

nanoSave it by doing CTRL+X and press Y.

Then we restart:

sudo reboot


After that we edit the boot.txt file. Find teh hdmi_mode line and change it.  Here you find the diffrent modes under the HDMI_mode topic.

sudo nano /boot/config.txt
# uncomment to force a specific HDMI mode (this will force VGA)


Testing the connection.

We fire up tightvnc, enter the IP address and password.



3. Install LibCEC to control the TV

Now we are going to install LibCEC using the following commands.

I got it working for version 2 using these commands from this project:

wget -O - | sudo apt-key add -
sudo sh -c 'echo "deb wheezy main" > /etc/apt/sources.list.d/libcec.list'
sudo apt-get update
sudo apt-get install python-dev build-essential libcec-dev cec-utils

Binaries also available here: libcec compiled raspberry

And to test if it’s working:

Shut down the tv: echo ‘standby 0′ | cec-client -s

Other commands: (backup of the site: CEC commands)

Executing the above commands goes as follows.

pi@raspberrypi ~ $ echo "tx 10 36" | cec-client -s #turn of tv

pi@raspberrypi ~ $ echo "tx 10 04" | cec-client -s #turn on tv

#Switch to HDMI1
pi@raspberrypi ~ $ echo "tx 4f 82 13 01" | cec-client -s
#Switch to HDMI2
pi@raspberrypi ~ $ echo "tx 4f 82 23 01" | cec-client -s