Transmission for DNS-313, DNS-323


    May 18th, 2008 | Tags: , , ,

    Required files

    libcurl (7.18.1) download

    transmission (1.21) download

    transmission (1.22) download

    These files (by KyleK) are for fonz’s fun_plug version 0.5. Setting up transmission is pretty straight forward.

    Setting up fonz’s fun_flug
    If you are using DNS-313, follow this guide to install fonz’ fun_plug for the DNS-313 before following the rest of this guide.
    If you are using DNS-323, follow the instructions to install fonz’s fun_plug.

    Downloading the required files
    Download the required files (libcurl and transmission) to your Volume_1 (/mnt/HD_a2).

    Installing libcurl and transmission
    Telnet to your NAS and execute the following commands

    / # cd mnt/HD_a2
    /mnt/HD_a2 # funpkg -i curl-7181.tgz
    Installing package curl-7181 …
    /mnt/HD_a2 # funpkg -i Transmission-1.22-ffp0.5.tgz
    Installing package Transmission-1.22-ffp0.5.tgz …

    Editing the transmission.sh file (if you are setting up for DNS-313)
    Edit the startup file transmission.sh (/ffp/start/transmission.sh) using vi or other suitable editor. Change the following line:

    export TRANSMISSION_HOME=/mnt/HD_a2/.transmission

    to

    export TRANSMISSION_HOME=/mnt/HD_a4/.transmission

    Creating a temporary directory
    Execute the following command to create a temporary directory to hold torrent files that are greater than 100kB.

    /mnt/HD_a2 # mkdir -p /mnt/HD_a2/tmp

    Running transmission for the first time
    Execute transmission-daemon using the following command

    /mnt/HD_a2 # /ffp/start/transmission.sh start
    Starting transmission-daemon
    /mnt/HD_a2 #

    Setting the path for new torrent

    This makes the downloading of torrent files to your Volume_1 and avoid the cluttering of HD_a4 for DNS-313.

    /mnt/HD_a2 # mkdir -p /mnt/HD_a2/torrents

    if you are on DNS-313

    /mnt/HD_a2 # export TRANSMISSION_HOME=/mnt/HD_a4/.transmission
    /mnt/HD_a2 # transmission-remote -f /mnt/HD_a2/torrents

    otherwise

    /mnt/HD_a2 # export TRANSMISSION_HOME=/mnt/HD_a2/.transmission
    /mnt/HD_a2 # transmission-remote -f /mnt/HD_a2/torrents

    Starting the transmission automatically on reboot
    transmission can be started everytime you reboot your device. Simply set the transmission.sh file to executable

    /mnt/HD_a2 # chmod a+x /ffp/start/transmission.sh

    Have fun with your transmission!

    Note: If you encounter “Permission Denied” during the bittorrent session, execute the following command in telnet:

    / # chmod 0755 -R /mnt/HD_a2/torrents


    Share it on del.icio.us




    82 responses

    1. [...] Setting up transmission for your DNS-313 or DNS-323 [...]

       
    2. [...] Before your set up Clutch, you would need to Setup Transmission for your NAS [...]

       
    3. [...] you continue, you should have already set up transmission for your DNS-313 or DNS-323 as well as the Clutch web user [...]

       
    4. when i try /mnt/HD_a2 # chmod a+x /ffp/start/transmission.sh start

      I got error “chmod: start: No such file or directory”

       
    5. hi!

      I’m an absolute newbee here. I followed your excellent instructuctions but have the following problem:

      /mnt/HD_a2 # /ffp/start/transmission.sh start
      Starting transmission-daemon
      sh: cannot create /mnt/HD_a2/.transmission/transmission-daemon.log: Permission d enied
      Could not find Transmission socket
      /mnt/HD_a2 #

      Any idea?

      Thanx in advance!

       
    6. does it work with private torrent? i’ve tried but cant seems to download. I got this “Permission denied” :(

       
    7. CID,

      Have you created the folder /mnt/HD_a2/.transmission? Have you ran the transmission files under a different user like nobody?

       
    8. Errz,

      Have amended the instructions a little. Whether does it support private torrent depends on whether they allow it or not. Different private torrent sites works differently. Some of the users use mldonkey and changed the client name to one that is allowed and it works.

       
    9. folder /mnt/HD_a2/.transmission DOES exist!
      I use Telnet to connect to the NAS with Putty Rel. 0.6. - Could this be a problem?
      In the telnet session I’ve never used any username or password…

       
    10. CID,

      Are you using a DNS-313 or DNS-323? If you are using the former, you would need to edit the transmission.sh file.

       
    11. Is this used with mldonkey, or instead of it? I checked around, and it looked like a BT client, like mldonkey.

       
    12. hello,

      i get the folowing error message

      # /mnt/HD_a2/ffp/start/transmission.sh start
      Starting transmission-daemon
      Could not find Transmission socket

      and i have to folowing line in the log file.

      transmission-daemon: failed to bind socket file: /mnt/HD_a2/.transmission/daemon/socket: Address already in use

      what could be the problem?
      pls help

      Szmore

       
    13. Forge,

      It is a bittorrent client with smaller memory footprint, and of course, lesser functionalities. :)

       
    14. hi
      even tho i’ve set up transmission but i still cant get decent speeds for my torrent downloads, it has nv exceeded 5Kb/s
      port forwarding has alr been done
      what else do u recommend i troubleshoot frm?
      thanks in advance X_x

       
    15. CID: i hope you have solved your problem.
      if not. try get into transmission.sh which should be around:
      /ffp/start/transmission.sh

      you will find a line starts with user=none
      change the user to root or whoever tries to run it.

      then you should be fine.

      note: you need basic vi skill in order to edit/save etc ;)

      hope this helps

       
    16. Hi andy,

      Great guides on getting transmission & clutch working on dns-323. By following your guides I had managed to get it going.

      However, I have a question. I had downloaded some torrent file onto my local drive. Then go into clutch, open, browse the torrent file and click upload but then the file does not start.

      I tried an openoffice torrent and it works. Confused as to why other torrent file do not work.

      Appreciate your advice. Thanks.

       
    17. cheongseeker,

      By other torrents, what other torrents did you try?

       
    18. Hi andy,

      I’ve download the torrent from http://bt.icefish.org

      The particular torrent is the superstar 20080613 variety show.

      When I upload the torrent via clutch, I get the following error.

      Upload Error
      An unexpected error occured. The torrent you uploaded may already be running.

      I’ve read through the clutch forum and found the following thread.

      http://forum.transmissionbt.com/viewtopic.php?t=3532&postdays=0&postorder=asc&start=15

      It covers the error I encountered but can’t find a solution.

      Cheers.

       
    19. Hi Andy,

      I’m trying to make sure that all of the torrent downloading is encrypted. Going through various forums, I found that I have to edit the transmission.conf and uncomment ENCRYPTION=”-ee” to enable encryption.

      Problem is I cannot find transmission.conf anywhere in the DNS-323.

      Is this the way to enable encryption? Where can I find transmission.conf?

      Thanks.

       
    20. Oh, one more thing. I read in other forum that to start blocklist we need to start the daemon with the -b option.

      How do check if my transmission is running with blocklist?

      Thanks.

       
    21. cheongseeker,

      1) The transmissionbt forum link didn’t really go in-depth into the issue so I can’t help you much on it. Perhaps we could search around for an answer together. :)

      2) Encryption option could be set in the Clutch preference or through transmission-remote command in shell (telnet/SSH)

      3) I am unsure how to really test the blocklist feature. Not sure if blocked connections are logged. Perhaps you could examine the log and share with me your insights?

       
    22. Hi Andy,

      Can help me on this error that I’ve “Daemon Error
      The Transmission daemon does not appear to be running.” when I run Clutch.
      Thanks in advance.

       
    23. thenhow,

      have you followed the “Setting up Clutch” section on Setting up Clutch for Transmission?

       
    24. Yes had followed closely, but the following doesn’t seem to run, error on http://www.inreto.de
      “# wget http://www.inreto.de/dns323/fun-plug/0.5/packages/php-5.2.6-2.tgz
      so I manually downloaded the file into the directory.
      Any help is much appreciated, as I’m a newbie.

       
    25. thenhow,

      Can you paste me the results that tell you that it can’t run the command?

       
    26. Hi Andy,

      Had checked and tried, this time round it downloaded the file ok. But when I return to Clutch, the same error - “Daemon Error
      The Transmission daemon does not appear to be running.”

       
    27. I’m getting this same error. I have everything finally setup, and i get the transmission daemon does not appear to be running…

       
    28. it was this line that caused me issues, it didnt copy/paste well

      echo /mnt/HD_a2/.transmission/daemon/socket > /mnt/HD_a2/www/pages/clutch/remote/data/socket.txt

       
    29. ddoonie,

      Glad that you managed to solve the problem. :)

       
    30. I’m also getting that socket error :

      /mnt/HD_a2 # /ffp/start/transmission.sh restart
      Stopping transmission-daemon
      transmission-remote: failed to connect to socket file: /mnt/HD_a2/.transmission/daemon/socket: Connection refused
      Starting transmission-daemon
      Could not find Transmission socket

      Things I checked :
      - /mnt/HD_a2/.transmission/daemon/socket really is there….
      - I did a chmod 777 for the sochet file

      A big thnx in advance for any help, I’m a bit of a n00b on this matter…

       
    31. Thanks a bunch for a really good guide! Worked like a charm. One question though, after installation, is it ok to delete or move the .tar/.gz/.tgz-files from the Volume_1 root?

       
    32. Fons,

      Which NAS are you using?

       
    33. Hybris,

      Congrats on setting up transmission. Yes, those tgz files can be deleted or moved after installation. :)

       
    34. Hey Andy,

      how about the new transmission 1.33, have you managed to compile it yet? And/or do you know anyone who has done it and where i can get it from? Like everyone else im unsure of how to do it myself. Email me would you kindly? Thank you for all your work and foremost for sharing it. /O

       
    35. O-Lee,

      Check out the release from Kylek

       
    36. export TRANSMISSION_HOME=/mnt/HD_a2/.transmission

      is there some other way to set this? As is i have to manually re-enter this before i can use transmission-remote otherwise the environment variable isnt set in my new ssh session

       
    37. Daniel,

      If you have started transmission using transmission.sh, that export is called automatically.

       
    38. I have Dlink DND-323 - Firmware version 1.5
      This version has already builtin Bittorent client.

      However, in order to try Transmission I installed fun_plug 0.5 and its running . As I can telnet to the Box.

      I then downloaded the lib curl and transmission package from the link mentioned above and saved them to the required folder.

      But when I try to installed the package I get the following error

      /mnt/HD_a2 # funpkg -i curl-7181.tgz
      tar: invalid gzip magic
      FATAL: curl-7181.tgz: Failed to unpack package

      Any help is appreciated.

      Thanks

       
    39. I’m getting this same error. I have everything finally setup, and i get the transmission daemon does not appear to be running…

      I did the this line copy/paste
      echo /mnt/HD_a2/.transmission/daemon/socket > /mnt/HD_a2/www/pages/clutch/remote/data/socket.txt but still having this error, appreciate if you can assist

       
    40. Aag Janes,

      Download the files again.

       
    41. Jason,

      Follow the same solution given previously.

       
    42. THanks for the reply Andy,

      I use the transmission.sh file to start transmission automatically by placing it in /ffp/start/

      What i am trying to do use use crond to issues commands to transmisison using the transmission remote. Reason being i have 110gb downloads from 1am to 7am and 40gb other. so obviously i want to resume and pause between those times.
      However, the env variable isnt set so the remote doesnt work
      if theres an easy way to achieve this any help would be great :)

       
    43. hi shadowandy

      I did that for few times but still failed therefore I here asking otherwise problem that I may miss

       
    44. Daniel,

      You could write those start and stop commands in a shell script. Within the shell script you could set the env vars before invoking any commands.

       
    45. Jason,

      Then make sure your transmission-daemon is started before you try controlling it through Clutch.

       
    46. Can someone explain how can I edit the file transmission.sh?

      export TRANSMISSION_HOME=/mnt/HD_a2/.transmission

      to

      export TRANSMISSION_HOME=/mnt/HD_a4/.transmission

      I don’t have any exprience with vi

       
    47. andre,

      Check out the instructions for “Q: I do not know how to use “vi”. Where can I learn?” on MLDonkey FAQ

       
    48. Thanks shadowandy.

      It’s very easy to use vi, all I need it’s a good tut.

       
    49. Keep getting the “The Transmission daemon does not appear to be running.” error. Have already tried a format+ reinstall of transmission and clutch, but to no effect. Have checked all steps carefully and there were no errors, I did it exactly as the tutorial says… with one exception. I pointed telnet to “php-5.2.6-3.tgz” instead of “…-2.tgz” manually but it installed ok. Have also tried restarting transmission and the NAS (Conceptronic CH3SNAS - similar to DNS-323) on numerous occasions but that also didn’t help. Neither did previous tips…

      I checked with telnet btw:
      ” /mnt/HD_a2 # ffp/start/transmission.sh restart
      Stopping transmission-daemon
      Starting transmission-daemon
      /mnt/HD_a2 # ffp/start/transmission.sh status
      transmission-daemon is running ”

      Plz help a NAS newb:)

       
    50. No way…

      Nevermind, just another reboot and transmission restart did fix it… weird? So I guess it’s fixed:D

       
    51. Hi Folks!

      Thanx for this perfect guide for Transmission.
      But I’m totally newbie so please tell me, whta is the next step if i succesfull install the Transmission without errors.
      So how can I download torrents, hasit any grapichal interface?

      Thanks for your help, Best Regards:

      C.

      p.s. When I finished the installation of Transmisison the original BT client in the DNS-323 no longer working. Is it correct?

       
    52. Hi Shadowandy,

      thanks for this great guide, it almost went smoothly :-/

      i got everything done and went to connect using firefox (also tested with opera and safari) and got this message

      “Could not connect to the server. You may need to reload the page to reconnect.”

      when i click the details tab i see this

      “Warning: socket_connect() [function.socket-connect]: unable to connect [111]: Connection refused in /mnt/HD_a2/www/pages/clutch/remote/lib/TransmissionController.class.php on line 103
      This program has encountered an error and will now exit.”

      I have followed steps on here and given permissions to all the relevant folders. the service is running on my box (dns-323). anything else sring to mind?

      I am no expert at linux so please go easy on me

      many thanks in advance
      kX

      oh, and good luck with yer exams ;-)

       
    53. krytonX,

      May I ask you to run the following commands in your telnet:

      cd /mnt/HD_a2
      funpkg -r Transmission-1.22-ffp0.5.tgz
      wget http://kylek.is-a-geek.org:31337/files/Transmission-1.34-ffp0.5.tgz
      funpkg -i Transmission-1.34-ffp0.5.tgz
      chmod a+x /ffp/start/transmissionbt.sh
      sh /ffp/start/transmissionbt.sh start

      Then fire up your web browser and browse to http://:9091

      Hope it works for you.

      Thanks for the lucks! I need them!

       
    54. Hi shadowandy,

      thanks for the quick reply. I followed your steps above except I removed the bt from transmissionbt.sh from both the chmod and start commands.

      it works like a charm thank you.

      now all i need is to secure this box, any recommendations? ssh?

      cheers
      kX

       
    55. oops!!

      I have installed openssh and made a boo boo!

      i seem to have broken telnet and the ssh shell allows me to log in but doesnt actually give me a prompt.

      any clues how i might be able to rectify this?

      many thanks in advance
      kX

       
    56. kyptonX,

      Telnet shouldn’t be broken after installation of ssh! Without any shell access I doubt I would be help much, except to ask you to set up fun_plug again.

      For securing ssh access, I am using DenyHosts. It protect against hammering attacks (or password guessing).

       
    57. Hi shadowandy,

      it wasnt installing ssh that broke telnet, it was my attempts to get telnet to request a login! (it was my fault entirely!)

      I will try and set up fun_plug again and hopefully that will do it

      I will also have a look at DenyHosts, are there any pitfalls you can advise of before i break something else again?

      cheers
      kX

       
    58. krytonX,

      Ah I see. There ain’t really any pitfalls. Make sure you are using fonz’s fun_plug version 0.5. :)

       
    59. shadowandy,

      I got back in with telnet after re installing fun_plug

      I have got denyhosts installed but i cannot find any information on how it works or how to configure it etc,

      any suggestions?

       
    60. kyptonX,

      Check out the configuration file (/ffp/etc/denyhosts.cfg). The comments found in the configuration file should guide you along.

       
    61. thanks shadowandy,

      sorry to be such a pain!!

      i have configured it now. however, i cannot get the shell working. it logs in but does nothing after!!!

      I think i have goosed sshd maybe?

      any pointers?

       
    62. to be a bit more specific,

      when i try and connect to my box with PuTTY, it gives me the message

      “server unexpectedly closed network connection” instantly.

      have i missed something here?

       
    63. kyptonX,

      try the following commands in your telnet

      cd /mnt/HD_a2
      wget http://www.inreto.de/dns323/fun-plug/0.5/packages/tcp_wrappers-7.6-3.tgz
      funpkg -i tcp_wrappers-7.6-3.tgz
      rm -f tcp_wrappers-7.6-3.tgz

      Then try ssh again.

       
    64. sorry, didnt notice this post,

      i have managed to sort it now with a re install, thanks.

      again, many thanks for your help with this ;-)

      cheers
      kX

       
    65. hmmm, hopefully this is the last thing i will balls up on this box, once its done its done LOL

      transmission appears to not be working now. I get the persission denied error as soon as the download of the file begins.

      I have done this


      chmod -R 755 /mnt/HD_a2/torrents

      but I still get the error

      any help?

       
    66. cancel my last,

      i am going to go and slap myself about a bit, once i thought it through i found the problem

      again, many thanks for helping a linux newb with this

      got there in the end

      cheers
      kX

       
    67. krytonX, may I know how u solve the permission denied error? Previously I could download without any problems but lately, I’m getting that error - even for those that I had successfully downloaded without error when transmission was first set up. Appreciate anyone’s advice too. Thanks :)

       
    68. Hi Andy!

      As a linux newbie Ive tried to use your guide to install Transmission however I have a problem at the first steps.

      I installed fun-plug 0.5 without problem, the telnet connection is up and running.

      From my windows I copied the 2 tar files to the root of my 323 and tried to install curl but failed:

      /mnt/HD_a2 # /mnt/HD_a2 # funpkg -i curl-7181.tgz
      /ffp/bin/sh: /mnt/HD_a2: Permission denied

      Could you help me, please?

      Thank in advance!

      S.

       
    69. cdo_saturday

      i simply put the correct dir for downloading in the preferences of the transmission web interface..

      bottom left corner of browser/ preferences and select folder to download to.

      kX

       
    70. hi, can we record dcs-2120 video files onto dns313 without turning on computer?

       
    71. geni,

      You could use those command line rtsp recorder to record DCS-2120 videos onto the DNS-313 directly.

       
    72. hi, i get this permission denied after i click start on the torrent on the transmission web interface. it loaded awhile eg. getting the seeds and downloading for a few secs then it shows the the permission denied thingy.

      any idea how to solve? i spent the whole night doing it :(

       
    73. star,

      It is documented in the guide. Read until the end of the guide.

       
    74. i have already typed that also cannot. just now i remove everything then following your guide again. until this part /mnt/HD_a2 # transmission-remote -f /mnt/HD_a2/torrents

      it says “no torrent specified please use the -t option”

      do i need to set anything else?

      Thanks so much for replying so fast.

       
    75. star,

      Perhaps you can follow the instructions i wrote for krytonX.

       
    76. sigh…. also cannot. my folder is Downloads and my NAS drive is T: i tried typing in the prefences
      1. /mnt/HD_a2/Downloads
      2. /Downloads
      3. T:/Downloads

      Also cannot. Maybe later go home try format the HDD then install again.

      Just to confirm. So after formating just need to follow the steps you gave above right?

      do you think its the default BT program from dlink cause the problem? If yes how do i remove the program?

      Thanks again

       
    77. Hello,
      I’ve tried this command transmission-remote -f /mnt/HD_a2/torrents and I’ve got this message: No torrent specified! Please use the -t option first.

      Also, I’ve tried to go to Clutch GUI and I got there an error message: “Daemon Error
      The Transmission daemon does not appear to be running”

      So, any suggestions?

      BTW happy New Year’s Eve

       
    78. one thing more, I’am using DNS-313

       
    79. star & JF,

      Do refer to this thread as I no longer compile transmissionbt. KyleK has taken over the compilation and is doing a fantastic job!

       

    RSS Feeds



    Treat shadowandy!


    Like to treat shadowandy a cup of Starbucks?

    Polls


    Which is your preferred SOHO networking brand?

    • D-Link (48%, 225 Votes)
    • Linksys (27%, 126 Votes)
    • Cisco (12%, 57 Votes)
    • Netgear (7%, 34 Votes)
    • Buffalo (2%, 9 Votes)
    • TRENDnet (1%, 6 Votes)
    • PCI (1%, 5 Votes)
    • Planex (1%, 3 Votes)

    Total Voters: 465

    Loading ... Loading ...


    Recent Comments



    Friend's Blog



    Interesting Links



    Previous Postings




    Copyright © 2005 - 2008 www.shadowandy.net  92 queries. 0.884 seconds.Go back up ↑