请选择 进入手机版 | 继续访问电脑版

GODIY 自己动手亲力亲为的DIY社区一起来吧--GODIY论坛

 找回密码
 注册

扫一扫,访问微社区

搜索
查看: 15844|回复: 21

[交流使用心得] 升级ransmissio1.92最简单的法子

[复制链接]
发表于 2010-8-1 15:14:37 | 显示全部楼层 |阅读模式
本帖最后由 xielingwei 于 2010-8-2 21:35 编辑

那么先在sw页面关闭它的启动,接着在trans界面停止所有下载。
1.  ipkg remove -recursive transmission
2. ipkg install /shares/internal/PUBLIC/transmission_1.92-1_arm.ipk (将transmission_1.92-1_arm.ipk文件移到盒子是的PUBLIC目录里

3.   cp /opt/bin/transmission-daemon /usr/local/bin/


4.    transmission-daemon



transmission_1.92-1_arm.ipk下载地址http://ipkg2.nslu2-linux.org/feeds/optware/gumstix1151/cross/unstable/transmission_1.92-1_arm.ipk
发表于 2010-8-1 19:29:56 | 显示全部楼层
还要执行这个 不然是没用的

/opt/bin/transmission-daemon -a xxx.xxx.xxx.xxx (xxx为你的PC控制端内网的IP地址)

然后在PC的firefox上 http://mybookworld:9091
发表于 2010-8-1 21:27:57 | 显示全部楼层
兄弟 能不能写一个详细的攻略啊 我用的是一茶的系统 但是现在PT网站要1.9.2版本才支持 我一点都没安装过 请指教啊
发表于 2010-8-2 12:45:27 | 显示全部楼层
列出已经存在的安装包[root@MyBookWorld mybook]# ipkg list_installed
bzip2 - 1.0.5-1 -
c-ares - 1.6.0-1 -
cron - 4.1-7 - Standard vixie cron, with cron.d addition
cups - 1.3.9-1 -
cups-doc - 1.3.9-1 -
cups-driver-gutenprint - 5.1.7-1 -
cups-pdf - 2.4.6-2 -
cyrus-sasl-libs - 2.1.22-2 -
expat - 2.0.1-1 - XML Parser library
ffmpeg - 0.svn20080409-2 - FFmpeg is an audio/video conversion tool.
fontconfig - 2.5.0-0 - Font configuration library
freetype - 2.3.6-1 - Free truetype library
gconv-modules - 2.2.5-7 - Provides gconv modules missing from the firmware.  These are used by glibc iconv() implementation.
gdbm - 1.8.3-2 - GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard UNIX dbm routines.
gettext - 0.14.5-2 - Set of tools for producing multi-lingual messages
ghostscript - 8.63-1 -
groff - 1.19.2-2 - front-end for the groff document formatting system
less - 418-1 -
libcurl - 7.19.3-1 -
libcurl-dev - 7.19.3-1 -
libdb - 4.2.52-3 - Berkeley DB Libraries
libdlna - 0.2.3-2 - Reference DLNA (Digital Living Network Alliance) open-source implementation for Linux.
libevent - 1.4.13-1 - libevent to implement an event loop
libiconv - 1.11-2 -
libjpeg - 6b-2 -
libpng - 1.2.34-1 -
libstdc++ - 6.0.3-6 - Standard C++ library, needed for dynamically linked C++ programs
libtiff - 3.8.2-1 -
libupnp - 1.6.0-1 -
libxml2 - 2.7.3-1 -
libxslt - 1.1.24-1 -
man - 1.6f-1 - unix manual page reader
md5deep - 3.1-1 -
ncurses - 5.7-1 - NCurses libraries
ncursesw - 5.7-1 - NCurses libraries with wide char support.
netcat - 1.10pl32-3 -
openldap-libs - 2.3.43-1 - Open Lightweight Directory Access Protocol
openssl - 0.9.7m-5 - Openssl provides the ssl implementation in libraries libcrypto and libssl, and is needed by many other applications and librari
openssl-dev - 0.9.7m-5 - openssl native development files
pcre - 7.8-1 -
php - 5.2.8-1 -
php-fcgi - 5.2.8-1 -
pkgconfig - 0.15.0-1 -
tcl - 8.4.19-1 -
ushare - 1.1a-2 - A free UPnP A/V Media Server for Linux.
vsftpd - 2.0.7-1 -
wxbase - 2.8.7-1 -
zlib - 1.2.3-3 -
Successfully terminated.
升级包更新[root@MyBookWorld mybook]# sudo ipkg update
Downloading http://ipkg.nslu2-linux.org/feed ... nstable/Packages.gz
Inflating http://ipkg.nslu2-linux.org/feed ... nstable/Packages.gz
Updated list of available packages in /opt/lib/ipkg/lists/optware
Successfully terminated.
[root@MyBookWorld mybook]# ipkg list svn
svn - 1.6.9-1 - a compelling replacement for CVS
Successfully terminated.
安装transmission [root@MyBookWorld mybook]#  ipkg install /shares/internal/PUBLIC/transmission_1.92-1_arm.ipk
Installing transmission (1.92-1) to root...
Configuring transmission
Successfully terminated.
[root@MyBookWorld mybook]# cp /opt/bin/transmission-daemon /usr/local/bin/
[root@MyBookWorld mybook]# ldconfig
ldconfig: /lib/libavcodec.so.51 is not a symlink
ldconfig: /lib/libavformat.so.52 is not a symlink
ldconfig: /lib/libthreadutil.so.2 is not a symlink
ldconfig: /lib/libdlna.so.0 is not a symlink
ldconfig: /lib/libavutil.so.49 is not a symlink
ldconfig: /lib/libixml.so.2 is not a symlink
ldconfig: /usr/lib/libmysqlclient.so.12 is not a symlink
[root@MyBookWorld mybook]# transmission-daemon -f
[09:13:12.841] Transmission 1.92 (10363) started (session.c:612)
[09:13:13.026] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:772)
[09:13:13.027] RPC Server Serving RPC and Web requests on port 9091 (rpc-server.c:945)
[09:13:13.027] RPC Server Whitelist enabled (rpc-server.c:949)
[09:13:13.028] DHT Generating new id (tr-dht.c:369)
[09:13:13.029] Using settings from "/root/.config/transmission-daemon" (daemon.c:423)
[09:13:13.030] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:67)
[09:13:13.032] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:67)
[09:13:13.033] Saved "/root/.config/transmission-daemon/settings.json" (bencode.c:1645)
[09:13:19.092] Port Forwarding Starting (port-forwarding.c:87)
[09:13:20.192] Port Forwarding Starting (port-forwarding.c:87)
[09:14:03.642] DHT Attempting bootstrap from dht.transmissionbt.com (tr-dht.c:234)
发表于 2010-8-2 12:50:28 | 显示全部楼层
回复 4# shmilyls


接着按ctrl+c组合键终止transmission进程。
编辑刚刚形成的配置文件:
[root@MyBookWorld mybook]#vi /root/.config/transmission-daemon/settings.json
发表于 2010-8-2 13:20:54 | 显示全部楼层
本帖最后由 shmilyls 于 2010-8-2 14:04 编辑

回复 5# shmilyls


    {
    "  "message-level": 2,                                                  
    "open-file-limit": 32,                           
    "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": 0,                                                
    "pex-enabled": true,                                                
    "port-forwarding-enabled": true,                                    
    "preallocation": 1,                                                  
    "proxy": "",                                                         
    "proxy-auth-enabled": false,                                         
    "proxy-auth-password": "",      
    "proxy-auth-username": "",         
    "proxy-enabled": false,            
    "proxy-port": 80,                  
    "proxy-type": 0,                  
    "ratio-limit": 2.0000,            
    "ratio-limit-enabled": false,      
    "rename-partial-files": true,      
    "rpc-authentication-required": false,
    "rpc-bind-address": "0.0.0.0",      
    "rpc-enabled": true,            
    "rpc-password": "{5db5b1012cbecf395638d80d415a68af0c968570UdvyYOf5",
    "rpc-port": 9091,                                                   
    "rpc-username": "",                  
    "rpc-whitelist": "127.0.0.1,*.*.*.*,192.168.*.*",                  
    "rpc-whitelist-enabled": true,                  
    "speed-limit-down": 500,                                            
    "speed-limit-down-enabled": true,                                   
    "speed-limit-up": 50,               
    "speed-limit-up-enabled": true,                                    
    "umask": 18,                                                        
    "upload-slots-per-torrent": 14                                      
}
发表于 2010-8-2 13:49:21 | 显示全部楼层
回复 4# shmilyls


    [root@MyBookWorld mybook]# transmission-daemon -f
[10:25:37.671] Transmission 1.92 (10363) started (session.c:612)
[10:25:37.673] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:772)
[10:25:37.673] RPC Server Adding address to whitelist: *.*.*.* (rpc-server.c:772)
[10:25:37.674] RPC Server Adding address to whitelist: 192.168.*.* (rpc-server.c:772)
[10:25:37.675] RPC Server Serving RPC and Web requests on port 9091 (rpc-server.c:945)
[10:25:37.676] RPC Server Whitelist enabled (rpc-server.c:949)
[10:25:37.676] Using settings from "/root/.config/transmission-daemon" (daemon.c:423)
[10:25:37.677] Saved "/root/.config/transmission-daemon/settings.json" (bencode.c:1645)
[10:25:37.678] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:67)
[10:25:37.678] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:67)
 楼主| 发表于 2010-8-2 21:32:07 | 显示全部楼层
回复 3# reaket




login as: mybook
mybook@192.168.1.92's password:
[mybook@MyBookWorld ~]$ su
Password:
[root@MyBookWorld mybook]# ipkg remove -recursive transmission
No packages removed.
Nothing to be done
Successfully terminated.
[root@MyBookWorld mybook]# ipkg install /shares/internal/PUBLIC/transmission_1.92-1_arm.ipk
Installing transmission (1.92-1) to /opt/...
Configuring transmission
Successfully terminated.
[root@MyBookWorld mybook]# cp /opt/bin/transmission-daemon /usr/local/bin/
[root@MyBookWorld mybook]#  transmission-daemon
[root@MyBookWorld mybook]# login as: mybook
Installing transmission (1.92-1) to /opt/...
Configuring transmission
Successfully terminated.
[root@MyBookWorld mybook]# cp /opt/bin/transmission-daemon /usr/local/bin/
[root@MyBookWorld mybook]#  transmission-daemon
发表于 2010-8-3 07:22:43 | 显示全部楼层
回复  reaket




login as: mybook
mybook@192.168.1.92's password:
[mybook@MyBookWorld ~]$ su
Passwo ...
xielingwei 发表于 2010-8-2 21:32


曾经升级失败,是不是按照上面这个操作就可以?还有别的吗?
发表于 2010-8-3 11:29:32 | 显示全部楼层
回复 9# lyj


    按照一楼的把升级包下载后上传到升级路径内,再执行安装就可以了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|小黑屋|手机版|Archiver|GODIY论坛 ( 粤ICP备12089271号

GMT+8, 2018-5-21 16:51 , Processed in 0.084051 second(s), 8 queries , File On.

Powered by Godiy.net

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