PDA

Bekijk de volledige versie : Rtorrent + Ntorrent Thru SSH Solid,Complete And Working Guide.



t68kv
07-10-2008, 18:39
Download Link: http://www.4shared.com/file/69250777/534ff5bb/Rntorrent_by_t68kv.html
Instruction posted here is also included

Working Rtorrent + Ntorrent thru SSH guide.


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:


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"
%

gouryella
10-10-2008, 22:57
rTorrent compressed guide :D
UPDATED 13.4.2009 nTorrent 0.5 (http://code.google.com/p/ntorrent/)
best install after you finished 1st part of wengi guide (checked on oleg's 1.9.2.7-10 with latest rtorrent)


ipkg update
ipkg upgrade
ipkg install rtorrent
ipkg install screen
mkdir /opt/share/torrent/session
mkdir /opt/var
mkdir /opt/var/log
nano /opt/etc/rtorrent.conf

fail-safe contents of rtorrent.conf(stop on ratio removed):
http://libtorrent.rakshasa.no/wiki/RTorrentCommonTasks (i am testning new(for me) features now)


scgi_port = localhost:5000
min_peers = 0
max_peers = 40
max_uploads = 5
port_range = 51777-51780
use_udp_trackers = yes
safe_sync = yes
dht = auto
dht_port = 6881
peer_exchange = yes
download_rate = 0
upload_rate = 60
check_hash = no
hash_read_ahead = 5
hash_max_tries = 5
hash_interval = 10
directory = /opt/share/torrent/work
session = /opt/share/torrent/session
schedule = watch_directory,5,5,load_start=/opt/share/torrent/dl/*.torrent
schedule = untied_directory,5,5,stop_untied=
schedule = untied_directory,5,5,close_untied=
schedule = untied_directory,5,5,remove_untied=
schedule = low_diskspace,5,60,close_low_diskspace=50M



nano /usr/local/sbin/post-firewall
add 2 lines to the the post-firewall(4 lines for newbies):


iptables -D INPUT -j DROP
iptables -A INPUT -p tcp --dport 51777:51780 -j ACCEPT
iptables -A INPUT -p udp --dport 6881 -j ACCEPT
iptables -A INPUT -j DROP

S99rtorrent is startup script, but only starting is working; stoping, restarting may not (celebrate or hate ecori for this)!

nano /opt/etc/init.d/S99rtorrent
paste this and check user="root" for own (QMax report that newest version has bad start script, this edited by ecori)
http://wl500g.info/attachment.php?attachmentid=4653&d=1239607750

manually start rTorrent in console, very useful for debugging config file (ctr + q to quit)

rtorrent -n -o import=/opt/etc/rtorrent.conf
chmod +x /opt/etc/init.d/S99rtorrent
if everything is fine, just:

flashfs save && flashfs commit && flashfs enable && reboot

http://wl500g.info/attachment.php?attachmentid=4514&stc=1&d=1237576118

http://wl500g.info/attachment.php?attachmentid=4515&stc=1&d=1237576124

t68kv
14-10-2008, 17:40
much better to include ipk package "with version" for the instruction to work even for a long time. Updates on other software may give problem and errors

t68kv
30-10-2008, 03:59
ooops link is invalid... i will fix this after i got my backup.
Out of town

t68kv
01-11-2008, 11:32
link updated:cool:

QMax
01-12-2008, 13:52
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/rtorrent_0.8.3-1_mipsel.ipk
ipkg install /opt/soft/libtorrent_0.12.3-1_mipsel.ipk



It's not clear to me why did you installed old versions and next install latest.

Thanks

Max

QMax
01-12-2008, 20:38
Great job gouryella !
Really easy and without extra packages, and it seems working fine.
You forget:


flashfs save && flashfs commit && flashfs enable && reboot

after nano in /usr/local/sbin/post-firewall

Thanks

Max

gouryella
02-12-2008, 19:44
ok, fixed :-)

QMax
02-12-2008, 20:06
Is not clear to me how /dl (watch dir) works in rtorrent.
I put a .torrent file on it, rtorrent starts downloading that file... what next ?
Do I have to clean manualy completed files ?

Is there a way to automate it using something like


on_finished = rm_torrent
on_finished = move_complete

Max

outkastm
10-12-2008, 20:07
How can i acces ntorrent from wan ?

ravikjab
21-12-2008, 16:36
hello

I have a problem,

when I try and watch for errors, ad is in /opt/share/torrent/rtorrentInit.log:
Code:
rtorrent -n -o import=/opt/etc/rtorrent.conf

I have answer :
(10:33:41) The SCGI socket is bound to a specific network device yet may still pose a security risk, consid
er using 'scgi_local'.ommand failed: ratio: Command "stop_on_ratio" does not exist.
(10:35:11) Scheduled command failed: ratio: Command "stop_on_ratio" does not exist.


Now I don't know what shall I do.

Thanks for help.

gouryella
05-01-2009, 15:51
How can i acces ntorrent from wan ?

add to post-firewall, to open ssh port to WAN, work as well from local net, only change ip(public ip)

iptables -A INPUT -p tcp --dport 22 -j ACCEPT

good idea is using different port of ssh as prevention from hackers (post-boot)


#!/bin/sh
dropbear -p 321

gouryella
05-01-2009, 15:58
Is not clear to me how /dl (watch dir) works in rtorrent.
I put a .torrent file on it, rtorrent starts downloading that file... what next ?
Do I have to clean manualy completed files ?

Is there a way to automate it using something like


on_finished = rm_torrent
on_finished = move_complete

Max
check http://libtorrent.rakshasa.no/browser/trunk/rtorrent/doc/rtorrent.rc?rev=latest but some features not work for me ... it's basic guide

grymster
19-01-2009, 10:25
2 gouryella,
Nice guide, short and solid, thanks.
I'll try it today.

update from 20/01/09:
works just fine.

wpte
23-01-2009, 23:42
Well... I had this thing working completely, and I do have to say I really like rtorrent together with ntorrent.

but for some reason, from the one to the other day, I can't start any torrents anymore:confused:

when I log in via ntorrent, I can see everything, but I can't upload a .torrent file anymore:confused:

tried reinstalling all the packages with -force-reinstall and -force-overwrite
but I still don't have it working:confused:

anyone an idea?
I run it with openssh and transmission is also installed according to wengi's updated howto.

outkastm
24-01-2009, 19:27
I dont know why but when i try to stop rtorrent with "/opt/etc/init.d/S99rtorrent stop" even if i get the message "Stopping rtorrent: rtorrent." rtorrent is still working.

wpte
24-01-2009, 23:15
ah... it is this random problem, that rtorrent doesnt recognizes every torrent file... it's still working:p


I dont know why but when i try to stop rtorrent with "/opt/etc/init.d/S99rtorrent stop" even if i get the message "Stopping rtorrent: rtorrent." rtorrent is still working.

are you using the first or second how-to in this thread?
can you see all your running processes with:

ps
or

ps afx

if "ps afx" is the case, you shouldn't have changed the ps option;)
(at least... I guess:p)

outkastm
25-01-2009, 08:52
i use second guide and i see the process with "ps axf". I will try to restore to see if that is the problem.

Melicous
29-01-2009, 01:23
hello

I have a problem,

when I try and watch for errors, ad is in /opt/share/torrent/rtorrentInit.log:
Code:
rtorrent -n -o import=/opt/etc/rtorrent.conf

I have answer :
(10:33:41) The SCGI socket is bound to a specific network device yet may still pose a security risk, consid
er using 'scgi_local'.ommand failed: ratio: Command "stop_on_ratio" does not exist.
(10:35:11) Scheduled command failed: ratio: Command "stop_on_ratio" does not exist.


Now I don't know what shall I do.

Thanks for help.

If you updated your rtorrent to version 0.8.4 you'll notice that it won't except the scheduled ratio check,
this is because it has now been built in and only the values have to be set.
So you can quote or remove that schedule and use the settings below

Here is a basic example
-first it enables ratio check
-sets the min and max ratios (1,0 and 2,0) also 20MB
-when the ratio is attained it triggers some commands


# Enable the default ratio group.
ratio.enable=

# Change the limits, the defaults should be sufficient.
ratio.min.set=100
ratio.max.set=200
ratio.upload.set=20M

# Changing the command triggered when the ratio is reached.
system.method.set = group.seeding.ratio.command, d.close=, d.erase=


You can read more on the rtorrent site, on working with different groups of torrents
(i.e. fast and slow lanes :))
http://libtorrent.rakshasa.no/wiki/RTorrentRatioHandling

Melicous
29-01-2009, 01:45
Thx for the howto

I had all but given up on running torrents on my box
Transmission kept on crashing the server or was slowing
down the samba to a crawl, ctorrent was no better

But the rtorrent and ntorrent combo really works great
Just for test purpose the first torrent was debian
did a reboot 3/4 of the way and a hash check took about 1h
but all the files where still there unlike transmission where
some percentage always got lost in the reboot.
My box still runs stable even with the sftp, samba, etc.

Thx again t68kv

gouryella
18-03-2009, 19:05
problem with units(download/upload speed) Kb = kB, it's very confusing, did you thing?

k0n
18-03-2009, 19:58
Well, I did everything just as the gouryella's tutorial said, and I'm getting 'Connection reset' when I try to connect through nTorrent. Any idea?

gouryella
19-03-2009, 10:47
Well, I did everything just as the gouryella's tutorial said, and I'm getting 'Connection reset' when I try to connect through nTorrent. Any idea?
Hi, i checked my tutorial today, clean install to my new 32GB flash drive and it's working fine.
please repeat tutorial again, i make some changes in.
ipkg remove rtorrent before

try manually start and watch for errors:

rtorrent -n -o import=/opt/etc/rtorrent.conf

QMax
13-04-2009, 15:14
Hello gouryella
can you please check what the hell happens to you upgrading with ipkg to the latest rtorrent_0.8.4-2_mipsel.ipk ?

Mine doesn't start automatically at every reboot as before, but if I start manually using sh /opt/etc/init.d/S99rtorrent start it works fine... :(

No need to change S99rtorrent in the new startup file.

Thanks

Max

PROBLEM SOLVED:
I replaced at the very beginning of S99rtorrent the line


#!/opt/bin/bash

with


#!/bin/sh

drevnerussky
16-06-2009, 02:50
hi,

yesterday i start downloading a torrent (here (http://torrents.thepiratebay.org/4448882/The.Bourne.Trilogy%5B720p-HDDVD%5Dx264-REVEiLLE.4448882.TPB.torrent)), at that time, it was making progress. a few hours later i turned off the router. today i turned it on and opened ntorrent. i found it's stuck at checking hash. the icon showed it's checking hash, but it's not making any progress. see the picture "ntorrent.png".

i execute "rtorrent -n -o import=/opt/etc/rtorrent.conf" to see if something's wrong, nothing wrong. i entered the rtorrent console and see it checking hash. see picture "ssh.png".

all the files in the torrent total 13GB, my /tmp/harddisk partition has only 7GB, but i turned most of the files "off" in ntorrent. does this matter?

anyone help me out, please?

gouryella
26-06-2009, 10:22
Delete session files (/opt/share/torrent/session), but you must manually add all torrents again / or copy *.torrents to dl.
Hash will be checked again, it takes lot of time.

QMax
08-07-2009, 21:18
Mmmmm... just ipkg upraded to rtorrent 0.8.5-1...
it seems is running correctly but I'm not able to connect from nTorrent.... :mad:

outkastm
13-09-2009, 22:08
after update to latest version, rtorrent don't start automatic

wpte
13-09-2009, 22:52
Mmmmm... just ipkg upraded to rtorrent 0.8.5-1...
it seems is running correctly but I'm not able to connect from nTorrent.... :mad:

mine works fine:confused:
got this as start script:

#!/opt/bin/bash

################################################## ##########################
#Optware package of rtorrent uses non-standard layout of directories. ##
#Uncomment the following line to switch to the default layout of rtorrent.##
################################################## ##########################
#dirlayout="RTORRENT_DEFAULT"

#############
###<Notes>###
#############
# This script depends on screen.
# For the stop function to work, you must set an
# explicit session directory using ABSOLUTE paths (no, ~ is not absolute) in you r rtorrent.rc.
# If you typically just start rtorrent with just "rtorrent" on the
# command line, all you need to change is the "user" option.
# Attach to the screen session as your user with
# "screen -dr rtorrent". Change "rtorrent" with srnname option.
# Licensed under the GPLv2 by lostnihilist: lostnihilist _at_ gmail _dot_ com
##############
###</Notes>###
##############

#######################
##Start Configuration##
#######################
# You can specify your configuration in a different file
# (so that it is saved with upgrades, saved in your home directory,
# or whateve reason you want to)
# by commenting out/deleting the configuration lines and placing them
# in a text file (say /home/user/.rtorrent.init.conf) exactly as you would
# have written them here (you can leave the comments if you desire
# and then uncommenting the following line correcting the path/filename
# for the one you used. note the space after the ".".
# . /etc/rtorrent.init.conf

#Do not put a space on either side of the equal signs e.g.
# user = user
# will not work
# system user to run as
user="root"

# the system group to run as, not implemented, see d_start for beginning impleme ntation
# group=`id -ng "$user"`

prefix="/opt"

# the full path to the filename where you store your rtorrent configuration
if [ "${dirlayout}" = "RTORRENT_DEFAULT" ] ; then
config="${prefix}/home/${user}/.rtorrent.rc"
else
config="/opt/etc/rtorrent.conf"
fi

# set of options to run with
if [ "${dirlayout}" = "RTORRENT_DEFAULT" ] ; then
options=""
else
options="-n -o import=${config}"
fi

# default directory for screen, needs to be an absolute path
if [ "${dirlayout}" = "RTORRENT_DEFAULT" ] ; then
base="${prefix}/home/${user}"
else
base="/opt/share/torrent"
fi

# name of screen session
srnname="rtorrent"

# file to log to (makes for easier debugging if something goes wrong)
logfile="/opt/var/log/rtorrentInit.log"

#######################
###END CONFIGURATION###
#######################
PATH=/opt/bin:/opt/sbin:/usr/bin:/sbin:/bin:/usr/sbin
DESC="rtorrent"
NAME=rtorrent
DAEMON=$NAME
SCRIPTNAME=/etc/init.d/$NAME

# Do not proceed unless some apps are available.
test -x /opt/bin/screen || ( echo "screen not found." | tee -a "$logfile" >&2 ; exit 2 )
test -x /opt/bin/su -o -x /bin/su || ( echo "su not found." | tee -a "$logfile" >&2 ; exit 2 )

checkcnfg() {
exists=0
for i in `echo "$PATH" | tr ':' '\n'` ; do
if [ -f "$i/$NAME" ] ; then
exists=1
break
fi
done


if [ $exists -eq 0 ] ; then
echo "cannot find rtorrent binary in PATH $PATH" | tee -a "$logf ile" >&2
exit 3
fi
if ! [ -r "${config}" ] ; then
echo "cannot find readable config ${config}. check that it is th ere and permissions are appropriate" | tee -a "$logfile" >&2
exit 3
fi
session=`getsession "$config"`
if ! [ -d "${session}" ] ; then
echo "cannot find readable session directory ${session} from con fig ${config}. check permissions" | tee -a "$logfile" >&2
exit 3
fi
}

d_start() {
[ -d "${base}" ] && cd "${base}"

stty stop undef && stty start undef
su -c "screen -ls | grep -sq "\.${srnname}[[:space:]]" " ${user} || su -c "scr een -dm -S ${srnname} 2>&1 1>/dev/null" ${user} | tee -a "$logfile" >&2
# this works for the screen command, but starting rtorrent below adopts screen session gid
# even if it is not the screen session we started (e.g. running under an undes irable gid
#su -c "screen -ls | grep -sq "\.${srnname}[[:space:]]" " ${user} || su -c "sg \"$group\" -c \"screen -fn -dm -S ${srnname} 2>&1 1>/dev/null\"" ${user} | tee -a "$logfile" >&2
su -c "screen -S "${srnname}" -X screen rtorrent ${options} 2>&1 1>/dev/null" ${user} | tee -a "$logfile" >&2
}

d_stop() {
session=`getsession "$config"`
if ! [ -s ${session}/rtorrent.lock ] ; then
return
fi
pid=`cat ${session}/rtorrent.lock | awk -F: '{print($2)}' | sed "s/[^0-9 ]//g"`
if ps | grep -sq ${pid}.*rtorrent ; then # make sure the pid doesn't bel ong to another process
kill -s INT ${pid}
fi
}

getsession() {
session=`awk '/^[[:space:]]*session[[:space:]]*=[[:space:]]*/{print($3)} ' "$config"`
echo $session
}

checkcnfg

case "$1" in
start)
echo -n "Starting $DESC: $NAME"
d_start
echo "."
;;
stop)
echo -n "Stopping $DESC: $NAME"
d_stop
echo "."
;;
restart|force-reload)
echo -n "Restarting $DESC: $NAME"
d_stop
sleep 1
d_start
echo "."
;;
*)
echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
exit 1
;;
esac

exit 0
[root@wpte root]$ clear
'xterm': unknown terminal type.
[root@wpte root]$ clean
-sh: clean: not found
[root@wpte root]$ screen
/opt/var/run/utmp: No such file or directory

getsession() {
session=`awk '/^[[:space:]]*session[[:space:]]*=[[:space:]]*/{print($3)}' "$config"`
echo $session
}

checkcnfg

case "$1" in
start)
echo -n "Starting $DESC: $NAME"
d_start
echo "."
;;
stop)
echo -n "Stopping $DESC: $NAME"
d_stop
echo "."
;;
restart|force-reload)
echo -n "Restarting $DESC: $NAME"
d_stop
sleep 1
d_start
echo "."
;;
*)
echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
exit 1
;;
esac

exit 0

weixing
18-09-2009, 15:10
I can successfully start rtorrent (as seen in ps), but the torrents never start dl. Anybody know how to resolve?

wpte
19-09-2009, 23:04
I can successfully start rtorrent (as seen in ps), but the torrents never start dl. Anybody know how to resolve?

I had the same problem recently:(
in my case it appeared to be a dns resolve problem.
I'm not sure if it's your problem as well, try to do something like this command:

nslookup google.com
the lookup should be done in about a second (containing a few ip's belonging to google)

does it work properly?:D
if it doesn't you can specify alternate dns servers in the web-interface: ip config -> wan & lan > WAN DNS Setting
I chose for the opendns servers(free to use), and transmission seems to work fine now:)

dp79
05-10-2009, 22:12
Hi,

Could somebody upload an older version? For example rtorrent 0.8.4-2. The new one doesn't seem to work for me either :(
Before when I checked what is running, I saw rtorrent running as daemon, without screen. Now I see it running with screen and I believe that is the reason for not being able to connect with ntorrent.

So, could somebody please post the previous version?

FYI - I already changed #! /opt/bin/bash to #! /bin/sh and rtorrent runs fine, but ntorrent still doesn't connect.

Thx,

dp79

QMax
13-03-2011, 08:32
Mmmm... something strange's happening here.
Since a week my rtorrent runs fine at startup under screen, but everytime i put a torrent file on the dl watched folder, on session folder I can see a new session, on work folder I can see the torrent files, but rtorrent stop working.
With ps -axf I see only SCREEN but rtorrent is closed.

The same problem adding a torrent file from nTorrent GUI.
An error window appear: redstone.xmlrpc.XmlRpcExeption: a problem occurred during parsing

I just reinstalled screen and rtorrent 0.8.6-1, replaced the startup and cfg files without success.

Any help ?

Thanks