DNS-320 – making fun_plug and old packages work
The change in the location of hard disk mounting point in the DNS-320 broke fonz’s fun_plug. fonz’s fun_plug was created to run on earlier D-Link NAS (DNS-313, DNS-323, DNS-343) whose Volume_1 was mounted at /mnt/HD_a2. In DNS-320’s case, Volume_1 was actually mounted on /mnt/HD/HD_a2.
This change in mounting point also broke some of the packages created earlier as rely on /mnt/HD_a2 for storage. Transmission Bittorrent client (transmissionbt) is one of the packages that won’t run on the DNS-320 out of the box.
To make fonz’s fun_plug work (again) is actually quite simple. Some text replacements in the file “fun_plug” should fix the issue. To make it simple, I have made the necessary replacements and made it available as a download. I have also created another file “/ffp/etc/fun_plug.local” to instruct the system to make the mounting point on the DNS-320 appear like it is on the DNS-323.
Check out D-Link ShareCenter Pulse DNS-320 deals on Amazon.
Files
- Modified fun_plug for DNS-320 Download (MD5: 81dbd1acbfeb2003b52084d157109b44)
- fun_plug.tgz Download (MD5: fcaf37a0a26222ef1231fe287e972a9b)
- fun_plug.local for DNS-320 Download (MD5: 326f60fba339bccf6934c3e4a78714af)
Getting fonz’s fun_plug to run on the DNS-320
- Download the modified fun_plug (file no. 1) and save it as “fun_plug” (without any file extension) onto your computer desktop. You may want to do a right-click -> save as.
- Download fun_plug.tgz (file no. 2) and save it as “fun_plug.tgz” onto your computer desktop
- Copy the 2 downloaded files (fun_plug and fun_plug.tgz) onto Volume_1 of the DNS-320
- Download fun_plug.local (file no. 3) and save as “fun_plug.local” onto Volume_1 of the DNS-320
- Reboot the device
- Wait for a while (probably 2 minutes) before continuing to the next step
Making DNS-320 compatible with older packages
- Telnet to your DNS-320 (e.g. telnet <IP address>)
You should be greeted by the prompt “/ #” - Navigate to Volume_1 by typing the command “cd /mnt/HD/HD_a2“
- Check if fun_plug.local exists by typing the command “ls”
You should see fun_plug.local as one of the files - Move fun_plug.local to the correct location by typing the command “mv fun_plug.local /ffp/etc“
- Make fun_plug.local executable by typing the command “chmod a+x /ffp/etc/fun_plug.local“
- Reboot the device
- You can proceed to install packages meant for devices like DNS-323
Well, I hope that by creating a symbolic link (/mnt/HD_a2 -> /mnt/HD/HD_a2) would solve most of the package problems. Do feedback if it doesn’t work for you.
Getting a DNS-320?
Check out D-Link Systems ShareCenter 2-Bay USB 2.0 External Hard Drive Enclosure DNS-320 Black deals on Amazon.com