Installation of Twonkymedia Server 6 on the Conceptronic CH3MNAS and the D-Link DNS-320, DNS-321, DNS-325 and DNS-343

Twonkymedia Server

This tutorial is deprecated, please use the tutorial for the current version.

If you need an advanced Mediaserver, Twonky is one of the best choices. The Problem is that the installation of Twonkymedia Server 6 is a little bit more complicated than just running a Setup. Before you go on, please make sure that the Fonz fun_plug is installed. The following article has only been tested on the following devices:

  • Conceptronic CH3MNAS
  • D-Link DNS-320
  • D-Link DNS-321 (thank you thatdude!)
  • D-Link DNS-325
  • D-Link DNS-343

It will definitely not work on the CH3SNAS, CH3HNAS and DNS-323, please use this tutorial for these devices. If you want to update to the newest version of twonky (and if you’ve already followed this article in the past), then check this out.

Werbung


This Tutorial will install the Twonkymedia Server in /ffp/opt/twonky/. All data created by the Software (Database, Covers and so on) will be stored in /ffp/opt/twonky/data/.

Before following the commands below, please take a look a this Website to determine whether 6.0.38 is the current version. Download the “Kurobox Pro” archivefile as this is compatible with the above devices:

mkdir -p /ffp/opt/twonky/data/
cd /ffp/opt/twonky
wget http://www.twonkyforum.com/downloads/6.0.38/twonkymedia-kurobox-pro-6.0.38.zip
unzip twonkymedia-kurobox-pro-*.zip
rm nassetup.exe nas-installer nas-uninstaller install.nas twonkymedia-kurobox-pro-*.zip
chmod +x /ffp/opt/twonky/twonkymedia /ffp/opt/twonky/twonkymediaserver /ffp/opt/twonky/plugins/* /ffp/opt/twonky/cgi-bin/*

Now the binaries are installed. Now you need the starter-script:

wget http://wolf-u.li/u/186 -O /ffp/start/twonky.sh

And the configurationfile:

wget http://wolf-u.li/u/187 -O /ffp/opt/twonky/twonkymedia-server-default.ini

If you have a DNS-320 or DNS-325 you need to run the following command:

sed -i -e 's!/HD_a2!/HD/HD_a2!g' -e 's!/HD_b2!/HD/HD_b2!g' /ffp/opt/twonky/twonkymedia-server-default.ini

Now test if everything works by running the daemon-startscript manually:

sh /ffp/start/twonky.sh start

For advanced users: Run “ps -ef|grep twonky” should show several processes now

Connect your Browser to Port 9000 of the NAS, e.g. http://192.168.133.7:9000/

If everything works, activate the daemon permanently:

chmod +x /ffp/start/twonky.sh

Now you’re done 😉 Have fun with Twonkymedia Server!

67 thoughts on “Installation of Twonkymedia Server 6 on the Conceptronic CH3MNAS and the D-Link DNS-320, DNS-321, DNS-325 and DNS-343”

  1. Thank you very much for this guide. This guide work for my DNS-321. The only part I did not do was the part only intended for the DNS-320. Will be sharing with other fellow users!

  2. Great guide for my DNS-321, now it works….thanks
    why do you use the Kurobox instead of the DNS-323 for your setup on the 321?
    My album art still doesn’t show on my ps3 is this because of the Kurobox UPnP implementation?

    1. The kurobox uses a similar processor and similar compiled binaries. Twonky for the DNS-323 didn’t work due to that difference.

      The album art is something Twonky does, this is probably some configuration which needs to be don. Perhaps something for the Twonky-forums to ask?

      -Uli

      1. I got it working with thumbs on my PS3.
        Prob something is wrong with permissions, I’m not a Linux expert but I removed all the previous setup, did the install with the nassetup provided in the package in the same folder /opt/twonky (modified install.nas). I then use your twonky.sh instead of the installed one and now all the music thumbs appears on the PS3.

        Thanks Uli

  3. JestB – can you paste the modified install.nas please ?

    cheers all for the good work

    1. Bald_Telf,

      i found the error, plugins/* and cgi-bin/* were not set as executable. Fixed in the Tutorial 🙂

      Regards,
      Uli

  4. Hi,

    Thanks for the tutorial.

    Everything works great for me while being inside my LAN, but when I am trying to access twonky from internet I am able to browse all my files but not execute any of them. I have searched internet for thi bu cannot find anything useful. I have open my router on port 9000.

    Any tips?

    1. This is probably due to missing open ports, i’m not quite sure which ports are missing, just ask the box:

      netstat -tulpen|grep twonky

      Maybe that helps.

  5. HARPOZ

    Did you ever find an answer? I have just tried to remove the password by deleting the ini file as per on line advise and now I cannot get at the server. How do you reinstall the twonky server?

  6. Hi,

    while it is unpacking kurobox i get the next massage unzip: write : no space left on device unzip: inflate error , and the installation doesnt work?

    Christian.

    1. You probably installed it on a device where not much space is left? Check your Diskspace like this:

      /ffp/opt/twonky/data/
      df -m .

      This will show the Megabytes free.

  7. I also got the same problems that Harpoz, on DNS-320 installed aparently correct, till the execution and check on 9000 port. No way, seems daemon does not launch. For any reason I do not know, seems no “service” running in the background, so server isnt up.

    If anyone got a hint, it will be great. I am currently investigating it.

    Cheers

    1. Solved, it seems that the

      chmod +x twonkymedia twonkymediaserver plugins/* cgi-bin/*

      part isn’t working at all, so I got to do it by hand. Now it is working.

      1. I’ve added complete paths to that although the commands before the change were really working on my DNS-320/DNS-325 and CH3MNAS.

  8. Great guide and many thanks. I succesfully installed Twonky on my CH3MNAS now.

    I do notice that transcoding is disabled, presumably because the NAS isn’t able to do this real-time anyway. Also, I read in the other article (for the CH3SNAS version) that you are planning to detail how to do an update to 6.0.3.2 (or future versions), so I’m awaiting that.

    1. The article for the update is released here. And yes, transcoding is disabled due to the low cpu-power.

      Cheers,
      Uli

  9. Also seeing some strange issues after installing 6.0.32 using the guide above, when i browse to port 9000 i sometimes see the twonky page, but choosing config or refreshing and i get page cannot be displayed

    any ideas, i tried reinstalling too.

    Thanks

  10. Hi,

    I’m a bit confused here, and I’m sorry if this has been asked before. I have a ch3hnas and the script for the ch3snas doesn’t work. Is there any other way to install twonkymedia on the ch3nas?

  11. Hi,
    Followed your guide and it works great on DNS 321.

    Loaded all the images and browsing the image directory with IPAD, IPHONE, PC web browsing etc and all seems to work well initially.

    However when I completed loading all the images, the thumbnails are not showing up which initially did.

    I did a little research and notice that the thumbnail has the URL e.g.
    http://192.168.0.100:9000/disk/DLNA-PNJPEG_SM-OP01-CI1-FLAGS00f00000/O0$2$20I129547.jpg?scale=240×320

    When I remove the “?scale=240×320”, it display the full size image
    http://192.168.0.100:9000/disk/DLNA-PNJPEG_LRG-OP01-FLAGS00f00000/O0$2$20I129547.jpg

    Have been searching for days and was not able to find any tweak that can fix this issue, any assistance will be greatly appreciated as I am keen to purchase the software.

    1. BTW, seach through the directory, the image displayed is \ffp\opt\twonky\resources\nocover_photo.jpg

      Had also went to the image directory. Thumbs.db & ZbThumbnail.info are created and can be viewed via network drive.

  12. Just followed the above instructions for a DNS-320 using Mac OSX terminal, and it was an absolute breeze. Must have taken all of 15 mins, and now have proper track/artist/album identification whereas the D-Link built-in UPnP was throwing up hundreds of tracks as ‘Other’ by ‘Other’. Many thanks.

  13. Thanks for this guide…
    Works great on my DNS-325.. Needed something that would Display embedded DVD art when accessing it from my PS3.. This does it….
    One Question though… I am having an issue with dvd art that is embedded on files over 2gb displaying…
    Is this a limitation of Twonky??

    Thanks

  14. Just found Version 6.0.34 and installed it on my DNS-323 (first install…newbit in unix)

    Thanks for this tuto. Everything is running like a charm except the radio !!!!!
    (I bought the license)

    I can’t see any radio anywhere except in MediaFeeds menu !!?? help
    Also, the savechange option in media feeds menu is not working…… I mean, after 10 min busy time, I got an error message:

    “Unable to connect to Mediafusion server. Please check if your internet connection is active.”

    Any idea ????

    Thanks anyway…. 🙂

  15. Hello – I do have DNS-320 and planning to follow this steps above.
    One question inside my /ffp folder I dont see /opt which belongs to Optware I assumed?
    Do I still need to proceed or I have to mkdir first that directory structure as if I have opt?

    Thanks.

    1. Hello Archie,

      just follow the steps above, the mkdir -p will create the folderstructures as required. /opt is not required anywhere.

      Best Regards,
      Uli

      1. Hello Uli,

        I have followed the guide above including the use of Kurobox-Pro-6.0.32.zip instead of DNS-323-6.0.34… but still failed at following problem:

        / # sh /ffp/start/twonky.sh start
        /ffp/start/twonky.sh: .: line 4: can’t open /ffp/etc/ffp.subr
        / #

        I can find that ffp.subr inside my /ffp/etc/ folder.

        Any advice please?

        Thanks.

        Best Regards, Archie.

      2. And if I put “telnet 192.168.1.72 9000” – gives me as following reply:

        220———- Welcome to Pure-FTPd [privsep] [TLS] ———-
        220-You are user number 2 of 2 allowed.
        220-Local time is now 12:38. Server port: 9000.
        220-This server supports FXP transfers
        220 You will be disconnected after 10 minutes of inactivity.

      3. Latest attempts – this is the only result when I did “sh twonky.sh start”

        / # cd /ffp/start
        /mnt/HD/HD_a2/ffp/start # sh twonky.sh start
        route: SIOCADDRT: File exists
        /mnt/HD/HD_a2/ffp/start #

        What could be wrong, please?

        1. Hi Archie,

          Today, I got the same problem…
          It seems to happen when twonky.sh try to add a route :

          route add -net 224.0.0.0 netmask 240.0.0.0 dev egiga0

          When daemon stops, it kills this route.

          You have probably this route still declared. You have to delete it before you can run another twonky.sh

          route del -net 224.0.0.0 netmask 240.0.0.0 dev egiga0

  16. Thank you for your guide. I was able to successfully install 6.0.34 on DNS-320. It worked fine until I made the changes to default settings. After that I am not able to get to the Twonky server. I re-installed the server and had the same problem again.
    Your advise is appreciated.

    1. Leonard,
      I had the same problem after installing 6.0.39. Twonky web interface stops responding if you change the Rescan time setting to ‘-1’

      I got things up and running again by stopping twonky, deleting the ‘data’ folder and starting twonky again.

  17. Hi and thanks for this wonderful guide!

    I have not been doing so much with things like this but I wonder if you can stream media over the Internet using Twonky? It works perfectly in the home network but when I try to connect from the internet, I just get to the login and then when I click on the video, music or pictures it will not work anymore? I have opened port 9000 but it still does not work.

    Thanks in advance!

  18. Thanks for the great tutorials!

    I am going to presume that with the DNS-320 due to its lack of processing power, transcoding media through the Twonky media server would not be achievable?

    Many thanks,

    Dan

  19. Hi,

    thanks for the instructions, I followed them to the letter and got the version 6.0.37 (KBPro) installed and running on a new DNS-325. However, I get the dreaded ‘File is Unsupported’ error whenever I play any content. I had version 4.4.9 running nicely before hand on the DNS-323 before so I know Twonky should be able to handle this. I tried changing the media receiver from ‘generic’ to DSM-520 (which is the closest to the DSM-750 that I am running) to no avail. Any ideas as to why I get this error and what test I might run to fix this? thanks in advance!

  20. Hi
    Thanks for the perfect guide.
    I have installed everything and it seems to be working. My only problem is that i can not set the correct folders for were to search for the media. When using “Content location” in the Twonkey GUI i can only browse the FFP folders and not the rest of the folders on my NAS. Ex 192.168.1.5/Volume_1

    Best Regards
    Johan

  21. Hello,
    I am trying to decide on which NAS to purchase and am leaning towards the DNS-320. I have a lot of files on my homw computer that are in mkv format that I use mediatomb to transcode(remux) for my ps3. Would the 320 be able to run mediatomb and remux the videos on the fly? It doesn’t need to change codec, just the container.

    1. Hi,

      the NAS will not be able to transcode due to missing CPU-Power.

      But you can run mediatomb.

      Cheers,
      Uli

    1. @athon34

      Cancel my above question, the url for twonkymedia-kurobox-pro is yet allowed.

      1. Thanks you for this tutorial.
        I have a DNS-325 and Twonky Server works fine but I would like to change media feeds video because i spreak french.
        Is it possible??
        By default all media feeds video are in english.

        Sorry I don’t spreak english good.

  22. Thanks you for this tutorial.
    I have a DNS-325 and Twonky Server works fine but I would like to change media feeds video because i spreak french.
    Is it possible??
    By default all media feeds video are in english.

    Sorry I don’t spreak english good.

  23. Hi,

    I have a dns-325. I did as told in the tutorial but I can’t open port 9000 on my browser. It says it can’t find the page. I’m not sure I can get the twonky script enabled. Can you please help me?

    Thanks

  24. Hi,
    i’ve been trying installing twonky on the NAS D-Link DNS-320 by following your procedure. Probably something went wrong, i’m not very good in coding and telnet and now i would like to reset this installation and repristinate the disk as it was at the beginning.
    What should i do? I tried to cancel the folders created in the hard-drive but it says it need unix permission. I would like not to format it because i already have many GBs on the drive.

    Thanks!

    1. pablo, try again mate. it took me three goes. just take your time & cut & paste the coding carefully. twonkey makes SUCH a huge difference.

  25. Hello,

    I have Twonky 6.0.38 installed on the DNS-320 but when I try to share high-definition movies, it does not show them? Is anyone else having this problem?

  26. I’ve installed Fonz fun_plug and followed all the steps but when i got to the last step to open port 9000 on the nas in my browser, the page couldn’t be found??

    I’m baffled and can’t find what i’ve done wrong. I was really hoping twonky would fix the horrible UpNp that doesn’t want to work with my DNS-320 ;-?

  27. To upgrade to TwonkyServer Special 7.0 (last version), use the following:

    cd /ffp/opt/twonky/
    mv data /ffp/tmp/twonkydata

    rm -R /ffp/opt/twonky/*
    cd /ffp/opt/twonky
    wget http://www.twonkyforum.com/downloads/7.0.5-Special/twonky-kurobox-special-7.0.5.zip
    unzip twonky-kurobox-*.zip
    chmod +x /ffp/opt/twonky/twonkyproxy /ffp/opt/twonky/twonkyserver /ffp/opt/twonky/twonkystarter /ffp/opt/twonky/twonkywebdav /ffp/opt/twonky/plugins/* /ffp/opt/twonky/cgi-bin/*

    cd /ffp/opt/twonky/
    mv /ffp/tmp/twonkydata data

    Additionally you need to edit /ffp/start/twonky.sh with nano and replace occurrences of twonkymedia with twonkystarter.

    Caveat: I am not a Linux expert, but the above works for me on my CH3MNAS.

  28. Damn, wrong topic… ignore above, those are for upgrading. However it should be obvious how to do an install using this info.

  29. round and round in circles.

    I could really do with some help.
    I have a new DNS-320 that I brought up to v2.02 Firmware.
    I followed the above guide ( preceded by
    the installation guide for Fun Plug )

    I am pretty sure Fun PLug took as when I rebooted , there was a ffp folder present.
    The instructions above were then followed.
    I did not go for the latest build and just went with the commands above.
    Everything seemed to go OK built when using a browser to get to 192.168.0.32:9000, I get a 404.

    How can I know if the server has taken and is running?

    I tried stopping twonky but it said nothing was killed.
    Any Ideas?

    Also
    Am I correct in assuming I can run all the commnds that are list above together? or do I cut and paste line by line?
    Also the page with the newest versions of twonky show a few NAS versions. Which is working well with the DNS-320 ?

    Sorry for teh long comment but I wanted to supply all the details.
    Thanks

  30. Hello U.Li! Thank you so much – this guide was initially failed when I tried last year, but then today I tried again it works like charmed! So here is a cup of coffee from me – hope you like it! Thanks!
    “Thank you U.Li – a Coffee from Archie1810 (Richard) Confirmation number: 6ET3991405493112T.”

Comments are closed.

Exit mobile version