Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 35

Thread: WebUi (utorrent)

  1. #16
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    Maybe your busybox on wl700g is not capable enough. Install coreutils or busybox package from Optware.

    Wrong thread name.

  2. #17
    Quote Originally Posted by Perkouw View Post
    i just don't understand how you guy's do this
    i only know how to upload a firmware (.nas file) on my router!!

    hope someone can make a .nas file and with some easy uhh ''stuff'' on it !

    like the WebUi!

    Ditto! I'm not a Linux guru, don't have an extra box or the time to learn, but it would be great if someone could build a fully usable firmware with a good torrent client. You will be richly rewarded in the afterlife

  3. #18
    One thing that I have found is torrentflux

    It's a php frontend torrent downloader/scheduler with an SQL database backend. This should in theory be workable on the wl-700. I have downloaded the tar.gz file but it's currently not working on a wl-700 with the openWRT firmware (same packages for the kfurge firmware so if I can get it going, then it should work for everyone)

    Feel free to try it out and post back if you get it going!

  4. #19
    d3viant,

    Interesting solution. How far have you gotten?

    - K.C.

  5. #20
    Join Date
    Jan 2007
    Location
    Cph, Denmark
    Posts
    38
    Quote Originally Posted by d3viant View Post
    One thing that I have found is torrentflux

    It's a php frontend torrent downloader/scheduler with an SQL database backend. This should in theory be workable on the wl-700. I have downloaded the tar.gz file but it's currently not working on a wl-700 with the openWRT firmware (same packages for the kfurge firmware so if I can get it going, then it should work for everyone)

    Feel free to try it out and post back if you get it going!
    It looks very good

    System Requirements

    LINUX VERSION:
    * Linux OS (most *nux)
    * Apache with PHP module
    * MySQL Database
    * Python 2.2 or higher

    Only thing that could be a problem is the Python req. ?

    Im changing from kfurge firmware to openWRT this weekend and will for sure give this a spin, when that transition is done, will post back if i get it to work.

  6. #21
    Quote Originally Posted by kfurge View Post
    d3viant,

    Interesting solution. How far have you gotten?

    - K.C.
    It's almost running - I am trying to get it running on a lighter-weight solution (lighttpd with sqlite) Theres currently a few issues with the main page not loading (slight problem there )

    I think it will work eventually though. I have been running it on my pc for a day or so and it seems quite nice. Download queueing, searching torrent sites directly from inside torrentflux, pausing, resuming and user management.

  7. #22
    Nice!

    I got it running with lighttpd and mysql

    mysqladmin doesn't work properly from the command line so you need phpmyadmin to manipulate your database.

    1. You need to install the following from optware:

    Code:
    ipkg install php-fcgi php-mysql phpmyadmin python24 mysql
    2. Move the /opt/var/www/phpmyadmin folder to your lighttpd/thttpd server root.

    3. Ensure that mysqld and your webserver are running. Then go to your routers <ip>:<port>/phpmyadmin to get to the phpmyadmin centre. create a new table called torrentflux. when the table is created, select it and click the SQL tab at the top. copy and paste in the contents of mysql_torrentflux.sql into the box and click go. This will create all the required tables etc etc.

    4. Put the html folder from the torrentflux download in the place you want it to be web-served from. (I have mine in a directory shared by samba and NFS as the downloads have to go to somewhere where your web browser has write permissions)

    5. edit the config.php file in the html folder and make sure all the database stuff is right. (it should be if you called the database torrenflux when you created it). You should also change the line at the bottom of config.php that reads

    Code:
    $cfg["ip"] = $_SERVER['REMOTE_ADDR'];
    to
    Code:
    $cfg["ip"] = '127.0.0.1';
    This step may not be needed, but it definitely was for me.

    6. check that it's working by going to the torrentflux index.php in a web browser

    7. nohup is needed to get downloads to actually start. It's part of the coreutils package. do the following to install it:
    edit /opt/var/lib/ipkg/optware and delete the line in the coreutils package section that says Conflicts:busybox-links

    8. install coreutils with
    Code:
    ipkg -force-overwrite install coreutils
    Enjoy!

    EDIT: Looks like you need nohup aswell. steps 7 & 8 added to do this
    Last edited by d3viant; 03-03-2007 at 13:04.

  8. #23
    Nice work.

    Thanks.

  9. #24
    Can you give some tips for installing mysql. I keep having errors when starting it.

    Sollie.

  10. #25
    Quote Originally Posted by sollie View Post
    Can you give some tips for installing mysql. I keep having errors when starting it.

    Sollie.

    I just ran ipkg-opt install mysql php-mysql

    That was enough for me (on the openWRT firmware)

    On kfurge's one, you may need to go to /opt/lib/ipkg/info and change the postinst script for mysql to read #!/opt/bin/bash at the top. Then run that script again.

  11. #26
    Questions d3viant,

    1. Should i use openwrt?

    2. Does torrentflux runs smoothly?

    Sollie.

  12. #27
    Quote Originally Posted by sollie View Post
    Questions d3viant,

    1. Should i use openwrt?

    2. Does torrentflux runs smoothly?

    Sollie.
    1. you shouldn't have to use openWRT - it may provide a bit better in terms of performance than the ASUS modified firmware does, but everything you need is in the optware package set

    2. from what I can see, it's running fairly smoothly for me. It's going quite slowly, but that may just be the particular torrent it's trying to download. (theres next to no load on the router at least)

  13. #28
    After a bit more testing, it works, but it's very SLOW

    my uptime figures with 2 torrents going look like this:
    load average: 5.83, 3.07, 1.30

    Probably a bit on the high side

    It may be better if we can get sqlite going with it. I had no luck myself with it, but it should technically work...


    EDIT: ok, right now, it won't techinically work. We need a php-sqlite module - theres one for mysql, which makes the whole thing integrate properly. Does anyone know how to build the correct module for the router platform (mipsel IIRC)
    Last edited by d3viant; 04-03-2007 at 22:23.

  14. #29
    awesome progress

    however, i'm not able to do something like that
    isn't it possible to make a ''firware'' that includes the torrent client or something like that ?

    i hope i don't make you guys angry but i'm just not able to do things like that :O

    Regards,

    Perkouw

  15. #30
    Guys, I doubt there's going to be a firmware with torrent support on it. The firmware is for more important, essential things. Dependencies have to be kept to a minimum. Torrent support would require a lot of dependencies, all of which are supplied in the extended packages. It's just not reasonable to ask for it in the firmware.

    For those who tried torrentflux: there's a fork called torrentflux-b4rt. It can use sqlite and it's relatively easy to install if you provide the requirements (web server, optional fast-cgi, php, sqlite, python) -- just call /setup.php in the browser when you're done installing those. It's somewhat better than torrentflux+mysql, I suspect it would be even better if you limit the number of connections per torrent to about 50. It's still a hog but you may be able to get it down to loads of only 1.5-2.0 with 2-3 torrents going. Here's how to install it.
    Last edited by wirespot; 11-03-2007 at 15:43.

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. 1.0.4.6 is out :)
    By AverySimonsen in forum WL-700g Firmware Discussion
    Replies: 23
    Last Post: 12-10-2006, 06:24

Posting Permissions

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