數位天堂

Nokia:科技始終來自於人性; 拜耳:如果文明不能使我們更相愛,那科技便失去意義!
歡迎您的加入,讓我們一起討論科技與環保的整合應用...

您尚未登入。

#1 2011-02-15 01:21:30

hippo
天使
註冊日期: 2008-10-07
文章數: 1562
目前積分 :   20 

[Tomato Utilities] Transmission v2.21

以下使用拼湊法測試Tomato Utilities之Transmission v2.21

機型: 華碩 WL-500W
韌體: 泰迪熊 v1.28.9054 MIPSR1-beta K26 USB vpn3.6

使用Dynamic Library的PRECOMPILED.tar.gz

# tar -xzf PRECOMPILED.tar.gz -C /cifs1/opt/usr/bin # mount -o bind /cifs1/opt /opt


參考這篇, 建立busybox連結.
參考Running Transmission without a GUI

# adduser -D transmission # su transmission


$ /opt/usr/bin/transmission/transmission-daemon -f [21:34:45.839] Transmission 2.21 (11855) started (session.c:708) [21:34:45.840] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:807) [21:34:45.840] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:985) [21:34:45.841] RPC Server Whitelist enabled (rpc-server.c:989) [21:34:45.842] DHT Generating new id (tr-dht.c:300) [21:34:45.843] Using settings from "/home/transmission/.config/transmission-daemon" (daemon.c:498) [21:34:45.843] Saved "/home/transmission/.config/transmission-daemon/settings.json" (bencode.c:1716) [21:34:45.844] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:70) [21:34:45.845] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:70) [21:34:53.999] Port Forwarding Starting (port-forwarding.c:95) [21:34:53.999] Port Forwarding Starting (port-forwarding.c:95) [21:35:20.519] DHT Attempting bootstrap from dht.transmissionbt.com (tr-dht.c:239)


開另一視窗觀察

# ll /home/transmission/.config/transmission-daemon/ drwxr-sr-x 2 transmis transmis 40 Feb 14 21:34 blocklists drwxr-sr-x 2 transmis transmis 40 Feb 14 21:34 resume -rw------- 1 transmis transmis 1966 Feb 14 21:34 settings.json drwxr-sr-x 2 transmis transmis 40 Feb 14 21:34 torrents


設定檔

# cat /home/transmission/.config/transmission-daemon/settings.json { "alt-speed-down": 50, "alt-speed-enabled": false, "alt-speed-time-begin": 540, "alt-speed-time-day": 127, "alt-speed-time-enabled": false, "alt-speed-time-end": 1020, "alt-speed-up": 50, "bind-address-ipv4": "0.0.0.0", "bind-address-ipv6": "::", "blocklist-enabled": false, "blocklist-url": "http://www.example.com/blocklist", "cache-size-mb": 2, "dht-enabled": true, "download-dir": "/home/transmission/Downloads", "encryption": 0, "idle-seeding-limit": 30, "idle-seeding-limit-enabled": false, "incomplete-dir": "/home/transmission/Downloads", "incomplete-dir-enabled": false, "lazy-bitfield-enabled": true, "lpd-enabled": false, "message-level": 2, "open-file-limit": 32, "peer-congestion-algorithm": "", "peer-limit-global": 240, "peer-limit-per-torrent": 60, "peer-port": 51413, "peer-port-random-high": 65535, "peer-port-random-low": 49152, "peer-port-random-on-start": false, "peer-socket-tos": "default", "pex-enabled": true, "port-forwarding-enabled": true, "preallocation": 1, "prefetch-enabled": 0, "ratio-limit": 2, "ratio-limit-enabled": false, "rename-partial-files": true, "rpc-authentication-required": false, "rpc-bind-address": "0.0.0.0", "rpc-enabled": true, "rpc-password": "{8f6d2692afa2a62050eb8af971e012dee72f8eedsF4QMtK4", "rpc-port": 9091, "rpc-url": "/transmission/", "rpc-username": "", "rpc-whitelist": "127.0.0.1", "rpc-whitelist-enabled": true, "script-torrent-done-enabled": false, "script-torrent-done-filename": "", "speed-limit-down": 100, "speed-limit-down-enabled": false, "speed-limit-up": 100, "speed-limit-up-enabled": false, "start-added-torrents": true, "trash-original-torrent-files": false, "umask": 18, "upload-slots-per-torrent": 14 }


中斷執行, 再重新執行, 允許PC(192.168.1.140)連入WebUI

$ /opt/usr/bin/transmission/transmission-daemon -f -a 192.168.1.140 (省略) [21:56:19.519] Searching for web interface file "/home/transmission/.local/share/transmission/web/index.html" (platform.c:540) [21:56:19.519] Searching for web interface file "/opt/usr/share/transmission/web/index.html" (platform.c:540) [21:56:19.520] Searching for web interface file "/usr/local/share/transmission/web/index.html" (platform.c:540) [21:56:19.521] Searching for web interface file "/usr/share/transmission/web/index.html" (platform.c:540)


網頁顯示錯誤, 但由上述錯誤訊息得知網頁搜尋路徑.
補上網頁. 可用Optware transmission套件的/opt/share/transmission/web/內容, 或由原始碼解壓縮.

# curl -Ov http://download.transmissionbt.com/files/transmission-2.21.tar.bz2 # tar -xjf transmission-2.21.tar.bz2 # ln -s transmission-2.21 /opt/usr/share/transmission


https://digiland.tw/uploads/614_tomatoutilities_transmission.gif
後續再自行調整相關設定.

參考:
1. [Tomato USB] Tomato Utilities
2. allengran兄寫的[BT軟體]Transmission安裝方法, 參考, .




離線

 

相關討論主題

主題 回覆 點閱 最後發表
置頂
置頂: Tomato 後續延伸版本 FreshTomato 作者 wen1977  [ 1 2 3 4 ]
33 85572 2024-10-23 08:28:27 作者 huiduo
置頂
置頂: [Tomato Shibby] 正體中文化韌體下載 作者 Aven  [ 1 2 3 … 163 ]
1625 3047395 2024-04-28 12:35:05 作者 s87311
Tomato Shibby v140 韌體更新 作者 Service  [ 1 2 3 … 16 ]
155 349547 2022-12-08 17:08:17 作者 dir868l
置頂
置頂: [精華] Tomato 網路資源及文章索引 作者 Aven  [ 1 2 3 … 6 ]
54 208013 2022-09-15 12:25:01 作者 chiachu
222 505094 2022-09-14 14:54:52 作者 chiachu

友情連結

論壇頁尾

Powered by PunBB
© Copyright 2018 Rickard Andersson
RSS Feed