someone got rtorrent 0.7.9 and libtorrent 0.11.9 in ipk format? Because i updated and can't find the package to downgrade.
I just solved my problem, by removing lighttpd screen bash rtorrent and reinstalling.
Then i edited S99torrent just replacing:
user="p2p"
with
user="admin"
which is my user on asus router.
This solved my issue.
is 0.8 a beta? Because on some tracker is banned.
someone got rtorrent 0.7.9 and libtorrent 0.11.9 in ipk format? Because i updated and can't find the package to downgrade.
Is it possible to make rtorrent auto-start torrents processing after router turn-on?
I've checker rtorrent.conf and did not find any setting related to this.
Thanks in advance.
last night i tried wtorrent, really nice but i found it too slow. When i click on a torrent to get infos and details it just takes minutes before i see something. The same is when i log in.
Anyone noticed the same?
reading on the site of ntorrent, i saw that the build files are now created.
Some week ago i tried to build the svn version of ntorrent without success, now it just works, and have some really nice improvement, starting from the autoconnect feature, going to a better sorting method and plugins enhancements.
The only thing i miss is the feed option present in some other gui.
from the author site:
You can download nTorrent from the "downloads tab" on this page. If you however is interested in the latest version, you can download from the SVN repository.
# svn co http://ntorrent.googlecode.com/svn/trunk ntorrent
This will create a folder ntorrent containing the sourcefiles in your current working directory. to run the latest version you can issue "ant run" within the ntorrent directory. check build.xml for other build targets.
Anyone knows if its possible block some peers?
Last edited by light; 26-03-2008 at 12:03.
Is possible block some peers?
I tried to install rtorrent from the howto, but for the http://192.168.1.1:8081/RPC2 there is some 500- internal server error and nothing else.
On http://192.168.1.1:8081 everithing is ok, on ps there is lighttpd, and rtorrent.
In the lighttpd error log:
lighttpd.conf:Code:1970-01-01 01:00:10: (log.c.75) server started 2008-03-28 18:14:47: (mod_scgi.c.2219) establishing connection failed: Connection refused 2008-03-28 18:14:47: (mod_scgi.c.2353) fcgi-server disabled: 127.0.0.1 5000 2008-03-28 18:14:47: (mod_scgi.c.2821) no fcgi-handler found for: /RPC2
rtorrent.conf: (BTW there was no scgi_port tag in the original config file, is this ok?)Code:server.modules = ( "mod_access", "mod_scgi", "mod_accesslog" ) server.document-root = "/opt/share/www/lighttpd/" server.errorlog = "/opt/var/log/lighttpd/error.log" index-file.names = ( "index.php", "index.html", "index.htm", "default.htm" ) mimetype.assign = ( ".pdf" => "application/pdf", ".sig" => "application/pgp-signature", ".spl" => "application/futuresplash", ".class" => "application/octet-stream", ".ps" => "application/postscript", ".torrent" => "application/x-bittorrent", ".dvi" => "application/x-dvi", ".gz" => "application/x-gzip", ".pac" => "application/x-ns-proxy-autoconfig", ".swf" => "application/x-shockwave-flash", ".tar.gz" => "application/x-tgz", ".tgz" => "application/x-tgz", ".tar" => "application/x-tar", ".zip" => "application/zip", ".mp3" => "audio/mpeg", ".m3u" => "audio/x-mpegurl", ".wma" => "audio/x-ms-wma", ".wax" => "audio/x-ms-wax", ".ogg" => "application/ogg", ".wav" => "audio/x-wav", ".gif" => "image/gif", ".jpg" => "image/jpeg", ".jpeg" => "image/jpeg", ".png" => "image/png", ".xbm" => "image/x-xbitmap", ".xpm" => "image/x-xpixmap", ".xwd" => "image/x-xwindowdump", ".css" => "text/css", ".html" => "text/html", ".htm" => "text/html", ".js" => "text/javascript", ".asc" => "text/plain", ".c" => "text/plain", ".cpp" => "text/plain", ".log" => "text/plain", ".conf" => "text/plain", ".text" => "text/plain", ".txt" => "text/plain", ".dtd" => "text/xml", ".xml" => "text/xml", ".mpeg" => "video/mpeg", ".mpg" => "video/mpeg", ".mov" => "video/quicktime", ".qt" => "video/quicktime", ".avi" => "video/x-msvideo", ".asf" => "video/x-ms-asf", ".asx" => "video/x-ms-asf", ".wmv" => "video/x-ms-wmv", ".bz2" => "application/x-bzip", ".tbz" => "application/x-bzip-compressed-tar", ".tar.bz2" => "application/x-bzip-compressed-tar" ) accesslog.filename = "/opt/var/log/lighttpd/access.log" url.access-deny = ( "~", ".inc" ) $HTTP["url"] =~ "\.pdf$" { server.range-requests = "disable" } static-file.exclude-extensions = ( ".fcgi", ".php", ".pl", ".py", ".rb" ) server.port = 8081 server.pid-file = "/var/run/lighttpd.pid" scgi.server = ( "/RPC2" => ( "127.0.0.1" => ( "host" => "127.0.0.1", "port" => 5000, "check-local" => "disable" ) ) )
thnxCode:scgi_port = localhost:5000 min_peers = 20 max_peers = 40 max_uploads = 5 download_rate = 600 upload_rate = 40 directory = /opt/share/torrent/work/ schedule = watch_directory,5,5,load_start=/opt/share/torrent/dl/*.torrent schedule = untied_directory,5,5,stop_untied= session = /opt/share/torrent/work port_range = 10000-11000 check_hash = yes schedule = ratio,30,60,stop_on_ratio=200 encryption = prefer_plaintext
ver. 0.5 of nTorrent without lighttpd php and /RPC2 dance compressed guide
connection throught SSH on port 5000 (Attach pic.)
UPDATED 10.10.2008
best install after you finished wengi guide (checked on oleg's 1.9.2.7-10, but i don't use 3 partition like /tmp/mnt/disc0_3/torrent/(because have only 16GB Flash drive))
You don't need other packages like php, lighttpd, dependence is OKCode:ipkg update ipkg upgrade ipkg install rtorrent ipkg install screen mkdir /opt/share/torrent/session
rm /opt/etc/rtorrent.conf
nano /opt/etc/rtorrent.conf
nano /usr/local/sbin/post-firewallCode:scgi_port = localhost:5000 min_peers = 20 max_peers = 40 max_uploads = 5 download_rate = 0 upload_rate = 30 check_hash = no directory = /opt/share/torrent/work schedule = watch_directory,5,5,load_start=/opt/share/torrent/dl/*.torrent schedule = untied_directory,5,5,stop_untied= schedule = low_diskspace,5,60,close_low_diskspace=10M session = /opt/share/torrent/session port_range = 51777-51780 use_udp_trackers = yes schedule = ratio,30,60,stop_on_ratio=100 safe_sync = yes dht = auto dht_port = 6881 peer_exchange = yes
Code:iptables -I INPUT 1 -p tcp -i "$1" --syn --dport 51777:51780 -j ACCEPT iptables -I INPUT 1 -p udp -i "$1" --dport 6881 -j ACCEPT
nano /opt/etc/init.d/S99rtorrent
you must edit some code, to start rtorrent with right config file
reboot, wait a minute try to connect ntorrent, happy torrenting :-)Code:unsharp and change #replace dirlayout=RTORRENT_DEFAULT to: replace dirlayout=RTORRENT_ANOTHER change user="user" to: user="your_login_name" change logfile="/opt/var/log/rtorrentInit.log" to: logfile="/opt/share/torrent/rtorrentInit.log"
Debugging:
try and watch for errors, ad is in /opt/share/torrent/rtorrentInit.log:
Credits:Code:rtorrent -n -o import=/opt/etc/rtorrent.conf
mancub 1st guide
ecori start script changes
Last edited by gouryella; 20-03-2009 at 19:08. Reason: UPDATE
RT-N13u dd-wrt | Toshiba 2.5" 160GB | pxe boot server
Hi!
I followed gouryella's "how to", And managed to make it run, but now, when I put something to download it says Timeout was Reached.
How can I fix that...
I'm a totally newbie when it comes to linux...
Pls HELP!
Y really cant get it now .
Try to setup rtorrent without lightttpd, using Gouryella setup and run in this :
[admin@router root]$ sh /opt/etc/init.d/S99rtorrent start
[: missing argument after `RTORRENT_DEFAULT'
[: missing argument after `RTORRENT_DEFAULT'
[: missing argument after `RTORRENT_DEFAULT'
Starting rtorrent: rtorrent.
Then :
[admin@router root]$ ps axf
PID TTY STAT TIME COMMAND
1 ? S 0:01 /sbin/init
2 ? S 0:00 [keventd]
3 ? RN 0:00 [ksoftirqd_CPU0]
4 ? S 0:00 [kswapd]
5 ? S 0:00 [bdflush]
6 ? S 0:00 [kupdated]
7 ? S 0:00 [mtdblockd]
61 ? S 0:01 httpd vlan1
63 ? Ss 0:00 nas /tmp/nas.lan.conf /tmp/nas.lan.pid lan
67 ? S 0:00 klogd
69 ? S 0:00 [dnsmasq]
70 ? S 0:00 [khubd]
82 ? S 0:00 [usb-storage-0]
83 ? S 0:00 [scsi_eh_0]
131 ? Ss 0:00 watchdog
133 ? Ss 0:00 \_ ntp
142 ? S 0:00 dropbear -p 22 -j -k
197 ? Ss 0:01 \_ dropbear -p 22 -j -k
198 pts/0 Ss 0:00 \_ -sh
341 pts/0 R+ 0:00 \_ ps axf
159 ? S 0:00 [kjournald]
160 ? S 0:00 [kjournald]
162 ? Ss 0:00 /usr/sbin/nmbd -D
164 ? Ss 0:00 /usr/sbin/smbd -D
337 ? S 0:00 \_ [smbd]
189 ? S 0:00 /sbin/syslogd -m 0 -O /opt/var/log/syslog.log -S -l 7 -s 0
196 ? Ss 0:00 /opt/sbin/cron
244 ? Ss 0:00 /opt/bin/SCREEN -dmS rtorrent rtorrent -o import=/opt/etc/rtorrent.conf
248 pts/1 Ss+ 0:00 \_ rtorrent -o import=/opt/etc/rtorrent.conf
And try to connect via ssh with win client 0.5 ntorrent but "connection reset" .
Maybe my bad wealth have a word here.
Need some directions here, pls.
LE: with Litghttpd work though ....
But i will like without ...
Last edited by poiu; 30-06-2008 at 15:05.
Gouryella's HowTo is very pragmatic, but is working.
A much elegant (conformable to start/stop scripts) approach is al37919's short how to.
And poiu, don't forget to add scgi_port = localhost:5000 in your /opt/etc/rtorrent.conf
Serpent, i do that allready, this is the result ..
I uninstall rtorrent/lighthtpd/screen, do all dance again, the same.
T he good news i manage to make ntorrent gui work somehow, for 1 day, but today failed for some reason .
Cant connect with lighttpd or without on 5000 routed by ssh.
Rtorrent is there, on console working (lynx), starting with the same errors.
Router is on a ups, so no power fail here ..
Gouryella wont work for me, try't again.
I try http://wl500g.info/showthread.php?t=...light=rtorrent but i get some xtml/html error in all browsers.
I am sick for now, but i get crazy too with this stubborn rtorrent ....and the humor in this is a wile ago i manage to get rtorrent work with ease, but i upgrade to .10 so all was lost.
Last edited by poiu; 02-07-2008 at 19:58.