找回密码
 注册

QQ登录

只需一步,快速开始

查看: 891|回复: 9

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

[复制链接]
发表于 2008-4-28 05:11:14 | 显示全部楼层 |阅读模式
功能强大的离谱,正在研究,该机可以实现BT下载(任意大小,支持中英文),FTP下载(暂时不知道如何设置权限),电驴下载(只能一个一个输入,且单文件无法超过4G,),花生壳,无论你在哪,都能找到自己家电脑;网上邻居,网络打印机(支持USB打印机,也就是每台机都能通过网络打印) + B+ a3 ~+ A' l$ m非常小,非常省电,还有一个很好的优点:你开了BT+电驴,其他电脑上网和QQ都非常流畅,不像现在的BITCOMET、迅雷和EMULE,一开了就别想上网。 & m; y4 [" S' C( p2 Q7 W8 R大小长25,宽15,高5CM左右,和一个3.5寸硬盘盒一样大小,接路由器和电源就能用。安装完毕后所有操作基于TELNET和网页。 - t: P- e6 q& l+ C' u9 L还能构建HTTP和SQL论坛,这项我还没头绪。 0 C" d' P7 T5 Y q上个图。- D+ p x, s d- d W- t# P$ ~! q

本帖子中包含更多资源

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

×
回复

使用道具 举报

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

使用道具 举报

 楼主| 发表于 2008-4-28 05:13:31 | 显示全部楼层
留点备用查询
3 F# {( W: b+ {/ U4 G
7 F; i$ \% T2 v1 u$ c$ o一、硬盘重新写03 o3 N/ }- [- Q& Z, J; |: |
1、如果MSS正常,则执行3 O8 e( Y; V, z, k# Q7 n+ _( z
dd if=/dev/zero of=/dev/ide/host2/bus0/target0/lun0/disc;
. P& A5 \, Q: n4 \+ c2、如果硬盘刚启用,则插盘清除分区后,用winhex05 [; g. b+ S. \, K# a1 H
二、改本地连接( T0 D- _0 I1 j& m( |
ip 192.168.1.2 网关192.168.1.1
, ?+ A- \# v/ Z0 k三、执行nasload.exe
$ r0 s3 ~( C: F" J% O9 D$ L
' ~$ a& [9 d8 e7 i( W9 f( A+ n用户名admin,密码空5 Z9 ^" P6 N  x4 N2 u0 `  K) |5 F
四、设置机器名称,用户组名称,IP
& f; i' g8 s5 t/ Q/ R/ t( Z. X% w, i五、刷新2.6.5
1 l6 ?$ D% H3 s' v六、建立一个down文件夹+ h; |/ d( N- L7 t! _7 }
七、telnet 192.168.0.88
% E# [  q" L4 X! Hipkg update
" M5 z/ o3 P9 A- x" c8 eipkg list
( [+ F. O" D9 Z) K2 ^9 o* {ipkg install dropbear/ d0 Q  h8 k' R% C2 T( w; e
ipkg install busybox
1 J% u2 Q+ O, d修改root 密码
5 B, O6 z6 j( X/opt/bin/passwd root
- z8 h6 W" x7 i: X) K
! v. t! U3 V. }& [/ W: f八、使用  进入& R3 b, b6 Z& [# Z
cp /opt/bin/busybox /opt/ , D" D9 P4 I8 W3 Q, [4 M; y
(将busybox/opt/bin文件中复制到/opt/5 w1 B* R' ?2 _- q& P

/ D6 j. \; r, K安装oleg! j& O  X$ S: a3 W2 \2 ~
(1).将下载的opt.tar.gz放在mss的共享目录中(通过网上邻居进入,放在Public文件中)4 U  \0 E$ Z) \$ K& R) O
(2).在根目录下执行/opt/bin/busybox tar zxvf /shares/mss-hdd/Public/opt.tar.gz
# P' Z# w5 K" r, [/ ^4 C(3).执行下面两条命令& c% [  L  ?0 d* T5 U( z1 D
export PATH=/opt/bin:${PATH}
" \4 h1 C% l  q: ^# @export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}
+ d2 u3 ]8 J+ J! V4)将busybox恢复到/opt/bin目录下4 n3 o3 v$ G, ^* F* l' V
cp /opt/busybox /opt/bin/
5 K4 Z. v  j+ V  u7 @- @9 R- x& x; Q , I9 q! A9 k* l- q# L* w
九、5. 安装和配置rtorrent(bt客户端)
- N- p/ @/ n+ \! f- t; V$ w1)安装9 |0 v! b4 X! |- i0 E( x
ipkg update
8 q6 H# `$ m6 s$ T; G: D) X7 `; X* hipkg install rtorrent
8 D* m# N: _6 G: ^+ W; n- C
7 ]2 h+ K- `0 G% ~" c$ C$ ?1 j8 y# Y+ K
2)设置$ Z% Z# f6 v0 }9 t
37 \9 m# p' Q1 I6 p$ n! f
mkdir /opt/root6 A$ S1 ?9 ]+ o+ O* x; R  H
cp /opt/etc/rtorrent.conf /opt/root/.rtorrent.rc" A( A( Z5 u- {6 ~
export HOME=/opt/root0 W% |) n0 _& I) d8 @" B$ f
rtorrent
! M8 o9 L1 ^5 }, A" T$ ~看是否成功1 E' }/ |8 d2 J

7 [2 O/ a% w1 G) Q, i3 Xipkg install screen/ O/ _% B4 P! ?( L5 N, I

# A8 i/ C% N$ a! L9 M" J3 D/ R
/ _3 {; j/ Y4 _# Y' Q; S) ~6 j$ `screen
0 D  F2 m* }+ {! r5 g+ \0 f然后回车7 t( ]; J' }* u5 Q
rtorrent
1 @9 t" ]9 s3 U" Fctrl+a然后+d,隐藏界面& b5 E* q4 U6 s/ k& E" f% T+ d
十、安装配置vsftpd(FTP服务器)
9 p7 R2 z8 n# k% Q& x. g; Oipkg install vsftpd
, H# N5 q9 e& R0 Z& c! d/ T' C8 o* x  l8 M" V2 k: ]
/opt/bin/passwd 用户名
* n) o, p$ a0 p! I修改用户名登录目录2 t' j/ L, F) ?! [! g* [2 G
vi /etc/passwd
& l$ }  e% N4 R2 K1 z/ Y( O: _4 z, b% i+ z- s  }
添加可以登录FTP服务器的用户名
2 |7 y1 K9 X8 |- V0 p2 ?vi /opt/etc/vsftpd.user_list0 Z' c; `& [- H2 h. R
添加要登录FTP的用户名称
7 y8 k. D2 q# ^) z3 f/ i! n& p7 V配置FTP服务; @9 k9 K( x1 h% g. J
vi /opt/etc/vsftpd.conf6 k: m9 O  ~% `# T8 J0 [
在最后加上一行:
$ k' v! M  p" Y# W' ]/ K0 m* P! \& {' _- ?4 j

7 j! K" l; e3 k5 X4 z/opt/etc中建立文件! {* B/ D9 t! U  S
mkdir vsftpd_user_config
" X: E7 t  r" b* H进入该目录
/ `8 m$ {' C; z, A3 Mcd vsftpd_user_config
8 E9 F8 I& z' q建立两个和用户名相同的文件6 w: m* _5 C- O9 W# l' t+ G3 T
vi 用户名. \+ C/ }; p* y4 d; B/ q% I
在只读权限用户里面添加1 U8 Q" G6 n( y0 W4 H

" R  c- Q$ k; O: E' l) D* O% P重新启动硬盘盒. M/ y- V# S' Q% f, W# t3 Y% B

/ w, P* ]8 Q/ p# L0 K" j十一、设置动态dns
* ~5 N+ @1 f) |: dipkg update# k6 r, V4 T) O; W8 z/ L- e# C
ipkg install inadyn
# d4 D8 b+ c* s% Tinadyn --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 $ H% c% V) n& v- ^
( v( r3 @) i( L( I
十二、电驴# O0 j7 k2 v* j! |0 X% l7 r. q
mlnet.rar内的optlib.tar.gz放到MSSPublic目录里
" ?/ H: f; C% t* c. z( X/opt/bin/tar zxvf /shares/mss-hdd/Public/optlib.tar.gz
7 I1 }5 ]9 J7 Q! y8 vcp /shares/mss-hdd/Public/mlnet.lite /opt/bin8 Y/ ?% X+ W7 P; u, V
chmod +x /opt/bin/mlnet.lite
6 G( k3 D+ \1 x9 ~0 Rvi /opt/etc/init.d/mlnet
7 C" t/ }# b, n/ r, H#!/bin/sh; l& t+ q- b' m# V1 v$ y  O
if [ -n "`pidof mlnet.lite`" ]; then
# M$ I3 V1 [( d7 ^- o4 v
( H  Y3 [9 b7 m8 Z6 `/ [echo "Kill old program..."

1 ]$ |8 g# |( L: z- A, R, i, z! T9 ], q( `1 _8 N, [+ a: C6 v# J
killall mlnet.lite&
# r6 y+ o0 ]) X8 Y/ t2 |9 M
2 U0 _: p: B! c( y: K
sleep 10
# G+ G1 m) ^/ i% L
fi  z& v5 [: W/ M6 e6 k. U
export HOME=/opt/root
0 [! A/ U: r& U5 O7 ], iexport LC_ALL=zh_CN.UTF-8
9 _  q$ K; B* b% rrm /opt/root/.mldonkey/*.tmp 2>/dev/null( @7 F9 e5 M/ u- ~/ P* v
rm /opt/root/.mldonkey/mlnet.log 2>/dev/null4 g+ W" n0 e$ t$ ?/ C1 w1 C
rm /opt/root/.mldonkey/*.pid 2>/dev/null
5 }) ]8 R9 M0 f# p/opt/bin/mlnet.lite&0 {; d1 ^) V+ B% k

! [1 k6 s, W. q: R1 `- [) hchmod +x /opt/etc/init.d/mlnet' z" i( u( Z) o
7 ^% _; G$ A4 A1 E  s5 y" Q
执行/opt/etc/init.d/mlnet0 x8 J3 s# D: L! w7 v
命令killall mlnet.lite
0 z+ E. q; x7 Y" b" `; V' e9 m3 L% e6 i
3 V" o3 y, j" r+ `, }6 P8 c解压缩以后得到servers.inidownloads.ini Winscp扔到/opt/root/.mldonkey下面覆盖源文件6 Y2 N! @# L: @
' M" m( w$ z- ~3 [: ?) v
vi /opt/root/.mldonkey
3 Y9 p6 I  {0 B) A! ~$ ^修改3564089 _/ L9 U) B3 K" T
temp_directory = temp( o5 Z- ^# F/ b4 A+ T. m
记得加""双引号如 temp_directory = "/shares/mss-hdd/Public/mlnet/temp"# e/ ]4 a1 A3 R2 M4 E: |& V
修改第408 dirname = "incoming/files"
6 B, u) s) c8 u- |. O dirname = "/shares/mss-hdd/Public/mlnet/files"
- r) O+ [0 R3 k) `( [$ M运行/opt/etc/init.d/mlnet
! v  q. w" x0 A7 e- }% E, F& E

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:15:16 | 显示全部楼层
我的MSS-BT的CONF.doc
4 n' A0 Y& Q) Y) ?3 x, r
$ h8 q1 m9 Q1 d  Y/opt/etc/rtorrent.conf
- _% j$ b2 W5 I8 L/opt/root/.rtorrent.rc/ T, O; J5 z5 A% B2 ^
# _* t. i+ q8 o- m& Q- X& @! w
# This is an example resource file for rTorrent. Copy to
  Z6 w2 }) g6 O# ~/.rtorrent.rc and enable/modify the options as needed. Remember to) B, }' K2 U) M$ @5 |
# uncomment the options you wish to enable.) \; U& Q* Z/ F4 [/ K" |

8 b7 |2 b1 F( ^& `8 k; z& d' _# Minumum amount of peers to connect per torrent, if available.(最小种子)
" o1 b7 o/ l& R* U2 a$ Amin_peers = 40
* U9 T. a; c5 E; j0 B 2 h9 b" h$ h' L7 g+ G+ g5 P& E' O: }
# Minumum amount of peers to connect per torrent.(最大种子): D) v: m. n* K3 k# m
max_peers = 250, m6 ?" o, Y" h- Q& x4 h, [
' P/ p# C4 N' ?
# Same as above but for seeding completed torrents (-1 = same as downloading)
& Z# Y! I! t" s1 [+ `3 Q* I$ a#min_peers_seed = 10
* T2 Y8 L  v% u- B% J#max_peers_seed = 50
  ^3 V* q/ y* g. H) ~2 v+ E # [* u! Y4 v, h: j% A0 q: ?
# Maximum number of simultanious uploads per torrent.(最大上传种子)
5 Q. V7 L3 {8 E$ a; [& b. amax_uploads = 15
) T2 z* e6 o- [; y4 W# |
1 Y. I! T+ I. L# Global download rate in KiB. "0" for unlimited.(下载速率)$ f2 ^" \' }& \- t( l+ H2 N. Y
download_rate = 200
0 ?  u6 z, E, N- `
" S- h' c7 I) p3 G- `# Global upload rate in KiB. "0" for unlimited.(上传速率)! @9 V1 \, ~" f
upload_rate = 30
( h8 X6 ]" ~( K1 `3 O0 \$ h, @6 i , o9 y1 u' z, A0 [/ G% n
# Default directory to save downloaded files. Note it doesn't support9 Z: w5 ~6 d5 n0 w* G- C
# space yet.
5 D' _' Y. J/ pdirectory = /shares/mss-hdd/down
; @/ ]; i5 I; v8 g - Y. Z# ^1 t8 b
# Watch a directory for new torrents, and stop those that have been deleted.
( J# I- g. A9 e4 Q4 }0 T" H
  P9 H, r0 I( c2 P  Dschedule = untied_directory,5,5,stop_untied=
  j, y& x6 ~8 T1 }' W . T  A0 |% x$ d
# Close torrents when diskspace is low.
' D9 E" X0 A4 J1 s$ R0 u6 m5 h#schedule = low_diskspace,5,60,close_low_diskspace=100M
8 I+ E  o8 L( U/ H  S
1 W/ S& q5 a5 I- H. i  b& v# Default session directory. Make sure you don't run multiple instance
! G# e9 F. k: }4 x# of rtorrent using the same session directory. Perhaps using a
5 e, `6 p5 N6 @2 J/ V# relative path?
! ?6 |( E9 F$ U1 r$ Jsession = /shares/mss-hdd/down/session8 m6 v& ]7 M$ M) L4 B3 G* U
schedule = watch_directory,5,5,load_start=/shares/mss-hdd/down/torrent/*.torrent# {( u- K$ d5 O8 s" q

9 i" u, Y& N4 `6 _, g  g: G# The ip address reported to the tracker.
% N; n7 C: T; A% S
- a- B9 N4 F! W1 @4 r; \* i  {
#ip = rakshasa
. C# }$ v% z, V7 L4 u0 L
: ?+ q( ^: m& S0 _3 r

! a* u0 e. q5 P1 n7 N
+ v' X( t8 R: ^+ r6 l1 |9 S
  @% g! }" `8 G
# The ip address the listening socket and outgoing connections is
5 S% a9 O. D% z, {% d7 p

7 g# F# z' ^9 \* J/ L# bound to.
: v9 I7 @+ I3 I9 v3 X

- K: p: s0 B4 u, D% m% d/ |#bind = rakshasa4 c7 W0 Y: G2 }) Z) M( A0 y5 C2 r

# A8 N0 D/ D7 l5 z
- O6 d- F- x( R, l; N- u* t
                                                                                2 ^/ W0 W7 J2 Q6 g' q. a* o
# Port range to use for listening.
; K' N& m# T  u" W; m; b
  N! U4 o! x' C  J
port_range = 51777-51780
9 `0 k* K+ u7 C6 J

" s4 L7 o) T+ t9 h% o3 }' J% v- K) ]; @
0 h) d5 U5 r+ q- l0 k) E
/ T& ?3 y% c( h) ^& Y
# Start opening ports at a random position within the port range.
9 G7 x$ }; V" i6 E3 Q) s8 `7 B% _

+ y5 Z) V; a+ M' r" |" L#port_random = no) ^3 t. g2 k4 v% F  c, P& L

/ [% M( e' k  N( \5 A) A1 t5 p
- C, e, Q; z: b( p/ k" J" e6 m% L4 j% L* ]

' D" H4 n8 [3 U3 [, x/ |7 G# Check hash for finished torrents. Might be usefull until the bug is4 }7 {9 ^1 N5 @
& y9 B' k- _6 i1 t
# fixed that causes lack of diskspace not to be properly reported.
# F0 Y( j/ x1 _! |/ Q4 p* E
) z6 J: C0 w" w
#check_hash = no
6 o5 J  ?0 |3 N& E( J% a
) M/ ?- t0 v" d
7 f  u( r5 {7 E; y$ ^
                                                                                  T6 j' T8 I. V3 @% T
# Set whetever the client should try to connect to UDP trackers.3 k, d+ G% M$ p: Q" e; {

" s6 }: ]  V6 N) a, c' P#use_udp_trackers = yes
3 k0 R. [( F3 \% D- U1 n
( f6 s0 a, K( |3 @6 k
3 J8 r- m& T. _; G2 ]
                                                                      $ m% F! z# s! b! {( m
# Alternative calls to bind and ip that should handle dynamic ip's.
" ~( {1 ]+ r- B, s7 N) U- j

& R$ O8 c' `) ?: S! @  v% d#schedule = ip_tick,0,1800,ip=rakshasa
. s8 K! f! `5 B; \; b1 n

% N! e! a$ R0 Y% v: i4 J/ v" p9 a' t: E" o#schedule = bind_tick,0,1800,bind=rakshasa
7 V2 V+ ]9 F5 b) c- i
: {( g" j; t$ B0 R, ^% F
                                                                                ; ^7 g1 `6 S( B
#5 T' ]3 F( K: A  G# s  X  h5 C
7 y4 x- l4 I7 U" P3 |# t
# Do not modify the following parameters unless you know what you're doing.- L( Q( {% w6 R  C/ a& G8 \, H

& U5 @7 r% O& Y, }- X" K# c2 l9 r#
' w$ ~% {3 s% a, \3 C2 C2 ?

2 C; Z+ k/ z+ p6 F                                                                            0 z$ q! Y) ~: ~  s  N, y
# Hash read-ahead controls how many MB to request the kernel to read
+ P0 x/ z  N* q; E

' ?# L6 k% \' b3 B. S* j# ahead. If the value is too low the disk may not be fully utilized,
, s% V: ^/ e7 c2 x# h

9 b7 h: [9 n5 N. z, D& j7 @# while if too high the kernel might not be able to keep the read6 O! G. \2 V: v3 `
9 A. V7 E6 l8 l# v
# pages in memory thus end up trashing.
4 U! q" d1 |3 Z. b, R/ z( {4 J- o
0 _9 f6 L  Z# p9 B; Z
#hash_read_ahead = 10
- b2 i3 r9 T7 v$ F* c0 x9 X: K

; h: ]& C2 i4 o0 Y                                                                                
* t# ?5 y7 {% S  W0 F# Interval between attempts to check the hash, in milliseconds.) k; y9 n, u- G+ X$ b: s
: D) o) X0 r& ~2 D
#hash_interval = 100 % T, q1 ~. e% f! W8 D

- Y; X0 U: f8 T  ^) o                                                                                
( x! `. t1 T0 l% s# Number of attempts to check the hash while using the mincore status,
+ `) U6 {% k! }6 C7 C. d) h! y
6 ~+ q1 l& p, g
# before forcing. Overworked systems might need lower values to get a
; b& |) A. n+ G* P7 M

) D: ^& j' X& ]" E1 ~* ^2 D  o# decent hash checking rate.
* C5 |; O0 N5 g, I7 F. k
& c& G: T& Y9 @4 ]- u$ b0 V$ }
#hash_max_tries = 10
# G2 |) C0 @6 I2 S8 s
+ G. L; x6 _! {( g
- x& N9 _" m: p0 d; j# X
  v$ Z+ A1 m) r* ]# @% `
8 N" g5 Y/ e; Q& O9 r# b) S7 z
# Max number of files to keep open simultaniously.
$ c" r. i. V) @; S$ u  v
) e# K* U! ~# s7 A9 f
#max_open_files = 128
+ }+ }9 r( n) b$ c$ K
1 u: w* W/ }6 }( O, N( T

# e2 |# \$ A7 p4 v9 l' A, t
* A1 ~4 @8 ?$ T; |+ O: I; ^
2 n4 g0 M% v2 s" e/ e
# Number of sockets to simultaneously keep open.2 f8 O3 U" d9 T5 y: z* X

6 R# V8 m9 ^, I8 Y' l#max_open_sockets = <no default>
/ o; h( D- L9 }# i

+ g+ H# L- n( I' @: m+ H( n4 R                                                                                
/ E: _" V  T: u  g# m5 R
" b5 m8 w: ~1 M' H7 ^/ z$ F# t# C
5 P# k$ O7 o" _# \- {2 B

! |2 S4 \6 A+ n' B" ~; W# Example of scheduling commands: Switch between two ip's every 5
" U& t7 Z8 z6 @* g
; l; y& b7 t+ m% B# j# t
# seconds.
: r$ z2 {3 @0 n8 }" A  |, k
- w  Z) Q: W8 g
#schedule = "ip_tick1,5,10,ip=torretta"9 N5 N% x- C4 a/ Y/ H

6 r& f# Z2 |4 W* ~& D- G#schedule = "ip_tick2,10,10,ip=lampedusa"
/ ]- S+ E. @  \- w( p

4 Y* p4 G, b0 I+ i9 l% z                                                                                : W3 J4 c: X( U* J8 v- t$ _
# Remove a scheduled event.: q" c$ o8 _! Q) ]5 o$ s! K. U
" p% v4 |4 O- [  c2 @

. L5 d% A  o7 @3 ^#schedule_remove = "ip_tick1"
5 i, k& `' ]* _$ F% M) o

% x6 O8 l0 n9 e                                                                                % K( I+ c+ ^$ L. T, j
# Stop torrents when reaching upload ratio in percent,9 c" e( R/ P% q# |: {

) X# f: ]# t: a) [& Y, t

0 I( t! @) E* s" e7 I# U# when also reaching total upload in bytes, or when2 O" I0 Q4 t6 U( q( P  G+ ?% P
# B4 J+ D* Z; T- T- o
# reaching final upload ratio in percent., p& L5 f: C% l5 b& T
6 c8 ], ]7 ?+ v! c8 h( Q
# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0% Z: S8 F! e) b' x! o$ F
+ r# ]# G+ O0 V0 j6 {# H. }
#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"
  N( C* R; }# P9 u2 ^) P

0 }: ?( H. \& ischedule = ratio,30,60,stop_on_ratio=200" B% t, d' C. z- U
8 e# f( R2 t  _* ^
                                                                                6 b' Q4 W3 r$ }& L
2 L) R  _6 i. y9 _) k, G% D

7 b$ F; E( T/ i, @. K
' h1 V; k+ l% V5 ?; r- l! P- X
# Encryption options, set to none (default) or any combination of the following:; @8 y) Z+ @- B. v4 C/ T/ i! h

- H# I2 }. ~# o# `: O# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
( |. U9 L! j7 }- n#- a* R, A/ [9 N# c

8 e3 a0 `! z6 ^) f  D9 m

8 U' h. {6 s/ S8 Q) @; E- p1 S1 g! T# The example value allows incoming encrypted connections, starts unencrypted
- f% ?) J  ~- {; X5 }

# O7 `/ g( Q6 Q' e# outgoing connections but retries with encryption if they fail, preferring8 {' @5 `6 M2 s6 V0 h1 y% q! H

7 X9 b- y' U2 p  B  {( F$ k# plaintext to RC4 encryption after the encrypted handshake
2 C1 F0 ^' f( Z' H% o& J8 W2 ^% _

0 e( V1 X' H' I' c2 Q#2 y9 w( x$ d5 [9 Z5 B
2 t$ X! y; G4 q3 g
# encryption = allow_incoming,enable_retry,prefer_plaintext( N2 f: c' ^) R6 w3 `: ]4 Y
. n, V9 f( ~" F2 X  o7 o% P9 G
) M9 P- \8 t/ o" D

  n" t) l+ t5 R1 Y% l/ ]3 p

# D  L% n5 ]5 j) x5 i# Enable DHT support for trackerless torrents or when all trackers are down.6 q, ?+ J& w$ l3 v% w0 R, H
! ], ~8 I7 ^; \0 x& Q- V
# May be set to "disable" (completely disable DHT), "off" (do not start DHT),* e& m$ o6 i: ?1 t6 A2 f' l
" |$ r+ k0 \; V1 q6 i
# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).( H" m2 s& I4 S4 u

; i# `3 f/ V2 m$ d4 m9 b7 W# decent hash checking rate.
3 a- |3 O4 N6 ^- ~0 |! h5 k

  K, ]* f& q* T9 ~. [#hash_max_tries = 106 e. a* g" M# T1 @! T
8 @# s+ J9 I1 [. e

4 o; Z. W. ^% t  n. n5 ]1 v9 I4 }" {# V, o' V$ P
0 q5 l; H6 L; V/ H' f* i& r. M) x
# Max number of files to keep open simultaniously.
' Q7 |5 n9 a, y4 ^# N/ O: ?

6 }5 O5 T, Z% q$ e* [! h#max_open_files = 1284 E0 x( X7 B$ V8 {% \4 {" r

! j: b6 D2 H2 e; ?5 A$ B$ x, f& {* ^' Q, K) f# x- a

0 C# q# x5 o1 P6 J; c3 I. s
9 Y. W4 T0 E3 y! B# b5 {9 C
# Number of sockets to simultaneously keep open.0 K0 T0 h1 M9 \! a2 J/ O) T

  {8 |. s) w  X$ o3 H9 X$ \( e#max_open_sockets = <no default>0 F: o$ x) b' M

7 a8 e$ g( {9 t5 H
! d: m! [2 x, g7 x/ k0 b( Y" C% `# z& ^4 }1 k( D, L6 w0 q7 ^

. p5 ]) N1 o0 X4 C1 f" T% M                                                                             , a9 |# Q% g4 c9 o) j+ d' r* K! w0 g
# Example of scheduling commands: Switch between two ip's every 5
+ N4 `3 d+ ^" h: l9 w

; _! t7 {8 ^( ?$ o: y1 ~5 Y# r# seconds.
. U! Q: z5 p$ l& x( |3 z- h
! \: T- ~. n! W
#schedule = "ip_tick1,5,10,ip=torretta"
; t7 |4 t  l& @  U7 O) |6 K

0 R" l% w7 q) b; t6 M' U#schedule = "ip_tick2,10,10,ip=lampedusa": u5 I) \, C" N! _8 N& E
8 C* V" Y6 h* P: T0 S* t" M
                                                                                3 Q  i/ l* M7 R- Y3 G/ M
# Remove a scheduled event.
0 q, T( \3 m6 e$ }9 z: ?7 ^& y. z& \9 c: u% N

. n; `6 K$ X& }5 v#schedule_remove = "ip_tick1"  _2 d1 Z- D, Y6 H( d$ M8 [

& w7 L- X5 B% `2 i" S" y! y! z1 `                                                                                # [  [1 t* u# ]
# Stop torrents when reaching upload ratio in percent,8 U. S; A6 B+ s8 ~7 _

/ Y, C6 {# ~( l# when also reaching total upload in bytes, or when6 q; A4 F, Y: w
. R! i% r" @6 p9 l9 t
# reaching final upload ratio in percent.
( ~. d) k( s6 j9 V& b

; a& o$ F/ S. I; l: l# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0# n  j9 r# B9 X9 S4 l
. q! ?' N  i$ ]* b* w
#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"
! Y/ S- S  U0 ~( J" I
; W4 k" _8 j6 T2 E& J& d
schedule = ratio,30,60,stop_on_ratio=2004 M0 F/ @4 U# Z4 D9 @

+ a( A) k# X0 f0 b# ^9 p" F+ @5 O+ I0 l" |                                                                                
/ S: |8 d; \4 `& p5 M8 H; x# ^) f* \( S: O# U4 _
8 ]: a* ?0 y% D$ Y1 ^5 U

. G+ t% K: c$ h; S+ U* v# Encryption options, set to none (default) or any combination of the following:' A! O, j' g* S. W1 ?8 ?

8 p8 P# r# p: L6 y# Y) m4 I9 d' N# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext* a$ ~( N' w, Q4 o) a
#
" s' D$ d) z) i! ^/ P4 U7 x8 Z9 A
8 k* n9 \6 G! J5 ?

2 K0 \8 n4 P  U( O0 b# The example value allows incoming encrypted connections, starts unencrypted
3 k* z+ Y4 q3 q* ~4 \: P% `9 b

9 G& [1 e. N% C& Z9 S# outgoing connections but retries with encryption if they fail, preferring6 _8 U# q0 a/ Y. |/ ?
% g5 l9 M- R  m: e1 e6 l! \
# plaintext to RC4 encryption after the encrypted handshake# G. O- I! {+ |0 n
0 [/ t+ o: b. ~6 i# i/ Y
#" T, X; m5 I2 t5 T/ ]' A

6 E& p& y6 y) r$ k# encryption = allow_incoming,enable_retry,prefer_plaintext
$ c1 B: J8 p  m; z# ~

$ q- F5 s- N1 r5 a( R7 |- Q$ _4 X) b( b9 Q/ L. i

& Y8 p- e+ D6 \0 J; Q
, a" y5 U4 ]& V- M+ B8 f5 u
# Enable DHT support for trackerless torrents or when all trackers are down.( u$ A2 E: F: J1 e2 [3 `3 y

6 J1 T2 t) `" F: W8 x# May be set to "disable" (completely disable DHT), "off" (do not start DHT),
4 ~# i8 n' {' s5 x6 Q

" w, c' C$ u) L' g7 J6 T. k# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
4 l4 [( c% }% g! n4 ^+ k
- r9 r: g$ N' ~  y2 u. D- v$ `
# The default is "off". For DHT to work, a session directory must be defined.* I8 Y- O* z9 Z" i7 W
" R. S6 U1 }6 v5 b2 m
#& t  E" X$ W/ Z
. ]& H8 l% _0 V
# dht = auto$ ]- ~( ^% Q+ Y8 r6 ?5 V: Z/ F& @
/ W* s# K% O7 ?2 E6 J
" o% q/ N8 J, L! W
use_udp_trackers=yes(???): b; a0 |  }1 ?+ n
encoding_list=UTF-8(设置中文)
8 z. B" w  X: g: m" `% ^umask=0000(设置权限)' m+ H7 G' z: V
dht=on(设置监听on
/ i, Q" \1 D% Odht_port=6778(监听端口)' W9 |0 A, }. d# w
peer_exchange=yes(种子交换)
. c9 r5 P2 G0 {$ v) g: g2 {#scgi_port = :5000
* Z5 S4 k; v0 W1 c; x

+ k9 I$ t( E7 K( w* X! A' y# UDP port to use for DHT.
* `$ r; |, T  t2 P/ v7 [, ^( F1 U) N0 I) A( j" m) y

2 Y# t% B$ M7 z8 j1 i5 @#1 S/ t6 L- X# r% x
1 S# D+ {) {* e. ?* A
# dht_port = 6881/ h! a  K* W8 h- ^; g

1 f/ c% F0 I7 Y; ]* f7 Y( o5 X" Z) c; a5 |3 D

3 @/ `' p: z/ q5 M

- w+ G6 O- z: T. C  W# Enable peer exchange (for torrents not marked private)
/ U% ?  m, n* V

' B) e! C0 D) [#$ I( p& D2 ]: _# @- Z4 u" W# f
0 ^* C/ Z  Y7 [6 j
# peer_exchange = yes! u  I4 s6 t  Z2 m) E4 p

4 k* P+ J+ l5 N- n

1 k* U' I# ^3 _8 K                                                                                    
/ |' D8 B* V5 L: E0 U#$ R+ f" I  ?4 ]
, o/ k& D% w! K
# Do not modify the following parameters unless you know what you're doing.% e, M9 {4 j2 o' v2 l* h
7 Z6 i0 I% t9 L4 A+ h

- L. A/ p% X! f: v6 ~#: o3 v  P8 k7 P$ E& X! W$ @. c1 ], A7 X

3 X- T8 h5 O% B: q+ o% Qscgi_port = 127.0.0.1:5000
( l5 D: V( ]5 e' }4 \( e- n
(设置GUI

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:16:30 | 显示全部楼层
/opt/etc/init.d/S99local2 W- V6 z3 Z' C5 {7 `" f! O

4 w+ N8 @) }' O  ]8 @#!/bin/sh/ X& f2 _6 U8 F/ K2 p' I
  a1 \4 [, ]3 `$ ^* u' Y- L

4 B) C3 }0 z4 O% E# S- Q. w8 N5 X, l4 \/ ?$ x4 p0 ?3 n
1 @9 d, z, K, z) Y3 t$ y2 V% Q+ w% r) y
export PATH=/opt/bin:/opt/sbin:${PATH}
- u4 i6 o) }' [5 P( Q' U
4 Y8 ~* p' M2 L% ^) V$ w" t
export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}- p1 V* \1 ~  h, D! J; D/ E/ q6 G
/ Q. r4 n! ]  t1 w) ]$ B

8 Y* L; u) ^: N* B* yexport HOME=/opt/root
- A1 J0 ~! c1 m( \$ O& o

3 A0 u0 _0 q6 s6 B2 F0 I1 O$ i) N4 texport LC_ALL=zh_CN.UTF-8
; R  V/ ~% U% ~5 X, N, q1 I  V: D4 z+ B0 f$ Q% r

  r+ L$ l  O. k' Z7 e4 |utelnetd -p 2323 &" R8 }( y+ E2 [
% E1 G7 b/ ]- ?& k) ^
/opt/bin/screen -d -m /opt/bin/rtorrent -n -o import=/opt/root/.rtorrent.rc. b% n, Z; S! U: v# N) j* f" _) ]
' P. |7 Q, |  {; T% S2 l
vsftpd, {- u( u! u9 n" t
(必须放在最后一行)7 t* E  ~5 R0 V3 a. f. \# |3 Y1 X# [
7 Y6 Y" u, j( o) y  [
( A1 {( P2 U6 m7 B4 w5 [
回复

使用道具 举报

发表于 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-7-14 00:54

Powered by Discuz! X3.5 Licensed

© 2001-2025 Discuz! Team.

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