Maybe your busybox on wl700g is not capable enough. Install coreutils or busybox package from Optware.
Wrong thread name.
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!
d3viant,
Interesting solution. How far have you gotten?
- K.C.
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.
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.
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:
2. Move the /opt/var/www/phpmyadmin folder to your lighttpd/thttpd server root.Code:ipkg install php-fcgi php-mysql phpmyadmin python24 mysql
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
toCode:$cfg["ip"] = $_SERVER['REMOTE_ADDR'];
This step may not be needed, but it definitely was for me.Code:$cfg["ip"] = '127.0.0.1';
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
Enjoy!Code:ipkg -force-overwrite install coreutils
EDIT: Looks like you need nohup aswell. steps 7 & 8 added to do this
Last edited by d3viant; 03-03-2007 at 13:04.
Nice work.
Thanks.
Can you give some tips for installing mysql. I keep having errors when starting it.
Sollie.
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)
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.
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
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.