.rtorrent.rc edit


just wondering why I can’t add lines in the .rtorrent.rc file? I need to put the peer_exchange = no, but when I do that, rtorrent won’t start even after a server hard reboot.

Thanks for your help!

how are you adding the line? perhaps it is affecting the permissions.

I’m editing the .rtorrent.rc file located in /home/paul/.rtorrent.rc with nano.

This is what I have:


dht.mode.set = off
directory.default.set = /home/paul/torrents/rtorrent
encoding.add = UTF-8
protocol.encryption.set = allow_incoming,try_outgoing,enable_retry,require_RC4
execute.nothrow = chmod,777,/home/paul/.config/rpc.socket
execute.nothrow = chmod,777,/home/paul/.sessions
network.port_random.set = yes
network.port_range.set = 58291-59791
scgi_port = localhost:58291
network.tos.set = throughput
peer_exchange = no
protocol.pex.set = yes
pieces.hash.on_completion.set = no
schedule = watch_directory,5,5,load.start=/home/paul/rwatch/*.torrent
session.path.set = /home/paul/.sessions/
throttle.global_down.max_rate.set = 0
throttle.global_up.max_rate.set = 0
throttle.max_peers.normal.set = 100
throttle.max_peers.seed.set = -1
throttle.max_uploads.set = 100
throttle.min_peers.normal.set = 1
throttle.min_peers.seed.set = -1
trackers.use_udp.set = yes


No problem changing dht to off but when I add the peer exchange line, rtorrent won’t restart.


possibly because of this: https://github.com/rakshasa/rtorrent/issues/761 ??

Thank you SO MUCH!

Before writing here I did a lot of Google search and never got accross that forum post.

I can’t add the line. “Peer_exchange =” has just been renamed to : “protocol.pex =”.

I’m happy now!!! Thank you again late !

1 Like