[分享][更新mldonkey]支援BT的窮人NAS-PCI NAS-01G

請問已經安裝舊版rtorrent的話 還能安裝新版的rtorrent並且編譯他嗎

還是說要format硬碟再重頭來

搞了好多天一直失敗
感謝sh105866兄的方法,小弟已經可以用n2hell管理了。
rTorrent 好消息:
據官方消息, 新版 rTorrent 0.7.9 已 release
( http://libtorrent.rakshasa.no/ )
意思是說, 你可以簡單用

apt-get install rtorrent

就可以安裝新版 支援 DHT 了!

(請修改 sources.list :
deb ftp://ftp.isu.edu.tw/pub/Linux/Debian/debian/ testing/unstable
)

(不過, 要使用 nTorrent 管理, 還是要依 sh105866兄 整理的步驟)

rTorrent.rc 支援幾個新參數

# When the torrent finishes, it executes "mv -u <base_path> ~/Download/"
# and then sets the destination directory to "~/Download/". (0.7.7+)
意思是說: 你可以把下載完的移到別的目錄管理
(我就深受其害,下載中和完成砍種的混在一起, 很難管理)
所以我 新建一個目錄 /share/done 放下載完成的檔案

on_finished = move_complete,"execute=mv,-u,$d.get_base_path=,/share/done/ ;d.set_directory=/share/done/"
on_erase = move_complete,"execute=mv,-u,$d.get_base_path=,/share/done/"
(第一行,雖然移到/share/done,仍然在當種子,
第二行, 既然你經砍檔, 那就無所謂囉!)

希望對大家有用!

nTorrent 可以遠端管理 rTorrent 作法:
當你依 sh105866兄 步驟編譯rTorrent
(切記不用再 patch DHT.DIFF)
(有人問為何 編譯/執行 rTorrent有問題:
通常, 我只要碰到問題, 那就是把
rTorrent source 目錄全砍了( rm -rf trunk)
然後, 再用 svn 下載, compile)

有幾個地方需要設定:

1. rtorrent.rc 加入
scgi_port = 127.0.0.1:5000

2. /etc/lighttpd/lighttpd.conf
尋找:
server.modules = (
# 加入下面一行
"mod_scgi",

並在檔案最後面加入:
scgi.server = (
"/RPC2" =>
((
"host" => "127.0.0.1",
"port" => 5000,
"check-local" => "disable"
))
)

3. nTorrent 從 windows 啟動
(下載 nTorrent-bin-20071015.tar.bz2
解開 雙點 ntorrent.jar 即可執行,
也可參考 ntorrent.sh 修改成 ntorrent.bat)

protocol 選 "http"
host/port 就看你 http server 開放的設定囉!
Moutpoint 填入 "/RPC2"
username/password : 當然你只能用 root 囉
(除非你不是 backdoor 啟動 rTorrent 的)

以上, 應該可以順利用nTorrent 了!
小弟在編譯rtorrent好像成功了 我是使用svn co -r 1013 svn://rakshasa.no/libtorrent/trunk

1013版本的rtorrent好像內建DHT了 所以應該不用再下載dht.diff了

Dht support has been included in the rtorrent code with svn revision 1013. Simply check out

the latest trunk, or wait for the next tarball.

只是我把種子丟進SHARE/DOWNLOAD/TORRENT裡面RTORRENT並沒有抓到種子

請問新版的RTORRENT的種子應該放在哪裡 或是我在哪邊有出錯

我沒有安裝xmlrpc 單純用網路芳鄰丟種子
rTorrent 不能下載?
請 check rTorrent.rc 內

schedule = watch_directory,10,10,load_start=/share/torrent/*.torrent

如上一行, 表示 torrent file 應放在 /share/torrent 目錄下
即會自動下載!
以下是我的rc檔案內容

min_peers = 40
max_peers = 200
max_uploads = 10
download_rate = 2000
upload_rate = 50
directory = /share
session = /tmp/rtorrent

#schedule = watch_directory,10,10,load_start=/share/torrent/*.torrent
#schedule = tied_directory,10,10,start_tied=
#schedule = untied_directory,10,10,close_untied=

schedule = ratio,60,60,"stop_on_ratio=500,200M,1500"

port_range = 6883-6883

use_udp_trackers = yes

send_buffer_size = 1M
receive_buffer_size = 2M

encoding_list = UTF-8
dht = auto
dht_port = 6883
encryption = allow_incoming,enable_retry,prefer_plaintext

請問哪邊有錯嗎? 丟種子進去他都沒反應說 screen -r是正常的

呼,總算翻完了各位先進們的文章了。小弟也想來改用rTorrent來下載
不過原來被mldonkey所載入的種子檔案,有沒有先進們知道如何使用sancho抓出來呢?
不然裡頭排了10多個種子檔,如果全砍掉我就頭痛要去那兒載回來了,煩請指教。

lu5052002 wrote:
port_range = 6883-6883
dht_port = 6883

應該設定成不同的port,再重新啟動 rtorrent 試試看。
你應該把註解點掉 "#"

#schedule = watch_directory,10,10,load_start=/share/torrent/*.torrent

port-range = 6883-6883
是使用 TCP protocol

DHT-port = 6883
是使 UDP protocol

所以無所謂重覆
ck.tseng wrote:
求助: 小弟...(恕刪)


我也有遇到這個問題耶,怎麼辦?
文章分享
評分
評分
複製連結
請輸入您要前往的頁數(1 ~ 160)

今日熱門文章 網友點擊推薦!