Results 1 to 15 of 99

Thread: Web gui for ctorrent - YODCTCS

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    is there a very easy step by step guide for this?

    because its hard to follow the steps here since there is no step by step guide

  2. #2
    Thanks, dske, for reply. I'll leave -a on then. And I will try to not disturb the torrent while it preallocates files, should be more stable, I hope.

    Anyway, I 'll try to find some script which monitors running processes and starts dctcs if it is not running, that could help.

    @mark_q4xprt
    Actually, I miss instructions, too, but it was surprisingly easy to install and configure. I'll try to remember what I did.

    At first I assume you have working USB storage attached and working on your router.
    I have 3 partitions on one USB HDD. 1st partition contains a root folder /opt.
    It gets mounted as /tmp/mnt/disc0_1 and I modified the post-mount script to mount it also to the very root /opt:
    Code:
    mount -obind /tmp/mnt/disc0_1/opt /opt
    The second partition is for swap so I do not mount it.
    The third gets automounted to /tmp/mnt/disc0_3 and I have a folder /data on it so I mount it again in post-mount script:
    Code:
    mount -obind /tmp/mnt/disc0_3/data /mnt
    After that I have installed lots of stuff (experimenting with various torrent clients to find the best for me) but I hope that did not affect the dctcs installation.
    I did
    Code:
    ipkg update
    ipkg install enhanced-ctorrent
    then I went here and downloaded latest "Package for Oleg firmware". I put it in /data folder (I have samba running and can access the share with
    Code:
    \\192.168.1.1\disc0_1$\data
    from my Windows PC).
    Then I did
    Code:
    ipkg install /mnt/data/dctcs_0.7.0-1-oleg_mipsel.ipk
    and everything went ok.

    Then I opened \\192.168.1.1\disc0_1$\opt\etc\dctcs.conf (you can use a free program called Notepad ++, it can load and save Unix files on Windows PC and it has also syntax highlighter, really useful program).
    I was a bit confused with the meaning of the settings, especially about what port is for webUI and what is for enhanced-ctorrent, but I sorted it out so I got the following (added some comments from me, maybe dske can correct me if I misunderstood something):

    Code:
    #change these according to your system
    torrent-directory=/mnt/data/ect/torrent/
    download-directory=/mnt/data/ect
    
    #change user name and password
    user=secret
    password=secret
    
    exit-hours=168
    exit-ratio=5.6
    cache-size=1
    
    # midix: this means to start enhanced-ctorrent when dctcs starts, so 
    # the "Running" torrents will really be running again.
    restart-torrents=1
    
    download-limit=0
    
    # midix: ctorrent user manual suggests to set some Upload value which 
    # corresponds your bandwidth. Then ctorrent can make some additional 
    # adjustments to use your bandwidth more efficiently.
    upload-limit=50
    #check-interval=0
    
    # midix: this is a port of web-gui, you have to open it with iptables in 
    # your post-firewall if you want to access your torrents from the Internet
    port=8008
    
    #arbitrary arguments to ctorrent
    ctorrent-args=-a
    
    #write-stats=1
    
    # midix: the path in my system is the following by default
    ctorrent=/opt/bin/enhanced-ctorrent
    
    # midix: address for dctcs communications with ctorrent
    # it is used only internally, it has nothing to do with downloading nor 
    # uploading
    # client-host=localhost:15000 
    
    # midix: hmm, I have a question for this - does this mean, I can make my 
    # own webGUI for yoddctcs ?
    #htmlroot-directory=/usr/share/dctcs/www/darkside.ctcs.gui/
    
    # midix: I do not have wget (but I am thinking about having it ;) )
    #wget=/usr/bin/wget
    #arbitrary arguments to wget
    #wget-args=-c
    
    #url to prepend in the details box
    #detail-url=ftp://192.168.1.1/mnt/disc0_1/
    Then I also opened \\192.168.1.1\disc0_1$\opt\etc\init.d\S90dctcs and checked if it contains:
    Code:
    start() {
        /opt/bin/dctcs
    }
    and also checked if dctcs is really located in /opt/bin.

    I have also \\192.168.1.1\disc0_1$\opt\etc\init.d\rc.unslung script that starts all the other scripts in \\192.168.1.1\disc0_1$\opt\etc\init.d directory (if the name of the script starts with S). BTW, if you have installed many stuff you can disable unneeded things form starting up just by prependidng _ before the Sxxxx file name.

    Then you can just do
    Code:
    /opt/etc/init.d/S90dctcs start
    and then in your browser:
    http://192.168.1.1:8008

    and you should get to the login page and the just add new torrents. But I suggest you do not disturb YODCTCS some 30 secs or so - it may just quit because ctorrent may get really busy when allocating space and preparing to download.
    ------------------------------------------------------------

    The next thing I will try to access the YODCTCS from my work (we are behind a proxy there but I tried to access transmission WebGUI and it worked fine).

    And also it would be great to have a WebGUI that is just a php app which I can put in my SSL enabled site on lighttpd (and modify because I am kinda a programmer too but I prefer something I do not need to compile ). But I guess it would require much work because of implementing communications between ctorrent and php script. I tried php GUI Torrential but it did not work well and it does not have individual file control for torrents.

    Noticed also that YODCTCS forgot my per-file settings - I set to download only some files of the torrent but now I see that those files are completed and ctorrent is downloading ALL the other files - but I did not told him to do so...

    P.S.English is not my native so excuse me for some weird things I have said here
    Last edited by midix; 23-08-2008 at 17:27.

  3. #3
    Quote Originally Posted by midix View Post

    Code:
    # midix: hmm, I have a question for this - does this mean, I can make my 
    # own webGUI for yoddctcs ?
    #htmlroot-directory=/usr/share/dctcs/www/darkside.ctcs.gui/
    if you want you can but i did not documented the interface. You can always use the source of course.

    Quote Originally Posted by midix View Post
    The next thing I will try to access the YODCTCS from my work (we are behind a proxy there but I tried to access transmission WebGUI and it worked fine).
    yodctcs uses non standard "html" requests so if the proxy only forwards standard requests it wont work.

    Quote Originally Posted by midix View Post
    Noticed also that YODCTCS forgot my per-file settings - I set to download only some files of the torrent but now I see that those files are completed and ctorrent is downloading ALL the other files - but I did not told him to do so...
    if ctorrent and dctcs is stoped then the per-file settings is lost (these are not stored permanently)

  4. #4
    why does it always says it fails when i try to use the http link?


    all it want is to save the .torrent to my desktop and upload it

    but unfortunately i encounter this problem

    Downloading 0% TRACKER FAILURE REASON: Please redownload the torrent. PID system is active and pid was not found in the torrent

    what seems to be the problem here?

  5. #5
    Quote Originally Posted by mark_q4xprt View Post
    why does it always says it fails when i try to use the http link?

    Downloading 0% TRACKER FAILURE REASON: Please redownload the torrent. PID system is active and pid was not found in the torrent

    what seems to be the problem here?
    which http link do you want to use for what?

    pid is personal ID in this context and the problem can be caused by many reasons eg wrong tracker/torrent/download, torrent from other site...
    as far as i know it can not be a dctcs issue.

  6. #6
    i see,

    do you happen to know i can set it up to dyndns?

    i already input my account info in the router but when i tried to acces its link it loads my modems ip

    my modem ip is

    192.168.1.1

    my asus
    192.168.0.1

    my pc
    192.168.0.2

    in the web config i chose to expose 192.168.0.1 so i can acces the dctcs outside

  7. #7
    i also tried to simulate just incase of power failure

    it seems that its stuck on checking before it was on 50% and now its back to 0%

    http://acer.gotdns.com:8008/
    admin:admin

  8. #8
    Quote Originally Posted by mark_q4xprt View Post
    i see,

    do you happen to know i can set it up to dyndns?

    i already input my account info in the router but when i tried to acces its link it loads my modems ip

    my modem ip is

    192.168.1.1

    my asus
    192.168.0.1

    my pc
    192.168.0.2

    in the web config i chose to expose 192.168.0.1 so i can acces the dctcs outside
    these ip addresses are for private networks you can not use them to access the device from "outside"

    host acer.gotdns.com
    acer.gotdns.com has address 192.168.1.2

    this is wrong you need to figure out the "public ip address"
    i dont use oleg fw, but ifconfig should work:
    you will see something like:
    Code:
    root@OpenWrt:~# ifconfig
    .....
    eth0      Link encap:Ethernet  HWaddr 00:1B:FC:45:27:13  
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:27819194 errors:0 dropped:0 overruns:0 frame:0
              TX packets:25154007 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:3716665059 (3.4 GiB)  TX bytes:3513070839 (3.2 GiB)
              Interrupt:4 
    ....
    
    eth0.1    Link encap:Ethernet  HWaddr 00:50:22:9F:FB:CD  
              inet addr:89.135.XXX.XXX  Bcast:255.255.255.255  Mask:255.255.248.0
    ....
    you should find something like in the above example: inet addr:89.135.XXX.XXX
    and set it up with dyndns anyway on the "add new hostname" page dyndns will auto detect the ip.

  9. #9
    Thanks dske for this nice software.
    I've just installed the 0.7.1-1, and find out that it's really cool.

    Its download rate only at about 12kb/s which is so slow comparing with a BT software in windows at 110kb/s with the same torrent.
    what's the problem? i read the previous post, you guys talking about the Ctorrent. Do i need that software to improve the download speed ?
    or do i need to open some port in my post-firewall.conf ?

    i am using WL500W running on oleg firmware.

    thanks in advance.

  10. #10
    Quote Originally Posted by sk22 View Post
    Its download rate only at about 12kb/s which is so slow comparing with a BT software in windows at 110kb/s with the same torrent.
    what's the problem? i read the previous post, you guys talking about the Ctorrent. Do i need that software to improve the download speed ?
    or do i need to open some port in my post-firewall.conf ?

    i am using WL500W running on oleg firmware.

    thanks in advance.
    You need enhanced-ctorrent not to improve the download speed but to have download speed. dctcs uses ctorrent to download so if the download is slow it is ctorrent. You should open ports for ctorrent default 2706 -> 2106. ctorrent does not support encrypted connections.

  11. #11
    Hi.

    I'm trying to get yodctcs to work on my WL600g router but I'm having a problem. After I login to it, it gives a message "Error - getWgetDownloads" and logout!

    What could be the problem? I'm using the ASUS firmware for this router with some changes I've made and I have ctorrent and wget compiled for it also. Note that wget is not the one from busybox.

    Thanks,
    Mike

  12. #12
    Did you compile dctcs to your firmware?
    Please run it with -v -v -v and post the log files.

    Regards

Similar Threads

  1. Which web cameras are supported?
    By punhal in forum WL-500w Q&A
    Replies: 4
    Last Post: 05-05-2009, 11:51
  2. Web на 80 порту работает, а на других нет.
    By neyva in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 5
    Last Post: 16-10-2007, 01:25
  3. best torrent client with web gui
    By amkrisis in forum WL-500gP Q&A
    Replies: 3
    Last Post: 01-06-2007, 09:12
  4. web interface loads only occasionally during boot
    By oferlaor in forum WL-500g Q&A
    Replies: 5
    Last Post: 18-10-2004, 10:48

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •