View Full Version : Untangle + torrentflux-b4rt (web based torrent program)
sxxxe83
09-07-2008, 02:38 PM
Hi,
Using an old Compaq PIII 933, 512MB RAM as Untangle Server (router, gateway, wireless ap) everything works great, the machine is a bit old, but for the 5 computers at home its enough.
The machine above is replaced with an HP P4 3.06GHz, 1024MB RAM.
However, the problem Iam having atm is getting my fav torrent program torrentflux-b4rt working with Untangle.
The installation of torrentflux is done, but the untangle server is not letting me browse the torrentflux folder. This is the message ungangle is giving me:
Untangle Server
The requested resource (/TORRENTFLUX) is not available.
I tried with torrentflux in the folder /var/www and /usr/share/untangle/web
none is working. I tried to read and search as much as I could, but I cant find an solution. Therefor I have to ask here.
(sorry for my poor english, its not my first language)
Dont know how much info you guys would need, for helping me. But everything these programs need for working is installed. Everything works great, EXCEPT torrentflux-b4rt which is a web based torrent program, Ive used it on a debian based system, and an ubuntu machine working very good. But this time Im having big problems.
sXe
sxxxe83
09-17-2008, 06:40 AM
No one with experience around this web server stuff?
Does anyone know if its possible to run other applications on the web server, like phpmyadmin, webmin and so on?
sXe
dmorris
09-19-2008, 11:50 AM
are you installing it *on* your untangle server? it sounds like it.
you put it in /usr/share/untangle/web/torrentflux and you can't get to it?
sxxxe83
09-22-2008, 05:55 PM
are you installing it *on* your untangle server? it sounds like it.
you put it in /usr/share/untangle/web/torrentflux and you can't get to it?
That is correct.
I have an Untangle Server and am trying install/get torrentflux to work with it. But I get an error message as described above. I just thought that perhaps untangle didnt allow other applications working on the same machine or something like that.
So in theory this should work just fine?
sXe
sxxxe83
10-13-2008, 10:12 AM
So guess this wont work then?
Would really appreciate if someone could verify this, or some other information.
sXe
What port does the program try to use? That may be your problem, combined with configuration of Untangle. A larger question is why you would want to run bit torrent on a infrastructure box that is already too slow with not enough RAM?
sxxxe83
10-14-2008, 12:02 AM
If I got to the configuration the port number can be altered to anything. But I can not get that far, because the web gui will not start at all. But to answer your question I guess thats just port nr 80, default http.
As for why :lol
Just testing, really liked the untangle gui, features. And btw I had an old not so "noisy" HP 3GHz with 1GB Ram that should work a bit better than the old Compaq.
And I had hoped that I could have just 1 machine running 24/7 with, dhcp/routing/spyware, virus/wireless ap, etc. and the bit-torrent http://tf-b4rt.berlios.de/ (http://tf-b4rt.berlios.de/) instead of the perhaps better choice of 2 seperate machines, 1 untangle, and 1 web server with the bit torrent software.
If you understand what I mean.
sXe
I could be (and likely am) totally off here, so I'll just throw out ideas and maybe someone else can add something more or maybe even correct me. If your torrent software is not just web-based -- but web server-based, there may be assumptions about the specific type of web server that is running on the Untangle box and/or services and/or configuration that needs to be started or stopped. Do you need Apache? Tomcat? Is your software bound to a specific port by default, or possibly multiple ports? I'm out of my comfort zone here, and that's why I say I'm just throwing out ideas to get the ball rolling.
That HP box will definitely work better than the creaky old Compaq, but you can move to that once proof of concept is handled. Hopefully I've triggered someone else's brain cells here.
sxxxe83
10-14-2008, 03:29 AM
Its web server based yes. If Apache itself is needed I dont know, but it does need a web server to work.
Requirements from the official site http://tf-b4rt.berlios.de/requirements.html
Requirements
A Unix like OS (Win32 not supported) - current tested OSs include:
Linux: Debian, Ubuntu, Gentoo, RedHat, Fedora, NSLU2, ClarkConnect - amongst others!
BSD: FreeBSD, OpenBSD, NetBSD
Apple: Mac OS X
A Web Server - any Unix like webserver that supports PHP should work. Current supported/tested:
Apache
LightTPD
An SQL-Database - current supported db types are:
MySQL
SQLite
PostgreSQL
PHP 4.3.x or higher.
Python 2.2 or higher.
Perl 5.6 or higher (for the optional fluxd daemon).
As for configuration, here is a list of "Binary paths" it needs: But if any are missing, a message will be displayed. But once again, the untangle web server does not let it start at all.
transmissioncli
Specify the path to the Transmission binary (/usr/local/bin/transmissioncli).
wget
Specify the path to the wget binary (/usr/bin/wget).
uudeview
Specify the path to the uudeview binary (needed for nzbperl) (/usr/local/bin/uudeview).
php
Specify the path to the commandline (cli) php binary (/usr/bin/php).
Note: This must be the cli version of the PHP binary, NOT cgi or otherwise.
python
Specify the path to the python binary (/usr/bin/python).
perl
Specify the path to perl (/usr/bin/perl).
grep
Specify the path to the grep binary (/bin/grep).
awk
Specify the path to the awk binary (/usr/bin/awk).
du
Specify the path to the du binary (/usr/bin/du).
unzip
Specify the path to the unzip binary (/usr/bin/unzip).
cksfv
Specify the path to the cksfv binary (/usr/bin/cksfv).
vlc
Specify the path to the vlc binary (/usr/local/bin/vlc).
unrar
Specify the path to the unrar binary (/usr/bin/unrar).
As for the current machine I have this "torrentflux-b4rt" running on, I can choose to use both port 80 http:// and 443 https://, that machine is just a standard debian etch 4 something.
As for other ways for this to work, I just started lookin at Ubuntu Server as OS, then installed vmware server for linux, and setup 2 virtual machines, 1 with untangle and the last any debian based distro (etch, ubuntu server) for the torrentflux-b4rt software. But I just seems like a lot of unnecessary work, for getting something small as a webserver based program to work on the untangle box.
Thx for helping ;)
sXe
sxxxe83
10-14-2008, 04:08 AM
Just tested a little "Hello World" php version, and the untangle server can not display that either.
Btw, this is placed in this folder: /usr/share/untangle/web
#!/usr/local/bin/php -f<?php
/*
$Id: hello.php,v 1.1 2001/06/17 22:00:34 doug Exp $
http://www.bagley.org/~doug/shootout/
*/
print "hello world\n";
?>
So i dont think that torrentflux itself does require something special, if just someone could tell me how I can get untangle to run other stuff like "torrentflux, other web based software", just a index.html "hello world", dont work.
Only way to see anything is if the hello.php is placed in this folder: /usr/share/untangle/web/webstart/hello.php
But it does not "run" it, its just the code beeing displayed like its written right above...