找回密码
 注册

QQ登录

只需一步,快速开始

查看: 938|回复: 9

MSS资料备查,要买的联系我,可以单机BT+FTP+电驴+花生壳+网上邻居+网络打印机

[复制链接]
发表于 2008-4-28 05:11:14 | 显示全部楼层 |阅读模式
功能强大的离谱,正在研究,该机可以实现BT下载(任意大小,支持中英文),FTP下载(暂时不知道如何设置权限),电驴下载(只能一个一个输入,且单文件无法超过4G,),花生壳,无论你在哪,都能找到自己家电脑;网上邻居,网络打印机(支持USB打印机,也就是每台机都能通过网络打印). i$ H- [5 t, w1 [ 非常小,非常省电,还有一个很好的优点:你开了BT+电驴,其他电脑上网和QQ都非常流畅,不像现在的BITCOMET、迅雷和EMULE,一开了就别想上网。+ y \5 U0 `- a" G# Z. {& s 大小长25,宽15,高5CM左右,和一个3.5寸硬盘盒一样大小,接路由器和电源就能用。安装完毕后所有操作基于TELNET和网页。5 l, e3 G5 i5 N% H$ p3 | 还能构建HTTP和SQL论坛,这项我还没头绪。$ B' t7 C9 k& c5 _ o2 I 上个图。 , r4 O4 J2 p! f- [8 v P2 A! Y' E* Z1 V( [8 A5 K( `

本帖子中包含更多资源

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

×
回复

使用道具 举报

发表于 2008-4-28 05:12:24 | 显示全部楼层
皮蛋不用睡觉
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:13:31 | 显示全部楼层
留点备用查询
1 P* n7 [1 ~1 ]# Q0 s+ P$ W. B( r
* E7 p3 N% y' C4 V一、硬盘重新写0
7 Q2 D( E) ~3 G1 Q+ U1、如果MSS正常,则执行# f+ [+ [& [3 z# _( v, f, K
dd if=/dev/zero of=/dev/ide/host2/bus0/target0/lun0/disc; - }( U- r9 i! U
2、如果硬盘刚启用,则插盘清除分区后,用winhex0
% C2 c" i4 J. a# g9 P% @8 N4 }) [; K& f二、改本地连接% m* G9 q' G+ v0 }
ip 192.168.1.2 网关192.168.1.1
, g9 l* V. _$ }& u2 [+ Z三、执行nasload.exe
, S' H( A* m$ g, g3 w4 H
* `% ]3 G+ p( m7 [3 j9 }( T0 S- z用户名admin,密码空
; S* F+ l* s% Q: X# o( B# t% d四、设置机器名称,用户组名称,IP
0 |+ e4 c2 b8 J( e2 e& c4 j, L五、刷新2.6.5* O! k- ?5 T, y7 X
六、建立一个down文件夹7 Z/ |" ^% O7 S1 @' V* h" n9 f
七、telnet 192.168.0.88! P6 A& I# |+ f
ipkg update  M& f: p1 |+ O, Z! [2 g# B
ipkg list4 g/ @/ B$ ~: r, Y6 w
ipkg install dropbear6 |# ^1 _& t5 b& R" K) X
ipkg install busybox
  r5 R5 y" r+ D. u) f. h修改root 密码) X6 X# a& A7 J" ]2 _4 ?+ u
/opt/bin/passwd root
3 v/ u7 h/ V( M2 D2 e* J9 \6 |6 u" T. }% K9 f9 @
八、使用  进入
! C; Q" {0 x6 S1 A9 h3 Zcp /opt/bin/busybox /opt/
7 j$ {. x7 |# [% e(将busybox/opt/bin文件中复制到/opt/: ~3 n" G+ b% |4 J" {8 l

2 Q/ t  v) {$ l安装oleg
& k5 j* q* Z6 E! i& k4 d5 T(1).将下载的opt.tar.gz放在mss的共享目录中(通过网上邻居进入,放在Public文件中)
/ C5 B4 `, \8 c4 l. j2 W(2).在根目录下执行/opt/bin/busybox tar zxvf /shares/mss-hdd/Public/opt.tar.gz4 k* C" W" U0 ^
(3).执行下面两条命令
  p- Q* q9 B5 \( o! P# x  p2 Wexport PATH=/opt/bin:${PATH}
* K$ L4 I( F% y: ?" Kexport LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}
: ?9 I: \" I! C2 f5 c/ b5 a; U  k4)将busybox恢复到/opt/bin目录下$ r, c9 {) n2 S: t! u
cp /opt/busybox /opt/bin/
/ G2 q! n' p6 D; M& Z
; S1 Z5 |, w$ j6 A4 p* j九、5. 安装和配置rtorrent(bt客户端)7 G: C+ s: g& _6 G( S- ]) j
1)安装
% F: h& t% m* c- c# a' Q8 hipkg update
9 S, l4 Q; |8 Aipkg install rtorrent8 u& [3 A  C/ B4 r
' {# b. L/ \+ }' h- ]

' e( I; K+ r& {4 j, x' s; C2)设置
6 o! x1 c& X7 ^: s3
" z9 _" D+ b: O. H. b& Nmkdir /opt/root0 |: j  ~5 X4 X" I; ?* m
cp /opt/etc/rtorrent.conf /opt/root/.rtorrent.rc
$ U- E# C: E3 q! B/ _! ~7 t6 kexport HOME=/opt/root% y8 ?6 f; L# v; V; Z# L
rtorrent2 ?2 {7 Y0 l8 `3 I
看是否成功
0 u/ F' _- Y7 _5 V; u* z5 B4 S3 ^3 A! N- }
ipkg install screen
/ Z/ m  x8 l' n* h' \6 R0 r/ _% \* {, {! g$ \) \

4 C( P9 g( X9 Q9 \5 Dscreen
: ~, w$ `" q7 e/ K) r6 a: ~6 r" ~然后回车
$ M" x9 h7 d. N6 Y5 w) Xrtorrent
4 e+ }0 O/ }0 y! yctrl+a然后+d,隐藏界面( V, u- w' j7 N3 P
十、安装配置vsftpd(FTP服务器)& Y# h6 [+ {% U% D) R' X) v- L
ipkg install vsftpd
- k0 x- X" C# p9 y- |+ j+ t7 T0 [' C% N( R
/opt/bin/passwd 用户名
, n' c' q, L, h1 ?修改用户名登录目录6 }3 B$ x; M& k: a
vi /etc/passwd4 A0 \; j' Z. q

9 U% ^, X: D, {# U: s) o添加可以登录FTP服务器的用户名
( B- l1 y$ D4 c  m3 `: e* qvi /opt/etc/vsftpd.user_list
# h/ Y: G# [& n0 u5 K添加要登录FTP的用户名称
! ]; i& r3 m& [0 V5 F配置FTP服务
( r7 `& B" ]; `5 F* O8 Ivi /opt/etc/vsftpd.conf
* o+ T2 K( D8 l, j# R/ Z' j在最后加上一行:9 N- W9 b6 j) j. }2 Q. P
! C1 M1 _3 O: A: J6 Q6 B+ ^

/ n. @6 t" j5 p7 o/opt/etc中建立文件
. r, _0 y- C+ ?% Pmkdir vsftpd_user_config
" `% X+ p6 l; g5 D6 a进入该目录; }$ E6 U: s4 R) B; c* |$ i, t
cd vsftpd_user_config
( t. T& h6 S* j. u/ J# m建立两个和用户名相同的文件
+ i; z3 M9 S7 q% x6 F1 \8 y! cvi 用户名( J* z- u% k8 Q
在只读权限用户里面添加
6 O9 [2 g$ j5 O8 e" M
9 G* p1 w6 y; M重新启动硬盘盒
0 B# n/ J1 e8 J; \; q
  d* w. A5 `) a+ P- h  _& L十一、设置动态dns
1 ?+ L( o% O; S2 ]9 Ripkg update+ `5 y+ ]0 |. @5 m; L0 o
ipkg install inadyn
( k8 l4 d# x/ H# n! xinadyn --username powerdestroy --password 1234qwer --alias powerdestroy.3322.org --ip_server_name www.bliao.com:2000 /ip.phtml --dyndns_server_name www.3322.org --dyndns_server_url /dyndns/update?hostname= --dyndns_system custom@http_svr_basic_auth --update_period_sec 1800 --background 8 {) s: P2 ~1 K9 Z

* C1 B1 Q& z( K2 s; E十二、电驴
9 x8 @3 t4 a6 p% S! \mlnet.rar内的optlib.tar.gz放到MSSPublic目录里
' M& q3 s% j; C; H& t9 `/opt/bin/tar zxvf /shares/mss-hdd/Public/optlib.tar.gz) B" X8 u% E3 x' _4 S6 j
cp /shares/mss-hdd/Public/mlnet.lite /opt/bin5 N: _& Q3 Z* o, G* \; {- s3 E& l: l& F
chmod +x /opt/bin/mlnet.lite
6 S- s7 \. {, k( B# O6 \vi /opt/etc/init.d/mlnet% u* `- n5 C1 P9 F; ?* V; s
#!/bin/sh5 o% z/ D" [' b+ m3 |- R
if [ -n "`pidof mlnet.lite`" ]; then
* n8 U* E. ?' P/ I" R% R
- |  G5 {% F! ]7 x; Z. Mecho "Kill old program..."
/ D, ~; L% P# k& j
1 m6 R& V+ x$ C- j  Z+ e% y" z! T
killall mlnet.lite&
: Y" y5 n$ ~# R
" b4 L9 w' E% Q' H
sleep 10
, [& F% r( l& }+ [. F0 h  m( s+ R
fi' r+ q! O2 W, @" K% ^
export HOME=/opt/root' q) q, r8 ]! _/ m0 S7 \) s( J
export LC_ALL=zh_CN.UTF-8
  p8 E0 z# y6 V0 \3 O+ z# e) S5 Jrm /opt/root/.mldonkey/*.tmp 2>/dev/null
  G2 l6 w, P- r8 q, Crm /opt/root/.mldonkey/mlnet.log 2>/dev/null8 f+ C5 n0 t+ r5 k
rm /opt/root/.mldonkey/*.pid 2>/dev/null3 V$ A; m4 ^  n  H4 i9 O( j' I$ E
/opt/bin/mlnet.lite&5 w: |0 a$ ]+ ?+ Y: A
$ L7 H& v/ P: ]/ e
chmod +x /opt/etc/init.d/mlnet" ^( g- x2 _9 W3 }9 x) Y

+ B( X, D! W1 O6 d8 O执行/opt/etc/init.d/mlnet# x/ I0 R6 V" Q6 c' X/ o
命令killall mlnet.lite! w( t% k) S4 l: l0 \' ~
- I8 o+ g0 R; `6 q6 f9 y
解压缩以后得到servers.inidownloads.ini Winscp扔到/opt/root/.mldonkey下面覆盖源文件
5 v: F7 O$ ^& ^1 v1 D' b: d, K
8 T) _+ a- S  r" }* S! Zvi /opt/root/.mldonkey
( d0 ^) E# U( v7 H- ]修改356408
4 T7 j8 p- P* l! `; O) _/ ptemp_directory = temp% i: w: F) w$ P0 I' @: A
记得加""双引号如 temp_directory = "/shares/mss-hdd/Public/mlnet/temp"! H: ]& j3 P  ]6 g! m+ s3 _' x
修改第408 dirname = "incoming/files"
8 K0 [7 H0 h& m9 |: k( `' g dirname = "/shares/mss-hdd/Public/mlnet/files"2 W' m, ~  h, T; d9 o0 Y( s
运行/opt/etc/init.d/mlnet) E+ X4 P& s3 w: d' K# G8 j

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:15:16 | 显示全部楼层
我的MSS-BT的CONF.doc; Q$ F! t0 O% ?" P" Z5 V. u
, _' y. X& ~7 Q7 X9 y
/opt/etc/rtorrent.conf- H) P5 O+ V/ w* x+ A  C: ]  y
/opt/root/.rtorrent.rc( x7 N7 m9 `5 z8 J: H$ A

" N. X: T1 \/ ]/ N" h# This is an example resource file for rTorrent. Copy to
% }6 W( x" p5 t3 o6 S- S# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
0 F0 \( g1 p  ?. j: d  V0 z$ \# uncomment the options you wish to enable.
( j) y; p1 L; x
6 b# |+ K% A& B9 f! g# Minumum amount of peers to connect per torrent, if available.(最小种子)1 y& t: s$ b2 h5 r
min_peers = 40: v( w* v, ^" x0 R0 Z, n
9 |& i3 ^9 \( o4 g- K
# Minumum amount of peers to connect per torrent.(最大种子)
* b# p1 q1 S! J8 c$ z0 smax_peers = 2508 V$ u  Y) e. ~8 D! W: v" X
& I  @2 V% z1 y' d* r7 f8 X
# Same as above but for seeding completed torrents (-1 = same as downloading)
! s; g1 n: d) ]#min_peers_seed = 10
: N% N, t6 D0 N#max_peers_seed = 501 [3 R' Z, X- @' H8 @, w0 [- ?
' }8 i, y9 t$ D7 V% N3 b% g1 u% o
# Maximum number of simultanious uploads per torrent.(最大上传种子)( }% d5 a( @8 `* e' f& t
max_uploads = 15
0 d5 L5 H; `3 r
7 o& C  `# k+ u! {; |5 \# Global download rate in KiB. "0" for unlimited.(下载速率)7 c/ u2 s% \' U. L
download_rate = 200( ~( o& v& o$ l) @  n9 ~

# m: T# A& C& L# A( r* B# Global upload rate in KiB. "0" for unlimited.(上传速率)
. D$ k  T1 w) E8 n% Q3 Xupload_rate = 30
5 e: b" ^4 M" u, W7 M ) M  l! R- L, C7 y% J
# Default directory to save downloaded files. Note it doesn't support& Y2 P/ B" r% J8 _
# space yet.% D: i7 T- J+ e# w* w
directory = /shares/mss-hdd/down
, @* B& u; R9 {- d  _ & `! T! {. U) J: E* ?9 k
# Watch a directory for new torrents, and stop those that have been deleted.
/ r% E" x! o7 m/ ~. V ! k" c/ ~( D9 m
schedule = untied_directory,5,5,stop_untied=! l2 `% h6 ]; ^8 E! v, }$ e8 u

: d- G7 G- B- T: O9 w- T9 Q" r# Close torrents when diskspace is low.0 E. V" [% Q$ e( |9 y8 m) b- Z5 E
#schedule = low_diskspace,5,60,close_low_diskspace=100M1 d. f- h, M. U+ ~9 t) r

0 P7 F* L# w7 H, K( o& f9 I# L# Default session directory. Make sure you don't run multiple instance
/ x( w4 E0 w- ~0 C1 o+ v! f( v# of rtorrent using the same session directory. Perhaps using a
: G( d2 @$ g" ^- c8 g2 `1 f  N  f# relative path?
5 A! ?# j& Y1 \session = /shares/mss-hdd/down/session
/ H3 {' m5 r8 e; q" Jschedule = watch_directory,5,5,load_start=/shares/mss-hdd/down/torrent/*.torrent8 Q) c; ]$ I: [/ o% _7 ~, y% @3 L
: V  A6 j9 t  {' y( p4 Q" n
# The ip address reported to the tracker.
8 g- @: [. F9 x: \" Y

; T0 @- \7 a  }0 a7 r. ^7 b8 l& l0 O#ip = rakshasa
! l0 B$ |% Y. A+ |/ _; R! @3 t0 y

! C  V2 e: ?& g* R2 d+ C; U
% G6 B9 C- A3 K( d3 \, ~+ K9 v) C$ u
0 u1 h/ A- l/ I( r$ I% [& T
# The ip address the listening socket and outgoing connections is( W1 R) J( Q! \/ Q/ n! f% @

: {( F0 X' l& B  W# _* D, U# bound to.% U9 a6 f/ ]( \, l3 n' x
/ ]# K( L" }9 s& s+ b8 M
#bind = rakshasa
" n+ A& N5 z0 K& }( P5 b+ K; U5 c6 A* F/ Z; {, v/ A

" M9 l, S+ r0 Z9 H% c" P3 c                                                                                
' O" G1 z/ D9 h1 ?; x+ V; h7 a0 `# Port range to use for listening.
8 I: h5 O% X! c5 w+ @) @
& b. u; N7 n+ w5 M' @) _
port_range = 51777-517807 @# m+ U* r. ^. U

$ o2 X" w: O6 N, C* m+ A& l$ y/ ]) k: q5 {- I( U& l  J8 Z' t$ @% Y
, Q7 t$ z( j: `' U$ K( W

' A9 l9 n9 i& G  ]# `0 S# Start opening ports at a random position within the port range.
4 h  ~5 I7 O" Z
8 J' N8 K* s% C9 _3 D; x, N& D, {
#port_random = no
' `$ E% M4 N& h8 ]" g7 I

; o+ K7 \( i3 ^+ n8 V! `$ C6 l9 U1 o- W: o9 i, z

. Q4 y  |6 U4 `, [/ W% Z4 \
2 U- w+ m2 |0 f- _4 C
# Check hash for finished torrents. Might be usefull until the bug is0 w4 G; p/ u$ P$ Z' [- B5 J6 B% g
$ o& g% Z* ~4 W% e2 ~; g' H
# fixed that causes lack of diskspace not to be properly reported.* e7 p* C. y; R) F

: Q! |" [* l  x6 `7 l  A#check_hash = no; I/ ^8 }7 ~* r( a3 h

" m6 f: b6 w; o3 _  F3 Z/ k3 h

  y+ Y" V7 p+ X8 f/ O* Y                                                                                
  h+ |6 E  r, v& F' H" U# Set whetever the client should try to connect to UDP trackers.7 d$ m: B) s9 s0 r
6 [1 h8 i! F% ^) E1 V4 t! H
#use_udp_trackers = yes, g4 v; J, H/ p# Q! E
; B- _/ \1 O6 L" x8 O. H
- }# s/ Y! K) L5 F7 K- V
                                                                      9 y! e" q/ s4 |8 F
# Alternative calls to bind and ip that should handle dynamic ip's." ^0 h# |5 {, p3 C& n: M
7 n2 g# |+ ?& K+ U
#schedule = ip_tick,0,1800,ip=rakshasa) [: ^, G. L& p" i' y0 z
$ p+ h( d% M# b# F0 n/ W
#schedule = bind_tick,0,1800,bind=rakshasa
# s% v; N) q% i* e/ v4 K+ n% Q0 p

7 b) J" ]7 ~+ B* Y0 ^                                                                                0 V9 T: O, h3 ^7 b( ^6 q8 W
#
& U9 G. R* e  o3 \1 T5 V

9 C5 t8 W! r" g: c; ]6 x# Do not modify the following parameters unless you know what you're doing.0 r% F; g# l1 J9 R
  M  f) O, |' b/ a# Q2 Q4 e
## {* i/ ?+ R  ?( h7 x( n( c. w) M; q9 g
4 ~( e% R  |* }* `% |
                                                                            ; m: {" b" g" @0 S' `
# Hash read-ahead controls how many MB to request the kernel to read
( S0 |) o% N1 S$ {

% J# ^( v$ f9 r' W$ s1 y% Z# ahead. If the value is too low the disk may not be fully utilized,( U1 F5 M- o/ S/ D% n
4 r# M2 \! ?. W1 T8 ^! K
# while if too high the kernel might not be able to keep the read( y7 s3 b; L+ l" g: F
( ^" L/ }1 o" N1 ^
# pages in memory thus end up trashing.! e  J" S  k6 V0 s; E. [1 p

9 J/ R4 }7 B& u+ @& P& e#hash_read_ahead = 10. @& e7 |- _% Z% t3 \9 ~' S

  W  ^! o4 r+ e7 ~. E                                                                                9 o* s3 L) C: T4 [' p
# Interval between attempts to check the hash, in milliseconds.& N# J) w* [1 f1 q" f: A5 g

; p( k5 z& i( w, @2 M/ s#hash_interval = 100 ) t: P3 ?# e' `& v2 l  c5 @0 A
( V) I% [: D1 {
                                                                                , g' g$ e2 @3 }
# Number of attempts to check the hash while using the mincore status,
0 O* o1 c& r, R1 G1 ]' J" W( d

) \9 o  F4 f" y9 [# before forcing. Overworked systems might need lower values to get a+ h6 t# i1 v1 o& @+ h2 J

9 y2 e" J( f- r, G+ C  y, [# decent hash checking rate.
3 s; ?4 T  E; w5 n. B* p- I( M% g
+ i% }+ v) F. {' Q5 t
#hash_max_tries = 10) N9 |3 E4 @* d) D0 p
4 O: c( E, v; |! |8 t
3 H; T$ Q: Z& Q
4 G, C, X* w# m0 l, w( Y! U
2 L$ m- z" v4 {! Q# q& U% I
# Max number of files to keep open simultaniously./ b# d8 |& I- I$ b$ v$ x+ U
2 y% @$ T8 i0 \5 c  _; @* \* s& d$ B
#max_open_files = 128
+ f+ c8 w2 W8 L. S7 f5 m

0 t$ L+ {; M0 ?! c
; O4 [7 {1 a( I: N+ g& `! |+ v
0 g" R6 Q& z6 ]

3 j- }5 @$ c( [- |/ Q1 J3 T) H: A; l# Number of sockets to simultaneously keep open.* W1 ^; ?3 L; c3 o5 y) }

) ^6 w# |5 A; r" X( r" R% [+ |#max_open_sockets = <no default>
; A- w8 {  z2 w. ]2 D) m& a9 @
3 a8 g$ K' u9 W$ r  P9 P0 E* N
                                                                                
9 q9 r! X+ j& e
) g. H  H% ?  J. l: U) s. R( L: v& b; `- M

9 z( @( H0 z6 j6 C# Example of scheduling commands: Switch between two ip's every 5
; ?5 Z% P9 \' W. z4 P0 C
. s; O, N) H6 M# G7 L
# seconds.
, ]2 z5 d  M- K) }; K
: G: H+ J+ \- A; B7 Q+ A9 {/ n
#schedule = "ip_tick1,5,10,ip=torretta"; _+ a2 b8 a4 d5 x  A0 A

  g! L; r6 c' I+ m  |#schedule = "ip_tick2,10,10,ip=lampedusa") X: P( a6 q6 N. S- l/ g6 g+ b5 f8 H
3 e2 {; Q, Z- b# c( Q
                                                                                
9 T9 K8 Q3 Q, F. N# Remove a scheduled event.
8 A" M% M& \$ G' e) Z4 \: N0 \/ z( _7 L
5 X' Y6 q3 M& \1 g4 @
#schedule_remove = "ip_tick1"+ r' \/ @7 Q9 T, F# i: z/ W0 i

/ z+ R/ D/ W# w& U7 K                                                                                5 d+ a6 f7 r& @- R/ E
# Stop torrents when reaching upload ratio in percent,. q- b0 c) H0 M# r
) w: A1 m( z& _* v% m
. M1 p! o; X  y. I
# when also reaching total upload in bytes, or when
: H  v6 r; M( ~9 |! |+ l

6 @3 e: j% D& H7 E8 N# reaching final upload ratio in percent., \7 s. _! H" [& p5 S

# p* J$ I, @/ D" z! i3 E5 h% w# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0; [9 w8 i3 J7 E* M! n% [

1 t$ o5 S* I6 g# e# e" p% r( d, s#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"
1 a4 Z2 K" y: l. `8 ^, q5 N( _* A

9 v6 q3 y! a% m8 Xschedule = ratio,30,60,stop_on_ratio=200
" G  J7 [1 x% N* N2 ^* _
9 x' x& Z; y! I' Y
                                                                                / a; t+ ^! C, }- U5 d; a9 }6 M
' D8 e* X  W6 X9 g
3 f- a0 H. z9 |- ]( V9 _% {4 u
+ p6 l* e5 v' H* u( c  c% F' u# v
# Encryption options, set to none (default) or any combination of the following:2 r% d' q  D  V7 v* P. @
# Z* U; i, y/ l; d/ h
# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext" f( a; _% N  m+ e/ Z! @
#/ r" T+ _1 ^2 U5 y: `% G3 s$ w1 g

+ y$ N" H9 u7 L/ ?& V. ?
) o/ N3 d2 O, [/ g6 A
# The example value allows incoming encrypted connections, starts unencrypted7 {. }5 Y4 x( N% X, \

$ F. ?+ `, W8 Z& c/ s6 i# |# outgoing connections but retries with encryption if they fail, preferring
  Q8 _* }; f6 j- R# o) \

5 n* M) ^' ]: E; M7 T) z7 d# plaintext to RC4 encryption after the encrypted handshake9 F; G3 P* {- a# w1 `. ]* S$ T, i$ Q

* d1 ^& O( }- d, n" r  U#* \6 R6 n7 E& v- _9 f) ]) Y9 T( c7 n& f0 Q1 _

! P" J/ A  W4 R# encryption = allow_incoming,enable_retry,prefer_plaintext
4 c' P  s! s( y  F8 g

" L' w/ R2 f+ i9 T/ u
/ `* j4 C$ p) e2 ]: _; r  Q! b8 ]  j! z, X) T) g0 H
# H( ?- X' @/ g! e8 t
# Enable DHT support for trackerless torrents or when all trackers are down.
, y3 W8 n4 R# ~& f0 J
" n9 O; T; `; j/ k
# May be set to "disable" (completely disable DHT), "off" (do not start DHT),) h( l5 z4 }$ D, m
( J. ]) i0 n: i
# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
4 ?9 X" @8 {+ m$ j3 U  c4 M( L

- s+ O4 w3 ?  A/ \# decent hash checking rate.
% n* C, [, M! ~' G- s* C9 S

* Z/ N& C" z5 J5 b#hash_max_tries = 10$ j6 K: }1 T( _! t& w# |$ I
- h4 U) z( U$ i1 P& ?6 `* Z
0 {( S4 n" |  M
6 [5 y$ o2 c8 H, F; W' ~
0 A2 _* [7 K" @6 h2 r
# Max number of files to keep open simultaniously.4 V; b; Z3 z1 D# ~5 u! g0 r
4 y+ B" e* R6 V; h% q7 _& ]
#max_open_files = 1282 p4 i% S, I' f# w% u
5 k3 e6 ?+ T3 U( l  Y6 D+ l

( T, P- t" ~4 j- m
1 u$ J9 p5 X. s; a2 V

8 ]; f" h3 b! M* O2 V5 t# Number of sockets to simultaneously keep open." k4 k* `2 P2 u3 F

" L1 d5 j5 M3 ^$ W" B#max_open_sockets = <no default>! Z; r8 @4 s6 e" T9 _. Y7 C

$ @+ e7 l' G  Y7 k- ?( h
9 ?3 O2 w4 {; T6 r( G; u$ I6 A  w7 q8 S; M* a
6 J# R7 x1 v  R+ c3 H2 M+ ^
                                                                             , N! N% J' ]1 G
# Example of scheduling commands: Switch between two ip's every 5: j0 w- |! o3 R* q
$ v7 i3 g/ A5 F8 I' |
# seconds.
, f7 c3 w2 ^' @1 F8 H
8 @$ B) h6 V5 q0 V& x
#schedule = "ip_tick1,5,10,ip=torretta"8 h+ S1 G0 L. X. A

0 T/ D; s/ W8 e1 {0 |% r4 _#schedule = "ip_tick2,10,10,ip=lampedusa"4 A! }1 m, o9 h  e! F
3 k& g4 ~! Q; _' o0 k  k8 B# p1 h
                                                                                
. M2 a, i' z: r9 u+ S# U  k# Remove a scheduled event.
8 N# m7 ^3 T1 b3 {; g
6 Y4 U$ S" d( w% v; Q* G

3 z1 W1 f/ h$ |; H& V$ K+ X#schedule_remove = "ip_tick1"
* k6 z' N* O; G& X6 K

: s2 T& }5 H4 i) P+ s                                                                                8 _# X# z( `4 i1 U' |. B# O
# Stop torrents when reaching upload ratio in percent,- h/ c% A# t# G, R& _
; ]* Z  K3 q5 A" x, }
# when also reaching total upload in bytes, or when3 d+ b  U0 K1 j! e
4 s% ?) [0 s* h) K' m" ]. o/ v
# reaching final upload ratio in percent.
4 U3 k7 [2 L+ I% [5 r5 ?; v

; \& L- t3 }: j& `. g2 D& o# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0: R* }8 Z! s) v8 Q. Z

$ s7 `4 c6 H0 P#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"
2 d2 `7 |8 ~  s
4 L, a7 l0 i5 k: d. O, A8 n
schedule = ratio,30,60,stop_on_ratio=200
9 B! d' Y; y4 b- @3 {+ Z

7 m) I& O- W7 y; i) {6 I                                                                                
( w& [9 w7 G$ p* W: S, H$ ~% g0 F# h' M) z# D
1 ^, z% g0 o1 S3 |" m
0 l, I( z" Z' p  w) R0 u* c
# Encryption options, set to none (default) or any combination of the following:
9 Q0 f6 _& D5 A& I; Y. _

3 s( @5 G* z4 o# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
2 l0 j% N: O. S6 s#
! V  o. |# \, u2 y3 t9 P, c! i7 U9 S
& {8 Q: Y8 c5 w& K% O7 ?5 K$ T

& [# M9 R1 c4 Y# The example value allows incoming encrypted connections, starts unencrypted
2 F5 T$ s! D) L+ p. v% O; e3 E6 }2 t

6 P' c( _( z- y& I# outgoing connections but retries with encryption if they fail, preferring' @" A% P1 Z0 h5 a

8 r' t/ E% ], Z( j- ^1 Q% u7 t# plaintext to RC4 encryption after the encrypted handshake
9 X, u, Z; m. V" c" _2 q. \

0 n5 P7 h) E. M. \; O## K# p) @8 K6 e. E; l

& ?$ q3 u- W3 M/ V9 |& l# encryption = allow_incoming,enable_retry,prefer_plaintext2 y% d8 J! h# ]( M7 h% B; d
. B7 ]5 M& `/ B+ E
& t* y  b3 h; r7 W0 M- r) S# B/ u1 R* H
/ T4 p% P; X8 m

  [: u3 I* T) g* d1 N+ S# Enable DHT support for trackerless torrents or when all trackers are down.
+ K; P9 M2 M* _$ v  P( i
, d8 {5 B$ b( ^& s# ]9 T
# May be set to "disable" (completely disable DHT), "off" (do not start DHT),& @# O) `4 A* k$ y2 e/ l. v

) N# ^4 o4 P3 m1 B3 p" |" j# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).2 }5 x& l/ N5 D! Z

0 M. U; E5 S2 G4 Q# G: H9 |# The default is "off". For DHT to work, a session directory must be defined.1 ^! g* h! ^0 ^4 x! t* m: a
  Z2 x* q( m4 ?( Y1 |/ r  k( ]
#1 Q* C1 D! N# {& }
  y$ {9 f" i0 U0 C# Q, ~
# dht = auto
8 E' z$ m2 y; b5 \3 l
( G6 ~; `( a4 j4 U

; f7 S4 O! @  B3 g6 U7 Suse_udp_trackers=yes(???)
: T0 E6 l6 r3 _6 m" U' e! Yencoding_list=UTF-8(设置中文)$ H7 }8 P; _! K; x+ P$ |# j
umask=0000(设置权限)
. g7 i( Q1 I. C: q2 J5 `dht=on(设置监听on
& i/ M( R; ^8 {dht_port=6778(监听端口)+ F' [) t( I. q" b5 g0 Y& C* v
peer_exchange=yes(种子交换)- Y' ]7 D$ e% C& f
#scgi_port = :5000
9 V5 q1 H* X. s* }* x

5 H1 ], z/ w& f& |7 [& [# UDP port to use for DHT.+ L8 I) l0 m0 |
* G" h# q" z  D4 l: H4 Z: h) b
* P% m4 f. o: E( T0 H/ @: a
#) ?2 J, B- f) z9 R+ k+ F; v" g
4 J) W. h; f* i5 X
# dht_port = 6881
% U& [, \7 y3 L& x1 P. ~* t3 ^
" k$ Z/ j' e- H5 R9 v

: w0 I3 v. v1 d, ^0 l
, B' b3 t* g$ M" x# {. B* Q
1 J0 i2 n3 W5 @1 ]! c
# Enable peer exchange (for torrents not marked private)
2 ^" D7 F8 w' a* c7 Z

6 y. [, x* b. G8 q#
9 s' P! h2 M8 P2 G  V2 ?- _% F
& R0 I: T$ P8 T
# peer_exchange = yes
5 ~* G: A# h0 x3 ^$ N) O
7 K6 m7 J6 F" c+ j6 U6 E
( T) G# a2 T1 |, j
                                                                                    ! {: S; n+ w& C
#0 o: w' |. Q% n& C

  m( U$ X5 v. ^" e# Do not modify the following parameters unless you know what you're doing.0 Y3 S% |# u9 S- [2 C" C

: W3 e$ ?# F/ M0 d( a2 M( A9 A
7 Y( s9 F. j- o8 g* `0 A* s
#1 X* ?8 ?6 z& d

/ z3 z/ a3 P1 o( a" x9 d: Fscgi_port = 127.0.0.1:50001 i  a% t% D  R& P0 g3 v5 m6 g  N
(设置GUI

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:16:30 | 显示全部楼层
/opt/etc/init.d/S99local
0 @) {- \% V  U0 K9 o% B- ~9 P# { 7 I! `' T" D: g
#!/bin/sh3 i7 S; e% \% ^2 t

1 [* o1 o# _+ g! l& ~: B5 E8 \$ E/ ~) ~0 c4 }) Q/ F( G
! v3 f' w, V, R

) O* o% b5 x( C5 bexport PATH=/opt/bin:/opt/sbin:${PATH}
  g8 S5 Y# m( u) s' R' W

# d# H7 D( s5 }- Z8 Wexport LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}+ O8 W0 b0 B. g+ W

1 H. u; {) s% k& \( Z: ~" U

  ]8 b9 y) x6 w$ ^  l3 u1 ~5 N% [' [export HOME=/opt/root/ J0 y9 W( ~' R& a5 V- a
5 \% \' q. ?8 I% w
export LC_ALL=zh_CN.UTF-8
; U- R. {5 D! H" F6 `4 ]% B. ~- A) X
; A: R2 ?, @3 \" x+ e' _, w
0 V$ B: v3 h8 m  X- {
utelnetd -p 2323 &
- B: Y5 d6 X7 f$ |$ p) ~1 c
: m/ |5 F5 x/ `/ L' e: z1 Z0 n, T  h: |
/opt/bin/screen -d -m /opt/bin/rtorrent -n -o import=/opt/root/.rtorrent.rc
" a: R8 e7 R" p+ F% d; y

8 A+ H7 B. |: \2 K0 }' i: |0 Pvsftpd; a! c  G% a4 z
(必须放在最后一行)
2 a8 ~5 b. Y( q 2 _5 C& U* Q7 g, {' l6 p# [, P( f. V
& T& U$ Q* R4 E9 i# v- k
回复

使用道具 举报

发表于 2008-4-28 08:09:20 | 显示全部楼层
电脑?
回复

使用道具 举报

发表于 2008-4-28 10:14:04 | 显示全部楼层
什么情况?
回复

使用道具 举报

发表于 2008-4-28 16:09:45 | 显示全部楼层
鸟人,我在搞华硕的500gd,openwrt。。。
回复

使用道具 举报

 楼主| 发表于 2008-4-29 11:47:38 | 显示全部楼层
主要我这个内存太小,搞到128就差不多。
回复

使用道具 举报

发表于 2008-4-30 11:05:44 | 显示全部楼层
网络存储器
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|=|HERO|=战队 ( 皖ICP备19020640号 )|网站地图

GMT+8, 2025-9-28 06:41

Powered by Discuz! X3.5 Licensed

© 2001-2025 Discuz! Team.

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