Originally Posted by
spigot
Zdravim.
Chcel by som sa vas opytat ci sa vam podarilo rozbehat rtorrent alebo ineho torrent klienta. Skusal som uz viacere ale ani pri jednom sa mi nepodarilo dosiahnut vacsiu rychlost stahovania ako 20KB/s. Pritom ak pouzijem uTorrent vo Windows tak taham plnou rychlostou linky.
Vedel by mi niekto poradit (urobil som vzdy vsetky nastavenia ktore boli potrebne k danemu programu ako aj nastavenie firewallu ale bez uspechu)?
Dakujem
Já sem publikoval tento návod, je funkční a otestovaný na poslední verzi olegova firmwaru, hned po čisté instalaci dle wengiho návodu (bez transmision).
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))
Code:
ipkg update
ipkg upgrade
ipkg install rtorrent
ipkg install screen
mkdir /opt/share/torrent/session
You don't need other packages like php, lighttpd, dependence is OK
rm /opt/etc/rtorrent.conf
nano /opt/etc/rtorrent.conf
Code:
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
nano /usr/local/sbin/post-firewall
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
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"
reboot, wait a minute try to connect ntorrent, happy torrenting :-)
Debugging:
try and watch for errors, ad is in /opt/share/torrent/rtorrentInit.log:
Code:
rtorrent -n -o import=/opt/etc/rtorrent.conf
Credits:
wengi head start guide
mancub 1st guide
ecori start script changes
and oleo best firmware
Pictures: