Rtorrent + Ntorrent Thru SSH Solid,Complete And Working Guide.
Download Link: http://www.4shared.com/file/69250777..._by_t68kv.html
Instruction posted here is also included
Working Rtorrent + Ntorrent thru SSH guide.
Quote:
Install from top to bottom. After installing ipkg and samba.
Copy and paste this to putty. Others are common sense.
Change the directory location where you put the attach ipk files.
ipkg install /opt/soft/nano_2.0.7-1_mipsel.ipk
ipkg install /opt/soft/ncurses_5.6-3_mipsel.ipk
ipkg install /opt/soft/ncursesw_5.6-2_mipsel.ipk
ipkg install /opt/soft/xmlrpc-c_1.11.00-3_mipsel.ipk
ipkg install /opt/soft/bash_3.2.17-1_mipsel.ipk
ipkg install /opt/soft/screen_4.0.3-2_mipsel.ipk
ipkg install /opt/soft/libtorrent_0.11.9-1_mipsel.ipk
ipkg install /opt/soft/rtorrent_0.7.9-2_mipsel.ipk
ipkg install /opt/soft/openldap-libs_2.3.38-1_mipsel.ipk
ipkg install /opt/soft/pcre_7.6-1_mipsel.ipk
ipkg install /opt/soft/libuclibc++_0.2.2-4_mipsel.ipk
ipkg install /opt/soft/libxml2_2.6.31-1_mipsel.ipk
ipkg install /opt/soft/libsigc++_2.0.18-1_mipsel.ipk
ipkg install /opt/soft/libmemcache_1.4.0.rc2-3_mipsel.ipk
ipkg install /opt/soft/libevent_1.3d-1_mipsel.ipk
ipkg install /opt/soft/libcurl_7.17.0-2_mipsel.ipk
ipkg install /opt/soft/uclibc-opt_0.9.28-13_mipsel.ipk
ipkg install /opt/soft/ipkg-opt_0.99.163-9_mipsel.ipk
ipkg install /opt/soft/rtorrent_0.8.3-1_mipsel.ipk
ipkg install /opt/soft/libtorrent_0.12.3-1_mipsel.ipk
Edit:
Quote:
nano -w /opt/etc/init.d/S99rtorrent
Change the beginning with this one: dirlayout=RTORRENT_Custom
Change according to your login to the router: user="admin"
Exit and Save
chmod +x /opt/etc/init.d/S99rtorrent
rm -w /opt/etc/rtorrent.conf
nano -w /opt/etc/rtorrent.conf
Paste This: Check all variables, you may want to changes some details.
If error exist, check and troubleshoot errors. "Usually missing folder" create the folder and chmod 777 the directory.
[QUOTE]# This is an example resource file for rTorrent. Copy to
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
# uncomment the options you wish to enable.
scgi_port = 127.0.0.1:5000
# Minumum amount of peers to connect per torrent, if available.
min_peers = 20
# Minumum amount of peers to connect per torrent.
max_peers = 40
# Same as above but for seeding completed torrents (-1 = same as downloading)
#min_peers_seed = 10
#max_peers_seed = 20
# Maximum number of simultanious uploads per torrent.
max_uploads = 5
#max_uploads_global = 20
#max_downloads_global = 30
#max_open_http = 10
#max_open_sockets = 128
#max_open_files = 256
# Global download rate in KiB. "0" for unlimited.
download_rate = 0
# Global upload rate in KiB. "0" for unlimited.
upload_rate = 0
# Default directory to save downloaded files. Note it doesn't support
# space yet.
#directory = /opt/share/torrent/work/
directory = /opt/share/torrent/work/
# Watch a directory for new torrents, and stop those that have been deleted.
#schedule = watch_directory,5,5,load_start=/opt/share/torrent/dl/*.torrent
#schedule = untied_directory,5,5,stop_untied
schedule = watch_directory,5,5,load_start=/tmp/mnt/disc0_3/torrent/source/*.torrent
schedule = untied_directory,5,5,stop_untied=
schedule = untied_directory,5,5,close_untied=
schedule = untied_directory,5,5,remove_untied=
# Close torrents when diskspace is low.
on_finished = move_complete,"execute=mv,$d.get_base_path=,/tmp/mnt/disc0_3/torrent/target;d.set_directory=/tmp/mnt/disc0_3/torrent/target"
schedule = watch_directory,10,10,"load_start=/tmp/mnt/disc0_3/torrent/source/*.torrent,d.set_custom2=1"
on_finished = set_done_var,d.set_custom2=
on_erase = rm_files,"branch=d.get_custom2=,\"execute={rm,-rf,--,$d.get_base_path=}\""
schedule = low_diskspace,5,60,close_low_diskspace=10000M
# Default session directory. Make sure you don't run multiple instance of rtorrent using the same session directory. Perhaps
#using a relative path? session = /opt/share/torrent/session
session = /tmp/mnt/disc0_3/torrent/session
# The ip address reported to the tracker.
#ip = rakshasa
# The ip address the listening socket and outgoing connections is
# bound to.
#bind = rakshasa
# Port range to use for listening.
port_range = 51777-51780
# Start opening ports at a random position within the port range.
#port_random = no
# Check hash for finished torrents. Might be usefull until the bug is
# fixed that causes lack of diskspace not to be properly reported.
check_hash = no
# Set whetever the client should try to connect to UDP trackers.
use_udp_trackers = yes
# Alternative calls to bind and ip that should handle dynamic ip's.
#schedule = ip_tick,0,1800,ip=rakshasa
#schedule = bind_tick,0,1800,bind=rakshasa
#
# Do not modify the following parameters unless you know what you're doing.
#
# Hash read-ahead controls how many MB to request the kernel to read
# ahead. If the value is too low the disk may not be fully utilized,
# while if too high the kernel might not be able to keep the read
# pages in memory thus end up trashing.
hash_read_ahead = 5
# Interval between attempts to check the hash, in milliseconds.
hash_interval = 10
# Number of attempts to check the hash while using the mincore status,
# before forcing. Overworked systems might need lower values to get a
# decent hash checking rate.
hash_max_tries = 3
safe_sync=yes
# Max number of files to keep open simultaniously.
#max_open_files = 128
# Number of sockets to simultaneously keep open.
#max_open_sockets = <no default>
# Example of scheduling commands: Switch between two ip's every 5
# seconds.
#schedule = "ip_tick1,5,10,ip=torretta"
#schedule = "ip_tick2,10,10,ip=lampedusa"
%