Page 5 of 7 FirstFirst ... 34567 LastLast
Results 61 to 75 of 99

Thread: Web gui for ctorrent - YODCTCS

  1. #61
    Quote Originally Posted by Ehsan View Post
    How can I open up 18000 so I can start downloads from the outside as well?
    I am no using oleg fw so i dont know the exact answer you should modify your firewall setting either graphically or in the shell with iptables.

  2. #62
    YOD CTCS works nice for me... when it works unfortunately there are times (especially when I add a new torrent) that dctcs just quits and web browser cannot open the page (I am using Oleg f/w on ASUS wl500gp). When I run it again with
    Code:
    /opt/etc/init.d/S90dctcs start
    it works ok. And I like enhanced-ctoreent, it gives me better download than rTorrent and gives me a per-file control (which I miss in transmission).
    But as I said there are some problems. Some times when I refresh the page, it does not see the torrents I am downloading. And the most pity is that sudden exit thing.

    But anyway - overall this is a simple and clean WebUI, has all the features I need. Thanks a lot to dske and I am looking forward to improvements. Good luck.

    Maybe you could suggest do I need ctorrent-args=-a (to preallocate files) and how it will affect my router? Will it help download or maybe it will be too heavy work for the router at the time when ctorrent allocates these files?
    Last edited by midix; 23-08-2008 at 14:41.

  3. #63
    Quote Originally Posted by midix View Post
    Maybe you could suggest do I need ctorrent-args=-a (to preallocate files) and how it will affect my router? Will it help download or maybe it will be too heavy work for the router at the time when ctorrent allocates these files?
    I personally prefer (and use) -a option in order not to fragment the fat32 partition i use to download data. It takes some time to allocate the files and for that time ctorrent does not report any status messages so dctcs can not track the allocation (stoped).

  4. #64
    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

  5. #65
    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 18:27.

  6. #66
    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)

  7. #67
    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?

  8. #68
    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.

  9. #69
    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

  10. #70
    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

  11. #71
    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.

  12. #72
    Quote Originally Posted by mark_q4xprt View Post
    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%
    checking can be time consuming especially if more torrents are running. (and it is done by enhanced-ctorrent if dctcs started ctorrent then it did what it should)

  13. #73
    [admin@WL-500G root]$ ifconfig
    br0 Link encap:Ethernet HWaddr 00:1B:FC:91:7A:EB
    inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
    inet6 addr: fe80::21b:fcff:fe91:7aeb/10 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:12902 errors:0 dropped:0 overruns:0 frame:0
    TX packets:20951 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:1729578 (1.6 MiB) TX bytes:10817755 (10.3 MiB)

    eth0 Link encap:Ethernet HWaddr 00:1B:FC:91:7A:EB
    inet6 addr: fe80::21b:fcff:fe91:7aeb/10 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:59040 errors:0 dropped:0 overruns:0 frame:0
    TX packets:65969 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:100
    RX bytes:22926548 (21.8 MiB) TX bytes:21732733 (20.7 MiB)
    Interrupt:4 Base address:0x1000
    eth1 Link encap:Ethernet HWaddr 00:1B:FC:91:7A:EB
    inet6 addr: fe80::21b:fcff:fe91:7aeb/10 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:120
    TX packets:12451 errors:57 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:100
    RX bytes:0 (0.0 B) TX bytes:2767108 (2.6 MiB)
    Interrupt:12 Base address:0x2000

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MULTICAST MTU:16436 Metric:1
    RX packets:14828 errors:0 dropped:0 overruns:0 frame:0
    TX packets:14828 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:1242894 (1.1 MiB) TX bytes:1242894 (1.1 MiB)

    vlan0 Link encap:Ethernet HWaddr 00:1B:FC:91:7A:EB
    inet6 addr: fe80::21b:fcff:fe91:7aeb/10 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:12903 errors:0 dropped:0 overruns:0 frame:0
    TX packets:26768 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:1781279 (1.6 MiB) TX bytes:11273875 (10.7 MiB)

    vlan1 Link encap:Ethernet HWaddr 00:1D:6A:04:16:FF
    inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::21d:6aff:fe04:16ff/10 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:46137 errors:0 dropped:0 overruns:0 frame:0
    TX packets:39198 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0

    ive already updated the ip on dyndns but it doesnt work, but when i type my ip http://121.96.138.174:8008 it does work but it is the same ip on the dyndns, im wondering why it doesnt refer to acer.gotdns.com account

  14. #74
    Quote Originally Posted by mark_q4xprt View Post
    ive already updated the ip on dyndns but it doesnt work, but when i type my ip http://121.96.138.174:8008 it does work but it is the same ip on the dyndns, im wondering why it doesnt refer to acer.gotdns.com account
    it works
    Code:
    b184.torrent	Seeding	170 0/58.22 0/5 0.34 20.15 0
    [root@localhost ~]# host acer.gotdns.com
    acer.gotdns.com has address 121.96.138.174

    i think you _should_change_ your user/pass now and/or set your firewall

  15. #75
    Quote Originally Posted by dske View Post
    it works
    Code:
    b184.torrent	Seeding	170 0/58.22 0/5 0.34 20.15 0
    [root@localhost ~]# host acer.gotdns.com
    acer.gotdns.com has address 121.96.138.174

    i think you _should_change_ your user/pass now and/or set your firewall
    im really confused, acer.gotdns.com refers to the modem mtx not the wl 500gp here on my end


Page 5 of 7 FirstFirst ... 34567 LastLast

Similar Threads

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