Synology DS213+: Disable Blue Status LED

Well, the title pretty much says what I want to do. Even if the DS213+ is on top of a living room cupboard, it’s still way to bright .. as I don’t need really need the LED, here’s a quick hack (the ID and the device is taken from the Synology Wiki) on how to disable it on each startup: 1 2 3 4 5 6 7 8 #!/bin/sh case $1 in start) echo "Disabling Power LED" echo 6 > /dev/ttyS1 ;; esac Just place the file in /opt/etc/init.d/S01leds and the script is gonna turn the LED off during a boot/reboot.

September 9, 2016 · 1 min · 101 words · christian

NGINX reverse proxy for Synology DiskStation

Well, I’ve been tinkering with NGINX for a while at home, up till now I had a somewhat working reverse proxy setup (to access my stuff, when I’m not at home or away). What didn’t work so far was the DSM web interface. Basically, because the interface is using absolute paths in some CSS/JS includes, which fuck up the whole interface. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 <link rel="stylesheet" type="text/css" href="/scripts/ext-3/resources/css/ext-all.css?v=3211" /> <link rel="stylesheet" type="text/css" href="/scripts/ext-3/resources/css/xtheme-gray.css?v=3211" /> <link rel="stylesheet" type="text/css" href="/scripts/ext-3/ux/ux-all.css?v=3211" /> <link rel="stylesheet" type="text/css" href="resources/css/desktop.css?v=3211" /> <link rel="stylesheet" type="text/css" href="resources/css/flexcrollstyles.css?v=3211" /> ... <script type="text/javascript" src="/scripts/uistrings.cgi?lang=enu&v=3211"></script> <script type="text/javascript" src="/webfm/webUI/uistrings.cgi?lang=enu&v=3211"></script> <script type="text/javascript" src="uistrings.cgi?lang=enu&v=3211"></script> <script type="text/javascript" src="/scripts/prototype-1.6.1/prototype.js?v=3211"></script> <script type="text/javascript" src="/scripts/ext-3/adapter/ext/ext-base.js?v=3211"></script> <script type="text/javascript" src="/scripts/ext-3/ext-all.js?v=3211"></script> <script type="text/javascript" src="/scripts/ext-3/ux/ux-all.js?v=3211"></script> <script type="text/javascript" src="/scripts/scrollbar/flexcroll.js?v=3211"></script> After some googling and looking through the NGINX documentation I thought “Why don’t I create a vHost for each application that is being served by the reverse proxy?”. ...

August 5, 2015 · 2 min · 221 words · christian

Synology: pyLoad - Clickundamp;Load from a remote host

First, you need to enable Click&Load link submittion from external hosts (Config->Plugins->ClickAndLoad->Allow external link adding). After that, simply add the forwarding rule using an elevated command prompt: 1 netsh interface portproxy add v4tov4 listenaddress=127.0.0.1 listenport=9666 connectaddress=<nasip> connectport=9666

February 17, 2013 · 1 min · 37 words · christian

Synology: New openvpn init script

My VPN provider isn’t being supported by the Synology VPN client (because they aren’t using the standard port 1194, instead 1195). After tinkering with the ovpn files the Synology VPN client uses to store the connection settings (and failing), I just installed openvpn with ipkg. However after tinkering around with the init-script provided by the openvpn ipkg from the NSLU2 feed, I got tired and just rewrote the damn thing: ...

February 6, 2013 · 2 min · 365 words · christian