找回密码
 注册

QQ登录

只需一步,快速开始

查看: 937|回复: 9

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

[复制链接]
发表于 2008-4-28 05:11:14 | 显示全部楼层 |阅读模式
功能强大的离谱,正在研究,该机可以实现BT下载(任意大小,支持中英文),FTP下载(暂时不知道如何设置权限),电驴下载(只能一个一个输入,且单文件无法超过4G,),花生壳,无论你在哪,都能找到自己家电脑;网上邻居,网络打印机(支持USB打印机,也就是每台机都能通过网络打印) 4 L: t& b1 X4 N+ N! D非常小,非常省电,还有一个很好的优点:你开了BT+电驴,其他电脑上网和QQ都非常流畅,不像现在的BITCOMET、迅雷和EMULE,一开了就别想上网。 $ b0 K8 F1 d5 {大小长25,宽15,高5CM左右,和一个3.5寸硬盘盒一样大小,接路由器和电源就能用。安装完毕后所有操作基于TELNET和网页。 9 Q9 C" K" u# ~9 Y4 _+ V还能构建HTTP和SQL论坛,这项我还没头绪。, q" F [) u8 ?7 r+ f; P 上个图。 ) `/ H5 g0 Y3 w8 m6 j; J) s: e, a# C( ] m- p2 } V- ~' l

本帖子中包含更多资源

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

×
回复

使用道具 举报

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

使用道具 举报

 楼主| 发表于 2008-4-28 05:13:31 | 显示全部楼层
留点备用查询
; D6 E6 H9 _2 e- g" p. l
+ p, D5 U/ U: P  T( ~/ P一、硬盘重新写01 d+ Y+ W" P" E& e  l
1、如果MSS正常,则执行7 l* A3 ~+ }6 x$ j0 V; f1 x
dd if=/dev/zero of=/dev/ide/host2/bus0/target0/lun0/disc; % D+ W$ z2 M) f
2、如果硬盘刚启用,则插盘清除分区后,用winhex0
4 |( k4 Z: n- }* Y+ b二、改本地连接
' l# b) M9 r& ]ip 192.168.1.2 网关192.168.1.1% ^4 S, ^) G) D+ E( p1 h1 D
三、执行nasload.exe
  y$ P) M, |# z; E  H; n1 v8 l2 C: R- x: ?7 R
用户名admin,密码空
- F  b- @6 k2 ~7 p四、设置机器名称,用户组名称,IP
  ?$ H' n4 i" `9 s五、刷新2.6.5# \  F  |$ s$ F5 ]5 e7 o; ?
六、建立一个down文件夹
. z% i0 x9 F1 O$ u+ I七、telnet 192.168.0.88
2 N1 @& u5 `$ a6 |1 B. C( `) L! hipkg update0 U5 u$ I# Y3 W9 @% G3 n. ]
ipkg list6 Z6 J0 Z7 U9 a' t+ y/ F$ b( ]
ipkg install dropbear- o, F& ?7 u  o( W- I
ipkg install busybox
6 G- m. O9 P6 H修改root 密码% k: H6 Q7 e& X, H' W2 `4 v
/opt/bin/passwd root* M5 z" h* r1 d2 p& j
9 B% U5 @4 |# v
八、使用  进入
0 L7 _6 r% N/ V$ E& f0 zcp /opt/bin/busybox /opt/ 4 Q, `& s4 Z% m! `# r0 d+ b0 ?
(将busybox/opt/bin文件中复制到/opt/
; n8 ~0 B* ?2 @- P; f4 |/ p 9 K, Z/ y2 |6 K: u
安装oleg: K6 R% A5 r. r1 `+ o# |
(1).将下载的opt.tar.gz放在mss的共享目录中(通过网上邻居进入,放在Public文件中)
/ Y, _! A0 G% y+ |, O" l1 P(2).在根目录下执行/opt/bin/busybox tar zxvf /shares/mss-hdd/Public/opt.tar.gz& N- a' O) t+ ]
(3).执行下面两条命令
9 Z; N# }  B# \export PATH=/opt/bin:${PATH}
" H  g5 P/ |7 K  M  @. [# rexport LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}' O, v7 ^4 R1 P0 ]0 k
4)将busybox恢复到/opt/bin目录下
: z* i3 ^: s, G) [/ vcp /opt/busybox /opt/bin/7 W0 B  U  r0 w- @

& L6 Q8 U. K$ Y( W& l九、5. 安装和配置rtorrent(bt客户端)
* [# T* e- |  o- S1)安装
* x7 s. {# y4 l) i1 m* ^ipkg update, p+ C8 r6 `5 U* r, P
ipkg install rtorrent
, x+ O/ w9 S# a! B6 g+ V$ J9 o( S- p

. y! h' Y8 x, J+ {2)设置& J9 [5 z  ?. x. ]  m) }
3- S, w  g. t7 g. j" j# |. b
mkdir /opt/root8 q: C4 X8 n3 D: H7 |: T& v- N; _! T
cp /opt/etc/rtorrent.conf /opt/root/.rtorrent.rc
7 o* i0 K( y- [* S2 Y. I/ S9 [export HOME=/opt/root
" P/ H  z; u+ U' srtorrent7 G' h  a( d% w6 V3 ^
看是否成功& D1 f6 s( p7 q# Q. t
2 `3 v; c8 ^' N' L$ z1 o. w( p3 T2 {
ipkg install screen
' d0 p# T2 N( H. K8 B
) A9 Y. [1 h0 F* R2 c: ~
$ p: g- G6 \' u1 g, c+ rscreen1 K0 B3 t- }) @7 v* ?2 N
然后回车
+ I- P# {2 j( d0 v0 Artorrent; S/ o+ b) Q1 d+ W, X* z2 f
ctrl+a然后+d,隐藏界面
2 \% F$ m3 p  x3 s  J$ \+ m8 ~* d; ?十、安装配置vsftpd(FTP服务器)
: Q* r& g0 P; ~6 J/ n4 ~& wipkg install vsftpd
4 v8 f) q7 r0 ?4 }0 ?
0 {9 R  G% a( N0 V/opt/bin/passwd 用户名# Z, n" J2 q+ T4 G- ^( u- o
修改用户名登录目录0 ^3 @& Z% M" V7 n6 I
vi /etc/passwd0 m3 K' Z& _+ w3 Z; p& R. h( C

2 w6 \  T& b. @9 L+ u( i' m& k" N添加可以登录FTP服务器的用户名# \' e  y1 L" h, C2 S, q6 x
vi /opt/etc/vsftpd.user_list
( p/ R0 r& R$ c: [# o) y1 u添加要登录FTP的用户名称. W4 `1 }- U. P
配置FTP服务, i4 L' G* [/ R" k; E7 w0 z
vi /opt/etc/vsftpd.conf4 @; D6 q, M5 R1 U4 g* `" G
在最后加上一行:
) S4 y6 r0 P3 o5 D& z5 W
) s8 ?% I+ R! D9 c% t1 \! X# n 5 B5 b: e% M4 T- I  J5 k6 U
/opt/etc中建立文件
; C9 M/ j4 Y  o- amkdir vsftpd_user_config
7 G! A. c8 W# j/ i% Z8 v进入该目录' ?- M# T9 v  e4 o; w3 ]; X
cd vsftpd_user_config/ Y& l% U! K1 I! F) u
建立两个和用户名相同的文件' ]: V4 X! ]% h4 B7 v/ j3 R
vi 用户名
+ d5 p9 w* ^. J" ^$ ]9 g4 [# U在只读权限用户里面添加
, |5 p0 g7 x2 N: u5 u
) {; Q% u7 T/ m重新启动硬盘盒
9 V8 |  g1 b! `! s! T4 ^
  y  M" x' l& u- U" A2 u7 h/ b十一、设置动态dns
% }. U% e4 J$ \( yipkg update
' D' K0 a" x4 [# xipkg install inadyn4 G) D) r5 K- a2 G* `
inadyn --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 $ ]- Q& g0 F( T0 c
( S2 `# s# V5 o2 }
十二、电驴
: o  ^7 x, q) \  smlnet.rar内的optlib.tar.gz放到MSSPublic目录里
6 g& M) J6 U3 W2 Q0 o3 F0 y/opt/bin/tar zxvf /shares/mss-hdd/Public/optlib.tar.gz# M7 j" f/ a; ]: L8 c
cp /shares/mss-hdd/Public/mlnet.lite /opt/bin
8 e& j& Z* I- S6 q; n" v1 o) s8 Ychmod +x /opt/bin/mlnet.lite
; e2 [5 m& }4 l0 Q) l' s1 Bvi /opt/etc/init.d/mlnet  n8 Y5 m( h, h, Q4 ^
#!/bin/sh
3 p; r9 C- S+ E4 q8 pif [ -n "`pidof mlnet.lite`" ]; then
- B' W' H% n3 q# S, ^
: J1 \4 m* i* X* D/ m$ G9 K8 P# Lecho "Kill old program..."
9 K4 S$ H" K: s

) x6 p. q4 e  s7 u; t( f# @0 [" t0 okillall mlnet.lite&

* {% e7 ~% i7 h; N6 I8 e! ]# W1 k5 G" a. ]6 M
sleep 10
. @! Z7 J7 v; e) Z$ n' N$ t
fi8 C& T+ w" W# H* S3 Q% J& |* ?* M
export HOME=/opt/root: g) l1 `9 ]; \; X% s) A4 J
export LC_ALL=zh_CN.UTF-8
/ Z' t" ]3 U8 r  y# g' I$ ^2 mrm /opt/root/.mldonkey/*.tmp 2>/dev/null, |/ G: L2 J$ q/ x% K2 ~
rm /opt/root/.mldonkey/mlnet.log 2>/dev/null$ R: F) r6 G% }  q
rm /opt/root/.mldonkey/*.pid 2>/dev/null. d! E# [! J5 f! e
/opt/bin/mlnet.lite&: x  {3 A  {4 T7 n* k2 }
/ A1 z2 ]: ]; V+ T% |7 d. P
chmod +x /opt/etc/init.d/mlnet
! Z5 x, {" t% L4 r * [, E3 W) I+ c/ m" n
执行/opt/etc/init.d/mlnet
4 j) T2 t) B/ M9 f命令killall mlnet.lite* M* e# }8 c& @1 B* {" b3 k4 W( J( k5 ~

  ]0 c% I  I: p8 C: A解压缩以后得到servers.inidownloads.ini Winscp扔到/opt/root/.mldonkey下面覆盖源文件
* F* ^/ D* F+ P! _) j3 f
6 V) Q- g/ z8 c3 U' zvi /opt/root/.mldonkey
5 M8 E/ C' _& x& |修改356408. v4 d) w  j1 ?( j6 Y
temp_directory = temp
/ u" w4 y: b- l, C2 M  E记得加""双引号如 temp_directory = "/shares/mss-hdd/Public/mlnet/temp"0 K5 D; h2 W! X+ C0 a
修改第408 dirname = "incoming/files"
& j% v: F$ n' C2 A. F0 F) g+ d dirname = "/shares/mss-hdd/Public/mlnet/files"; ~: q8 B. k; e3 c2 m) ?! z
运行/opt/etc/init.d/mlnet
! d# H) l) \' G- b; ?4 y8 Y) l( C

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:15:16 | 显示全部楼层
我的MSS-BT的CONF.doc5 E" M' \# O0 K
" N( u( ~% t2 A& D& B% @
/opt/etc/rtorrent.conf
  X  e# N4 B; V+ t% p: r% v/opt/root/.rtorrent.rc
$ J( }! s& \! M' e
; `1 R/ a6 v# m; d/ B3 k# This is an example resource file for rTorrent. Copy to0 S5 G) u* p% i
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
$ V! y( M( t4 m5 J. X7 N& T# uncomment the options you wish to enable.9 J* f6 x: A1 X: @: ?0 y' B

2 _. ~% D2 y1 s7 U* T/ Y# Minumum amount of peers to connect per torrent, if available.(最小种子)6 N' D& ?* o0 ?, c! j* F' B
min_peers = 40
9 h: V2 T# @- ~! J 8 p) n5 a8 ]: h+ ?5 X0 C( N* B4 ?
# Minumum amount of peers to connect per torrent.(最大种子)! j0 B* Z1 g) m* g/ ^0 z
max_peers = 2508 ?" |& {+ v0 e4 B% g

  V0 d! W, M; n: m& N2 F% s# Same as above but for seeding completed torrents (-1 = same as downloading)
& ^; n" u6 \3 z$ Y- P& ~#min_peers_seed = 10
/ B) [1 g( d, _, B6 B#max_peers_seed = 50
, T! L$ t# f- K) H, [/ D
0 [6 `- k7 }/ J. n8 z" l, \# Maximum number of simultanious uploads per torrent.(最大上传种子)" `/ M  h/ _0 T. A( d' H; I
max_uploads = 15
( d$ R( w( B8 E; @: Z" S 3 W# F# u7 _# w7 @& C
# Global download rate in KiB. "0" for unlimited.(下载速率)+ r2 }( n, w: o* J
download_rate = 200; G5 D5 P$ r- j" j" o0 T2 O
8 T% L$ o9 U. X; j% g: c" t/ W
# Global upload rate in KiB. "0" for unlimited.(上传速率)0 W) G/ W. j9 ^+ n
upload_rate = 300 E  `" h$ C2 |4 G# z/ d& g

0 U2 Y; @6 ?; B; ]+ ]3 X; f) `0 I7 ^7 \# Default directory to save downloaded files. Note it doesn't support
' A8 }/ b; j  _: z* X8 C# space yet.% _( O- Z( \. `
directory = /shares/mss-hdd/down
3 m5 l/ y5 }, v
/ T+ `, s4 i4 t" l; }! N# Watch a directory for new torrents, and stop those that have been deleted.
% D: M, I( |" b5 s5 b) a   C0 F8 k3 O) C7 l( ~" x
schedule = untied_directory,5,5,stop_untied=
/ A7 S' t# i2 Y0 C2 t$ c* O! x
  k/ K  A& I, B3 {' Y# Close torrents when diskspace is low.
  w; @6 a5 Y2 u+ x) e& U* J#schedule = low_diskspace,5,60,close_low_diskspace=100M
! B) {) E, ?4 M: s' F' B  S 2 R$ L. B1 u1 Y! ?2 x9 o
# Default session directory. Make sure you don't run multiple instance
# M9 c2 q, x5 y: d9 W# of rtorrent using the same session directory. Perhaps using a
! P+ E1 T' n! _" ?5 }3 ^$ R; Z# relative path?) c9 W1 ~% ~0 J' n! k( J. z# u4 t
session = /shares/mss-hdd/down/session6 M  m' V( x  N4 U4 v. r5 @  s+ t6 U; ]3 h
schedule = watch_directory,5,5,load_start=/shares/mss-hdd/down/torrent/*.torrent
0 F, H3 `0 ]* O( j& X
  V! V# y7 t+ v- o  }2 f# The ip address reported to the tracker.
& |* G6 Y2 d3 y9 e0 |' Y1 \* x1 L; k
: p4 u# B/ r0 |
#ip = rakshasa4 R% E, J! @7 T
/ {+ ~3 b9 b+ o( \: v$ t% S* f

9 k7 W1 v8 G; r5 A8 J
% Q  K/ f6 t0 K6 O% i2 g
* S5 A7 }3 a0 s/ Q
# The ip address the listening socket and outgoing connections is: j, b  [; N1 [2 q
/ G: `) e1 }. `. i8 _! i. i
# bound to.
' x# ^% p1 ^; R' i9 i8 V2 t

: I+ U/ t$ ]5 @) T9 [#bind = rakshasa
* n. r1 r) |1 M: I; q5 h  Q; b6 z
$ ~+ J3 C6 C( ?& R

- }# ]8 r3 J1 T4 p: d. y                                                                                
! P$ X7 s+ y/ A8 P# Port range to use for listening.+ m( y8 F" U; H' e) z# @
" g& ~8 J' c0 P: k& B$ M; l$ A5 ^
port_range = 51777-51780
' @7 e( [! x8 Y( |
2 g. ^+ }& l# A, k; v. y( z( b1 {
; d( f4 [0 l7 b3 Q5 Z/ o

2 ^8 Q$ _5 g: q! z# y) {( q3 Y

7 ~: Y9 J2 Z0 v% t* X# Start opening ports at a random position within the port range.! d. G' o/ _; s5 Y# E9 r3 s
; R/ |2 b% }2 K8 _2 S3 [. r
#port_random = no$ J6 N' B' A$ g1 e. e+ W8 U

5 h2 B7 `0 l: r" h1 u
$ o* s" Z. t  r8 ~8 ~
$ [- f4 i% w7 \6 B% y0 I

% w$ w# q* v5 h2 y% h3 v  ^# Check hash for finished torrents. Might be usefull until the bug is# u1 V( y- U6 ^( y* i

5 Y0 S# A* b3 s# fixed that causes lack of diskspace not to be properly reported.
% R9 y+ G. I6 K, a, r
; _, {- ?) Y, O% v6 ~
#check_hash = no
0 f- E; R; M( |0 J8 x! A, g2 ]) ?- |
* C3 Q- W  ~, Z6 ?6 R1 c# I& [

" w" Y+ h8 L4 [7 K                                                                                & L% g1 P$ F; S8 z/ I1 i5 R
# Set whetever the client should try to connect to UDP trackers.! l7 \/ s- P8 d! L
! T/ N/ \- W1 R  K: H. z" G( `/ W
#use_udp_trackers = yes
6 ^0 ^4 f/ G  f& V- P" m( d7 J* _' u9 _; ?
5 Z0 f- E" x0 b, u) i
                                                                     
" d  v1 F- W! @+ L# Alternative calls to bind and ip that should handle dynamic ip's.
- ?; ~( |7 ]5 s8 V0 z8 R  y5 C
1 z$ H2 R% u2 T
#schedule = ip_tick,0,1800,ip=rakshasa& [# G! Z' `0 k8 ~
' k) j4 J* C& r! u* U
#schedule = bind_tick,0,1800,bind=rakshasa1 W, H2 _5 h! \2 Q* l; h
& S! P( n* r# N
                                                                                
8 l8 Q6 @) W$ h. U& W; _#
; c3 y1 U- E! g7 `; x& G

$ \6 a; i# m/ S7 x: R+ E9 J# Do not modify the following parameters unless you know what you're doing.
& X; Q4 B) G' l
( [: h" P5 i; ?' Z. F
#
$ G2 v! V: `5 Z+ K
! H5 O* }" c" s2 j8 ~& G
                                                                            $ D4 M1 o( e$ ^7 X. V
# Hash read-ahead controls how many MB to request the kernel to read9 @8 k9 z% e- W% z0 V' H
, O: N$ O! t7 Q. b7 |) [$ K
# ahead. If the value is too low the disk may not be fully utilized,
! M- G3 K7 y* L& p" k' Y
5 U# y% e4 `; u7 N* Q# W$ w
# while if too high the kernel might not be able to keep the read; P( t4 ^  X7 |% y& p5 h- S1 s' U" b

" C" L- w" Z0 l# pages in memory thus end up trashing." s) \( q* ?) v# m- |
  ~: V7 k. m4 U9 G2 o8 _( e! O5 X
#hash_read_ahead = 10- H3 Q% d) r- x% w; ^. B

# Z* I, O/ g; C1 a( {+ Q                                                                                
; T3 O. l# K3 K5 @# Interval between attempts to check the hash, in milliseconds.
6 q7 r& C5 ?; P" C5 e
' Z/ Z0 D2 o$ @+ a5 }$ ~- h4 C) k7 K
#hash_interval = 100
5 J1 l4 {8 E  M+ v
; j: h9 @) T9 }1 [5 k
                                                                                
  z9 K, E& t/ e7 @! N2 {# r, F# Number of attempts to check the hash while using the mincore status,  Q  Z3 L( _4 m2 N
, Z1 k# p& O1 E3 _6 n
# before forcing. Overworked systems might need lower values to get a: X7 `, ]) w1 s. l6 i! ~& t
# @' b% R6 I, d! c
# decent hash checking rate.3 _9 s) V7 F/ G; G
1 n9 {3 W  e' H& l# A
#hash_max_tries = 10) r- p9 N# Q3 f7 x4 u1 d9 W
8 m- \0 n7 B5 V7 e! M

" F7 G3 E0 i8 Z$ L) K: z6 W' n& B6 P4 ?& x
2 N6 S. }% V$ Y& A  a9 ~, k
# Max number of files to keep open simultaniously.
: z! i2 m/ e: K

( e; a! a5 {; g& R! R+ u#max_open_files = 128
/ E8 U) W4 T. Y
& S! U/ D3 C% C5 A+ p4 W

1 h: T7 q$ W. K- X
: N% t, E8 Q- _+ Q, ^
) v9 B+ k  i& c* G7 ~
# Number of sockets to simultaneously keep open.: T+ s! W. Z% f! U% P
% Y2 B8 P, Q3 @9 D" d% f! l- d) f
#max_open_sockets = <no default>* G7 S, D9 W8 j6 W* H5 e1 f. P

, o+ _+ t' Y2 q0 d2 O                                                                                2 ]7 C) d9 Y" l! b7 S) n1 e/ p

% `/ d5 A! ^* j& `# I
. ~; i0 P& c/ ^, [7 D& b
6 N$ u4 _$ p8 [. o
# Example of scheduling commands: Switch between two ip's every 5% |' \( x& K/ y: n& [; {) C8 S$ @
! p! Q' U7 K4 `
# seconds.
0 C5 @! u( u/ d
4 e5 l7 w* w! q3 @6 W
#schedule = "ip_tick1,5,10,ip=torretta"
, ~* }2 V7 _- l% Y

# ~7 c% m* r* V( W' k' s4 o#schedule = "ip_tick2,10,10,ip=lampedusa"* D  O2 v3 H; S
; k" G; ]+ ^& {. D  m# h+ p
                                                                                
1 m6 f8 _% R: V# Remove a scheduled event.9 y4 k2 I4 G& }! }+ h

" u" n. `4 M' z, v" \3 X

, O0 g1 o2 \3 _#schedule_remove = "ip_tick1"% a( z0 R/ J2 h9 [8 L

: C- r8 P7 x* j* y- B: A                                                                                
# s4 h; x: D; x# Stop torrents when reaching upload ratio in percent,
! M, V- H: h) n4 a5 q
/ w' B% O/ X0 F  L, E! c! F

' Q7 ]2 v( x' i6 H- W7 Z7 S, \7 S# when also reaching total upload in bytes, or when
* M8 Y, y3 b/ t: D) P7 z# r; ^

& z; d. m" O" n7 X0 [# reaching final upload ratio in percent.4 p" u7 D6 d2 _+ Y% n  E
; ^$ o7 K" X- a& E' e
# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
& R0 A- b+ F- ]. y4 H: D3 U

, C/ E1 [# B) ]6 i* a1 D: n# A- m#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"
* @9 M* n7 @1 B# K9 x$ F1 N
: P+ A$ N9 d. B9 O5 ^4 X6 H1 @
schedule = ratio,30,60,stop_on_ratio=200
0 Z5 \7 t+ ?6 L- i2 y& D. a; ~

7 m2 L  u; d0 T9 R1 m3 R                                                                                  O8 O5 t7 Z& k; k  O! j7 Q1 R, M6 z

5 u, }- s  {. ^* }6 A
8 E( e8 M0 p! z! C

; z  ?, C- m0 z, J2 O, {% S# Encryption options, set to none (default) or any combination of the following:0 x/ `. s( j9 U% A# a
) ]- W" q/ S2 \# E+ @" @
# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext5 {8 R# Z/ H, {2 g6 ~
#. S6 v, c6 o; u/ c  I

% ~* B# L* m$ J
  M" K# L* g% g: R6 @) T/ ~  G' U# u# H
# The example value allows incoming encrypted connections, starts unencrypted
3 K1 e, ^% u' Q* ~
0 `9 L! D' h# p+ ], q' {. R
# outgoing connections but retries with encryption if they fail, preferring
. u/ x- ]$ l9 |' y" m
7 ^" {  Y) Y& H( [: u5 w
# plaintext to RC4 encryption after the encrypted handshake0 b  g! b0 \6 G: I- `( k
. @+ l: s# f# w& i
#' {' a6 x" a8 i; T" p) Y( ^( Y& @+ y4 X

/ j' F+ l! Z2 I" {* c% @& G# encryption = allow_incoming,enable_retry,prefer_plaintext( p) U# F) _; G! Q% c, s! ~- B7 K

2 C8 O3 f3 I% H, T7 `- |; K' i4 u$ N6 A9 A* s
2 ]3 e9 \/ y' y% ~) y" c
& ]& P1 }* _+ T  r4 \% V% W) v
# Enable DHT support for trackerless torrents or when all trackers are down.
( T- p7 z% [) S+ f7 G8 h2 O

. d2 ?3 w7 d- c0 N& a; F+ x, A# May be set to "disable" (completely disable DHT), "off" (do not start DHT),5 ?0 r$ O$ C7 n, N/ g

& S6 Z& ^% }5 n$ I; d% Y4 p1 D8 ?# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).7 o  R2 m6 x! M3 V! J

  ^3 q2 j9 R" A* {2 e" P$ M# decent hash checking rate.
9 I1 A5 f# H. {4 w' U% Q) J

) V# g; z- C$ n+ U& X# ~#hash_max_tries = 10
4 N! @) q  m- z/ H6 Z
, |* b4 m7 T/ X4 p
% V9 D: ?  c% K  z  b, D% w
2 K+ x& S" @/ y4 h( u0 w# G
( z) X& y, I# i* ~
# Max number of files to keep open simultaniously.9 h0 |* a# v7 x& }2 s
9 F+ U" R* Q/ T
#max_open_files = 128
) y; H& g$ o5 X! R

( }$ \2 X9 j( ?6 n9 a9 o" V9 z; [; E% _
3 U, V% |8 E- T$ Y6 z  _5 k3 h
$ ^( ^) J  e2 F1 [# y5 b0 f6 L
# Number of sockets to simultaneously keep open.
* O* F& l" a; x! l- q7 |9 i

$ j$ v) _. p5 i0 v# A7 u#max_open_sockets = <no default>
! Q! f2 I% V- Q* `9 b% a0 f

, K+ w- r; I! o$ n* p6 O+ \, l3 i6 i

% b2 J- ?: P: K7 h

: {( K, `- a0 d1 E# \                                                                             
* E0 C* P5 [* _2 E# Example of scheduling commands: Switch between two ip's every 55 V) W% A, e% V! d# L

' @# ]. N; j( L% e; E; [5 k1 D( ~# seconds.
" G: A/ [8 v1 I# l$ q; v! ]7 {+ e

9 x% [# j9 L1 o# o) _#schedule = "ip_tick1,5,10,ip=torretta"
1 @" Q8 x8 D$ g5 l% F, ?' a

- U3 {2 }1 T* q" G. C3 q#schedule = "ip_tick2,10,10,ip=lampedusa"
: Q& r! \" {+ v3 p8 o

; U! M. Q. W3 x( _& q) f5 b: N                                                                                  ^3 S! D# m/ f) l) C% o
# Remove a scheduled event.& c3 M2 h# f3 q

2 j2 P9 E$ k. X

+ j4 {3 Y2 Y2 y  V#schedule_remove = "ip_tick1"
; \. f+ L3 f  K; o# k) k
3 l& {1 P. m" ~! T% p1 z9 H7 E
                                                                                : H( f6 w) a- q1 ]( v
# Stop torrents when reaching upload ratio in percent,) V! C  G$ T# E5 t+ q" N# x! e
7 N. c$ D7 G7 C$ Q: d; s% W4 ?
# when also reaching total upload in bytes, or when
; G3 _. ~+ n5 p6 `. m, |
8 m. ^+ q) X$ N" h* H( ^7 d: X
# reaching final upload ratio in percent.
2 k( Y4 @+ j) M
8 Q5 w1 s; o* n9 i# p# ]
# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
9 Y2 z: Z( `2 V0 u* ^$ |

/ f* D# S7 `6 H2 c#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"
/ z- ^- @7 t6 t2 E0 G5 b! k7 l1 r

5 L* f, A" B" |( F1 Bschedule = ratio,30,60,stop_on_ratio=200* [- z: Y9 d; r0 g* A- o  A
$ Y  K' ~% N$ B+ @0 e! k
                                                                                + D+ j- q2 w, ~+ e2 _! Z

; Z+ _2 `1 x0 t) g* s% V3 M8 [
" a4 P- c9 ~+ d5 m: i- z
# Encryption options, set to none (default) or any combination of the following:
" T( s5 ?3 f/ `

" `  h9 [1 q+ j9 ^2 \# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext8 b. G4 k3 @3 Q& _/ K
#
/ w8 \0 \7 V* ~( ~, }1 [9 V" H# `  m

" E: h2 S( R3 ]7 z+ a# The example value allows incoming encrypted connections, starts unencrypted0 }" H1 f3 P. v! m6 ]: I
' D8 A* D0 N, K! j$ o- x: o# [
# outgoing connections but retries with encryption if they fail, preferring
. i, ]; D# E( j% r0 n/ }
& j5 o1 m; n% n  T6 ~) K8 }
# plaintext to RC4 encryption after the encrypted handshake1 k* Q9 `3 _5 E
4 N" ~$ R/ ?- k: Z) _! q
#
, `* u) a5 T, Q4 i5 a! _

) g1 D% Z5 O6 ~8 W4 E1 t# encryption = allow_incoming,enable_retry,prefer_plaintext
/ ?. G) E/ x& l& w$ o9 b
5 E5 r% [4 W2 w, ~7 X9 P+ ?- _

# z7 B0 l8 \; r  W
! X& Y& D1 p4 P% E2 W
( k% F- m" N; j& ?" F8 l) E
# Enable DHT support for trackerless torrents or when all trackers are down.
( p; U5 @9 \1 E, A) [# [6 H
2 {+ _' b8 H; @/ ^% P
# May be set to "disable" (completely disable DHT), "off" (do not start DHT),! A# F/ ]) b( f1 V* C& C& o& P% h+ c

" n: J( o( B& z5 c5 x# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).+ v' q# Z1 I4 g0 j! r% l& ]& {& j

. T, l' b, y* N% W9 Q3 B# The default is "off". For DHT to work, a session directory must be defined.; q3 |3 I1 Y' S7 F) |) u2 k
' I6 R; H5 U& [8 v" z+ r9 q" J/ a0 V
#
3 n- p( r0 K) P/ p
8 |. y+ V8 n- U3 a7 s0 H' V. D
# dht = auto
+ v1 h  q* M+ t% m  O, @
/ V1 K  S% k1 k
2 o$ ]' D# Q3 g  b* X6 {
use_udp_trackers=yes(???)' P$ w* t3 Y8 q" F  x# x
encoding_list=UTF-8(设置中文)" g1 x7 u3 X4 K6 J( i- I. G( R
umask=0000(设置权限)
5 ?( }* V% w# r0 A5 A0 Idht=on(设置监听on
* N; w' ^3 s% D% w+ kdht_port=6778(监听端口)& x: R$ J0 {* b5 J" q( [. {
peer_exchange=yes(种子交换)+ h" @2 p1 S3 z3 e
#scgi_port = :5000
4 h, S5 L$ @, v0 m# e
7 F. z8 |: `, n# z* n3 y( H
# UDP port to use for DHT.8 j+ R1 u8 m- x8 r

! B  z; c' }+ i6 X" F
5 F' P* L: Y) @) Y: ~$ Z
#8 ~# ?$ N1 b) j& Z1 Z2 v7 J

) {' j# I' ]/ g# dht_port = 6881
. R4 M. t- ~+ K& F! L2 _

2 D8 G4 S; z$ G6 A# j+ ]5 v
2 {( x' D: v: _0 r
: ]( b% u$ Y7 r7 z) t/ @

5 ~# P( N9 j; ~4 `3 N8 i& s# Enable peer exchange (for torrents not marked private)
7 U+ p) D$ a7 e7 ?# r8 K) y
& c) ]4 h  \/ R1 ~
#
. M% G% @8 y# g& f+ f. B& E

" E6 P6 Q' x+ `7 O4 W4 n5 o# peer_exchange = yes6 G/ A- r- m9 G$ P

* o! F) z& u8 N- {8 v+ Z
% G' Y9 \8 W( ]0 _2 _. N0 f/ W" V9 }
                                                                                    # D8 @/ k6 d$ {% l
#
( q- D5 C. _6 D$ `! W* y( M- Y% ~9 }
* U* c  x1 h; v2 Z- b. C& \
# Do not modify the following parameters unless you know what you're doing.4 f; M2 P" z7 U% h4 ?

6 Q1 Z5 n0 h3 k7 r
! x+ v. p) h8 W4 u! r
#
6 R% ?& ~( D: ?: v2 d! k

: k5 ~) Z% h4 \scgi_port = 127.0.0.1:5000% U# b4 A% ]/ V& L" t! V8 i
(设置GUI

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:16:30 | 显示全部楼层
/opt/etc/init.d/S99local
/ C8 B% e9 Z+ M9 ^  B # ^. Z* q2 g1 w! ]; f- E1 [
#!/bin/sh
9 H7 |# }7 c  {8 W
0 `* D$ W; j' Q

* h% R: \, Z# }) [- O# Z( \6 f
4 N0 _) f' s7 ^; ~) H. K/ z$ ^$ _

' N  r# h  Z4 J# w5 wexport PATH=/opt/bin:/opt/sbin:${PATH}
- O& D% e, P# J3 a' m% {" h% b5 L

! t. d. V6 z* o& U" \export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}+ Z* j+ |+ j4 K+ o7 l6 \7 d) ~
; j5 I, n+ c9 n3 `' y
# X- @# Q. P8 o2 x+ r
export HOME=/opt/root/ p" l- q& U1 |; N! [

; K/ w4 J! u% Texport LC_ALL=zh_CN.UTF-8
8 _) D3 o/ I  ?7 W9 A& W
0 R6 @" K" U  _
  c/ |: F# Q. H+ P6 o; q7 m! Q
utelnetd -p 2323 &# v3 z3 C% T: j- S
# H7 C7 G; s. ?8 ?! m
/opt/bin/screen -d -m /opt/bin/rtorrent -n -o import=/opt/root/.rtorrent.rc8 S/ z* y9 `  i' s1 x, T8 X' o" w

1 [6 I& ^$ J% J: f' x7 }vsftpd( x  \8 d5 f6 }, I" H9 ~/ ]" u5 V7 N. e+ t
(必须放在最后一行)1 e$ s% E1 H, }/ s1 }/ i9 a3 h1 C
; ^: S) G2 E8 b4 G! e, l
  h, i) a/ v, v9 G; b: V" t
回复

使用道具 举报

发表于 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:39

Powered by Discuz! X3.5 Licensed

© 2001-2025 Discuz! Team.

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