Tutorial on Installing Debian Squeeze, SABnzbd, SickBeard, CouchPotato and Headphones on the D-Link DNS-320 and DNS-325

This guide is going to cover installing Debian Squeeze, SABnzbd, SickBeard, CouchPotato and Headphones to run on the D-Link DNS-320 and DNS-325.

This guide assumes that you already have a WORKING installation of Fun Plug on your NAS if you haven’t please consult this guide first.

Although assuming that you do have a working Fun Plug installation, lets get rocking and rolling as the cool kids might say.

Continue reading Tutorial on Installing Debian Squeeze, SABnzbd, SickBeard, CouchPotato and Headphones on the D-Link DNS-320 and DNS-325

uwchmod: Fix for a issue with the firmware of some D-Link Devices

Since quite a while i am told that certain devices of D-Link have a bug in their firmware. This bug sets chmod 777 on all disks on reboot which prevents the fun_plug on these devices to start properly. SSH-Server is not starting and all other services are started which uses a lot of resources.

To prevent that bug, i have developed a solution which is based on the idea of KyleK My Package replaces /bin/chmod by a script which checks if it is called with 777 and on a directory of the harddisks (/mnt/USB/USB* or /mnt/HD/HD*). If that happens, this is prevented. If the command is a normal one, it is executed.

Important Note: With Non-Dlink-Devices the installation is simply not executed, on these it is no issue to install that script as it simply doesn’t execute.

Now install the package from my repository (Attention: This will fail on OABI Devices as it is not required there! Simply skip this step then!):

slacker -UaA uli:uwchmod

Thats it 🙂

Hint: If you upgrade your firmware, you need to reinstall the script as it is removed during such a upgrade.

uwcron: Cron for the fun_plug

Since quite a while i was often asked if there is a possibility to store entries into crontab permanently on NAS devices with fun_plug. That is not that easy as the devices reset their crontab to the default one on every reboot. Therefore you need to add the entries every time the device reboots. I have now developed a script which automates that for your convenience.
Continue reading uwcron: Cron for the fun_plug

Installation of Java on the NAS under fun_plug

Today i’ve installed java on my NAS Device (a D-Link DNS-345) what i personally see as a highlight as i can now use software that was not available to me before. Oracle provides a “Java SE Embedded”, which is suitable for NAS devices thanks to its reduced memory footprint. For the following tutorial you need to have fun_plug installed!

Download

Go to the Oracle Page and choose “ARMv5 Linux – Headless”. Now you will be redirected to a survey, where you have to enter Name, Prename, Mail, Organization and Role. Then you will receive the download-Link via E-Mail. Click on this Link and accept the license agreement.
Java SE Embedded
Copy the downloaded file (in my case its name was ejre-7u6-fcs-b24-linux-arm-sflt-headless-10_aug_2012.tar.gz, but that is subject to change) to the NAS. I’ve copied it to /mnt/HD/HD_a2/, please adapt the following commands if you copy it elsewhere.

Installation

First create a directory:

mkdir -p /ffp/opt/java

Then unpack the archive from before:

cd /ffp/opt/java
tar xvzf /mnt/HD/HD_a2/ejre-7u6-fcs-b24-linux-arm-sflt-headless-10_aug_2012.tar.gz

Now create a link to the unpacked directory (“ejre1.7.0_06”):

ln -s ejre1.7.0_06 jre

Now put it permanently into the environment variables:

echo "export PATH=/ffp/opt/java/jre/bin:\$PATH" >> /ffp/etc/profile.d/java.sh
chmod a+x /ffp/etc/profile.d/java.sh

Logout and Login into the NAS.

Installation-test

Check if it works:

java -version

This should display something like this:

java version "1.7.0_06"
Java(TM) SE Embedded Runtime Environment (build 1.7.0_06-b24, headless)
Java HotSpot(TM) Embedded Client VM (build 23.2-b09, mixed mode)

Twitter Updates for 2012-06-27

  • Added fanctl 2 #funplug #
  • Added rsync 3.0.9 #funplug #
  • Added uwfancontrol 1.3 #funplug #
  • Added stunnel 4.53 #funplug #
  • Added autossh 1.4c #funplug #
  • Added dbus 1.6.0 #funplug #
  • Added gdbm 1.10 #funplug #
  • Added libusb 1.0.9 & libusb-compat 0.1.4 #funplug #
  • Added avahi 0.6.31 #funplug #
  • Added libiconv 1.14 #funplug #
  • Added neon 0.29.6 #funplug #
  • Added pciids and usbids from today #funplug #
  • Added dbus-glib 0.100 #funplug #
  • Updated freetype to version 2.4.10 #funplug #
  • Updated fontconfig to version 2.9.92 #funplug #
  • Updated ffmpeg to version 0.11.1 but seems to break compatibility… #funplug #
  • Updated netperf to version 2.6.0 #funplug #
  • Updated lftp to version 4.3.7 #funplug #
  • Added libxml2 2.8.0 #funplug #
  • Updated fftw to version 3.3.2 #funplug #

Activation and Deactivation of Daemons in Fonz fun_plug 0.7

After installing Fonz’ fun_plug (see tutorial on this), you will probably want work with like NFS or Torrent. This tutorial will show you how to do this.

The commands below are ONLY for fun_plug Version 0.7

Continue reading Activation and Deactivation of Daemons in Fonz fun_plug 0.7