找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 16844|回复: 24

Transmission 1.5版 DD-WRT下安装教程

[复制链接]
给喜欢自己动手的兄弟们上个我成功安装transmission的方法好了。
如何安装optwear就不多说了,很多以前的老帖子上都有,自己找找。

首先升级ipkg
  cd /jffs
  /opt/bin/ipkg update

安装transmission
  /opt/bin/ipkg install transmission

之后需要在jffs目录下建立一个目录,来放置transmission的基础配置文件
  mkdir -p /opt/data/torrents

然后运行一下,使transmission在新建的目录内建立一些配置文件
/opt/bin/transmission-daemon -g /jffs/opt/data/torrents/.config/transmission-daemon

关闭transmission-daemon程序
killall transmission-daemon

之后你可以找到已经建立好的文件
/opt/data/torrents/.config/
/opt/data/torrents/.config/transmission-daemon
/opt/data/torrents/.config/transmission-daemon/settings.json  *
/opt/data/torrents/.config/transmission-daemon/stats.json       *
/opt/data/torrents/.config/transmission-daemon/blocklists
/opt/data/torrents/.config/transmission-daemon/resume         
/opt/data/torrents/.config/transmission-daemon/torrents

这里的settings.json就是transmission的配置文件了,我们还需要编辑一下它。
vi /jffs/opt/data/torrents/.config/transmission-daemon/settings.json

我这样的菜鸟还是喜欢使用WINSCP,简单方便。
大家参考一下的配置好了
{
    "blocklist-enabled": 0,
    "download-dir": "\/mmc\/torrent\/work",   这里是下载目录根据自己情况改改吧
    "download-limit": 500,
    "download-limit-enabled": 0,
    "encryption": 1,
    "lazy-bitfield-enabled": 1,
    "max-peers-global": 512,
    "message-level": 2,
    "open-file-limit": 64,
    "peer-limit-global": 512,
    "peer-limit-per-torrent": 200,
    "peer-port": 6002,     这里的是端口配置,根据自己情况改改
    "peer-port-random-enabled": 0,
    "peer-port-random-high": 65535,
    "peer-port-random-low": 1024,
    "peer-socket-tos": 8,
    "pex-enabled": 1,
    "port-forwarding-enabled": 1,
    "preallocation": 1,
    "proxy": "",
    "proxy-auth-enabled": 0,
    "proxy-auth-password": "",
    "proxy-auth-username": "",
    "proxy-enabled": 0,
    "proxy-port": 80,
    "proxy-type": 0,
    "rpc-authentication-required": 0,
    "rpc-enabled": 1,
    "rpc-password": "",
    "rpc-port": 9091,
    "rpc-username": "",
    "rpc-whitelist": "192.168.1.*",   这里为自己路由的地址段
    "rpc-whitelist-enabled": 1,
    "upload-limit": 10,
    "upload-limit-enabled": 0,
    "upload-slots-per-torrent": 15
}


然后不要忘记打开自己的防火墙端口
iptables -I INPUT 1 -p tcp --dport 6002 -j logaccept

再次启动transmission
/opt/bin/transmission-daemon -g /jffs/opt/data/torrents/.config/transmission-daemon

我们就可以用这个地址  http://192.168.1.1:9091 来管理transmission了 (需要安装火狐浏览器)

上个其他网站的截图,不是我自己的呵呵!


[ 本帖最后由 zmyheart 于 2009-2-27 09:49 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
下载速度真是令人惊诧啊
回复

使用道具 举报

既然transmission比rtorrent好很多,为什么ghost版本默认不是transmission??
回复

使用道具 举报

 楼主| | 显示全部楼层
原帖由 lyerx 于 2009-2-27 13:31 发表
既然transmission比rtorrent好很多,为什么ghost版本默认不是transmission??


已经说过了是各有所长,GHOST版里有启动transmission的脚本啊,很简单的就可以启动了。
回复

使用道具 举报

今天下载几个4g多的iso,结果rtorrent的hash过不去了。老死。不过感觉不关rtorrent的事,因为在系统下用rm -fr 也不能删掉东西,提示无法识别这么大的文件。大概是ex2的文件系统不支持4G的单个文件?

内网脱机的话应该还是rt好点吧,tranmission不支持dht的吧?

Z大请给明确一下
回复

使用道具 举报

 楼主| | 显示全部楼层
原帖由 010000 于 2009-2-27 14:07 发表
今天下载几个4g多的iso,结果rtorrent的hash过不去了。老死。不过感觉不关rtorrent的事,因为在系统下用rm -fr 也不能删掉东西,提示无法识别这么大的文件。大概是ex2的文件系统不支持4G的单个文件?

内网脱 ...


如果是使用DD-WRT挂载USB设备是绝对没有问题的,MSS上不知道了。
我用rtorrent下过6G多的红警三 以及好多4G以上的游戏光盘镜像都很正常的。
好像是MSS上使用rtorrent有无法下载4G以上文件问题,ext2格式是绝对支持4G以上的文件的。
并且我的新包使用的格式是ext3格式。

transmission虽然不支持DHT 但是对于非热门类种子的支持还是很好的。
而且transmission在MSS上也可以支持4G以上的文件,没有烦人HASH。
可以比较一下下载非热门种子,rtorrent明显没有transmission速度快。
有的甚至有的种子rtorrent根本连接不上,但是transmission仍然可以下载。
回复

使用道具 举报

root@TP-link:/jffs# ipkg update
Downloading http://downloads.openwrt.org/whiterussian/packages/Packages ...
Connecting to downloads.openwrt.org (195.56.146.238:80)
Done.
Updated list of available packages in /jffs/usr/lib/ipkg/lists/whiterussian
Downloading http://downloads.openwrt.org/whi ... s/non-free/Packages ...
Connecting to downloads.openwrt.org (195.56.146.238:80)
Done.
Updated list of available packages in /jffs/usr/lib/ipkg/lists/non-free
Downloading http://downloads.openwrt.org/backports/rc5/Packages ...
Connecting to downloads.openwrt.org (195.56.146.238:80)
Done.
Updated list of available packages in /jffs/usr/lib/ipkg/lists/backports
root@TP-link:/jffs# ipkg install transmission
ipkg_get_install: ERROR: Cannot find package transmission in /jffs/usr/lib/ipkg/lists
ipkg_get_install:        Check the spelling and maybe run `ipkg update'.
root@TP-link:/jffs#

Z大看看这个问题怎么解决?
回复

使用道具 举报

 楼主| | 显示全部楼层
注意是
/opt/bin/ipkg update

/opt/bin/ipkg install transmission
回复

使用道具 举报

原帖由 zmyheart 于 2009-2-27 16:45 发表
注意是
/opt/bin/ipkg update

/opt/bin/ipkg install transmission


多谢Z大热心回复,    努力学习中
回复

使用道具 举报

http://www.nsfocus.net/vulndb/12991
刚看到
mldonkey 2.97 以下都有漏洞,不过设置个密码就应该没有关系了

Z大可否编译一个只驴子的精简版本? 我的mldonkey速度怎么都上不去
回复

使用道具 举报

 楼主| | 显示全部楼层
原帖由 system98 于 2009-2-27 19:03 发表
http://www.nsfocus.net/vulndb/12991
刚看到
mldonkey 2.97 以下都有漏洞,不过设置个密码就应该没有关系了

Z大可否编译一个只驴子的精简版本? 我的mldonkey速度怎么都上不去



抱歉我的水平还没有到达能编译出 精简版的程度
回复

使用道具 举报

transmission有的tracker 始终连接不上,不知道怎么会事,连接的上的速度还是比较快
回复

使用道具 举报

http://code.google.com/p/transmisson-remote-gui/

一个管理transmisson的工具



回复

使用道具 举报

settings.json配置文件中文说明 .
0为关闭,1为启用

    "blocklist-enabled": 0,                   //阻挡列表:关闭
    "download-dir": "\/pub\/bt",          //下载目录:/pub/bt
    "download-limit": 100,                  //下载限速:100
    "download-limit-enabled": 0,         //下载限速:关闭
    "encryption": 1,                           //加密:启用
    "max-peers-global": 200,             //全局最大:启用
    "peer-port": 6620,                      //incoming端口:6620
    "pex-enabled": 1,                        //种子交换:启用
    "port-forwarding-enabled": 0,       //端口转发:关闭
    "rpc-authentication-required": 0,   //web登陆密码验证:关闭
    "rpc-password": "",                      //web登陆密码
    "rpc-port": 9091,                         //web登陆端口:9091
    "rpc-username": "",                      //web登陆用户名
    "rpc-whitelist": "127.0.0.1,192.168.0.*",  //web登陆验证IP
    "upload-limit": 100,                                //上传限速:100
    "upload-limit-enabled": 0                        //上传限速:关闭
回复

使用道具 举报

头像被屏蔽
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-5-10 02:21

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表