找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1079|回复: 9

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

[复制链接]
发表于 2008-4-28 05:11:14 | 显示全部楼层 |阅读模式
功能强大的离谱,正在研究,该机可以实现BT下载(任意大小,支持中英文),FTP下载(暂时不知道如何设置权限),电驴下载(只能一个一个输入,且单文件无法超过4G,),花生壳,无论你在哪,都能找到自己家电脑;网上邻居,网络打印机(支持USB打印机,也就是每台机都能通过网络打印) 8 l7 }7 T# T' v非常小,非常省电,还有一个很好的优点:你开了BT+电驴,其他电脑上网和QQ都非常流畅,不像现在的BITCOMET、迅雷和EMULE,一开了就别想上网。 + y* C' J% t; U2 A3 k9 D: w% I大小长25,宽15,高5CM左右,和一个3.5寸硬盘盒一样大小,接路由器和电源就能用。安装完毕后所有操作基于TELNET和网页。, P; }9 M f4 ]7 O6 [7 T1 t; ] Y2 S$ ]8 m 还能构建HTTP和SQL论坛,这项我还没头绪。2 E# z1 }6 H/ ]3 _ 上个图。 " L# U4 B3 K6 K ) F9 D' ` B6 e* o

本帖子中包含更多资源

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

×
回复

使用道具 举报

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

使用道具 举报

 楼主| 发表于 2008-4-28 05:13:31 | 显示全部楼层
留点备用查询1 h3 C" {  V+ L0 `, n

; z4 M7 n' Y9 C/ @  u3 b5 Q一、硬盘重新写0/ U/ t3 z. J% @6 h4 e3 u2 \7 ^! f
1、如果MSS正常,则执行
" X1 Q' `- D$ h! Ndd if=/dev/zero of=/dev/ide/host2/bus0/target0/lun0/disc;
. _% @  J+ r; C5 b2、如果硬盘刚启用,则插盘清除分区后,用winhex0( O. Z4 z! r* a+ _% V+ M
二、改本地连接$ [0 K$ F* Q5 W9 a) n
ip 192.168.1.2 网关192.168.1.1! N5 L. |3 l& }- _
三、执行nasload.exe
$ ~* v. Y) K3 L% M  A( t
0 s' U1 M" [3 r5 ^) B$ x# L用户名admin,密码空8 u# o& x1 x% ?
四、设置机器名称,用户组名称,IP! |2 s& q# f8 h2 t8 u  D
五、刷新2.6.5. C! c- D0 b5 c% }. }0 W5 e
六、建立一个down文件夹
3 v6 W2 |9 b, X& F七、telnet 192.168.0.881 Y2 H  s$ E- g' B7 U" q
ipkg update
/ s$ E* g, R: ?9 C% ~" c# x! Fipkg list- X) C, {' ~( J5 h; g) V: G
ipkg install dropbear
( ]# w: D# b2 y* Nipkg install busybox
, |7 p: {/ ^1 d5 d9 T修改root 密码
3 b/ c& I! e; i* `7 @& S# @/opt/bin/passwd root
8 T, [+ N4 L4 Y& }1 A
- @% z: O6 Z4 H! N9 @4 y) U八、使用  进入
: `' o9 ~: G+ W0 scp /opt/bin/busybox /opt/ * i$ |5 e$ H0 |" G
(将busybox/opt/bin文件中复制到/opt/6 c5 P. U1 a( b+ m+ B2 a

2 Z# T# a) f" i安装oleg
* g3 C5 b1 q% v: V* P(1).将下载的opt.tar.gz放在mss的共享目录中(通过网上邻居进入,放在Public文件中)
3 B, e1 _: ]* x! B5 D* d% ]& S/ N(2).在根目录下执行/opt/bin/busybox tar zxvf /shares/mss-hdd/Public/opt.tar.gz
* D& V- f# x: F3 w/ B(3).执行下面两条命令0 N6 D0 n! @+ v7 a+ }
export PATH=/opt/bin:${PATH}7 p! G' Y2 C" T4 [% H
export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}
& S! d; a$ F) X% A3 j! Q4)将busybox恢复到/opt/bin目录下
& E! I5 R, o) x. u. s6 hcp /opt/busybox /opt/bin/
  c  R% R8 {5 z ' l. ^) G* h/ k. w' O* H
九、5. 安装和配置rtorrent(bt客户端)9 b5 k8 S3 E  N) J4 Y+ @- z: Q
1)安装
& R& g8 S1 v# q( N: S% f9 b! g: {ipkg update, O2 v* _0 W6 Z2 |. g4 b) T
ipkg install rtorrent" t- f4 Y! z) R& w7 K

3 o0 F$ ^+ m8 s3 ?5 q1 D# x0 S. B  b3 ]% D0 M
2)设置4 C/ o( a% D- _3 Z6 k
3
% ^1 ~0 |' u% x5 i% {mkdir /opt/root
- V. R3 G: y# k* b4 W! t$ V. [cp /opt/etc/rtorrent.conf /opt/root/.rtorrent.rc
- p0 z5 m2 k; Lexport HOME=/opt/root
, c8 M. v& S. U* qrtorrent. d9 U7 M" m2 p( C3 j3 Y8 \2 G+ z
看是否成功+ R: ^5 a9 n- ~: x; j% g& ]

! [3 L6 g% R* i) }" i, c7 a4 hipkg install screen
! ?  A7 J+ ^  ~- h/ K& y5 u/ A, G; x
2 N; K( N6 [6 N8 d
screen0 h7 v  T7 E6 U: [3 C5 ~4 D
然后回车
4 I* m# s9 s- u# G) O. Rrtorrent$ E' G4 }& l2 c# M' e8 e
ctrl+a然后+d,隐藏界面* G* @! U0 }  ~, j/ n
十、安装配置vsftpd(FTP服务器)
+ Z# e) F: \. Z# Aipkg install vsftpd
0 z) O4 Y7 u& n, z; Q8 o' a: e' S: F
/opt/bin/passwd 用户名, ?/ ]! ^0 Z, M% M' _% \2 w. v! e
修改用户名登录目录" k0 J' t: o% N! \$ a
vi /etc/passwd+ n" \( k( J6 X5 `4 Y2 _& ?
/ e& \  N' i0 ?0 \7 @9 b
添加可以登录FTP服务器的用户名
1 N0 J& ~* P& V& `1 P7 b; vvi /opt/etc/vsftpd.user_list
; X8 ^6 i3 f1 M0 D4 l8 j" I添加要登录FTP的用户名称
/ I: h3 J# Z! ~# X* F; W! V( `8 n配置FTP服务
, U9 E- K( U+ S0 [- L3 }vi /opt/etc/vsftpd.conf& t2 ~' i( w8 k7 O
在最后加上一行:& J) f- f4 Y" I- S* d  l7 ]
5 P1 A7 P2 h# `* [5 Z+ G; x

8 r) R7 w& n/ W, j2 i" a: g8 W) u/opt/etc中建立文件% T6 O$ W6 @/ [5 n2 ?
mkdir vsftpd_user_config
  A7 o* R  n8 V进入该目录
. @" L2 B2 R" U' Gcd vsftpd_user_config
7 A1 ]" ]4 k. Z) k4 K5 _# a建立两个和用户名相同的文件* ?* k# V; k; u* u  v' ]1 [0 s
vi 用户名4 Z, X& M4 N  R( h% F8 _
在只读权限用户里面添加, P0 m4 Q/ J4 }) S1 G
) P& f8 R5 R( g6 ]& S
重新启动硬盘盒- p( v* ?" a) R0 C

: S$ ?; D; H4 S3 `十一、设置动态dns; n+ I5 x1 V" |# C. ^1 n
ipkg update; p* t" @+ C$ z( \; p  T7 N
ipkg install inadyn; j* m2 a0 q' K% t, V' u( U
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
$ e4 ]5 N1 ^4 V6 I5 v
: M0 W5 ~! Y' y' @8 u& x* Q8 n十二、电驴
& h, U: k1 Z: O- U/ C/ o: qmlnet.rar内的optlib.tar.gz放到MSSPublic目录里
1 D7 d% n6 S7 }2 t. I; R5 G" p/opt/bin/tar zxvf /shares/mss-hdd/Public/optlib.tar.gz
2 H$ }6 @( R; \: ]cp /shares/mss-hdd/Public/mlnet.lite /opt/bin; ^+ V9 i5 `4 u& ~
chmod +x /opt/bin/mlnet.lite
1 Z7 r; N4 P0 U6 avi /opt/etc/init.d/mlnet9 Z8 l% o) t6 E  Z, Y
#!/bin/sh
1 ^& n, n) @8 w1 W2 U) D2 sif [ -n "`pidof mlnet.lite`" ]; then
' G' Z' Q/ E! N6 _7 h" H2 P, z3 D  U! C
echo "Kill old program..."

2 U# s1 y0 Y; B9 `
3 @% }' Q" C# ^2 K$ k$ x; u* m& i6 M/ Dkillall mlnet.lite&

8 p! U: {4 G4 D7 {6 L) |( [( X% p3 |4 }* d1 W2 F6 s
sleep 10

9 F$ Z: V/ D# Z' N1 A" ffi, a" }+ V7 K, D& L" ~
export HOME=/opt/root& P" k& o. H* Q
export LC_ALL=zh_CN.UTF-8" u' z+ @0 c0 G* E0 l  g
rm /opt/root/.mldonkey/*.tmp 2>/dev/null; ^; a- o( i- H) ?
rm /opt/root/.mldonkey/mlnet.log 2>/dev/null4 ^" N. @$ P" e0 N
rm /opt/root/.mldonkey/*.pid 2>/dev/null0 ]2 S( H) {" Q
/opt/bin/mlnet.lite&
- s8 }; U3 r' i! S! ?
' L* ~1 Q: u/ f" c% t+ f+ ^chmod +x /opt/etc/init.d/mlnet
$ G8 r' _( P7 @% B9 }
0 }# ~& U4 O0 @+ L执行/opt/etc/init.d/mlnet* G0 e3 L* R2 L, T
命令killall mlnet.lite5 k$ X' B. w5 U$ H6 H
  J+ Q9 G2 e4 [1 h( b4 e
解压缩以后得到servers.inidownloads.ini Winscp扔到/opt/root/.mldonkey下面覆盖源文件3 ~2 _: Z; G/ l, W9 ^

4 \% n' Z* ~2 i# nvi /opt/root/.mldonkey. X) m( m  R  O8 l) z/ P0 A
修改356408
2 R+ r, ]4 T: c) |temp_directory = temp
. @  z9 ]4 d1 z6 p2 F! T记得加""双引号如 temp_directory = "/shares/mss-hdd/Public/mlnet/temp"& T$ L0 t5 o# }+ D6 y
修改第408 dirname = "incoming/files"
9 A+ S0 q: C4 ~# ` dirname = "/shares/mss-hdd/Public/mlnet/files"
; z& |! `6 S, q+ c, i+ J运行/opt/etc/init.d/mlnet
$ y( L; l+ \/ U$ ?5 \9 `& ?7 c& _

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:15:16 | 显示全部楼层
我的MSS-BT的CONF.doc
4 Q3 q  o' U2 U0 A& B) U9 j4 j  p& T+ Q4 Y
/opt/etc/rtorrent.conf) j3 u3 m) \0 c. H
/opt/root/.rtorrent.rc- T6 x& g* L  F7 s
" u+ I, O0 k6 [
# This is an example resource file for rTorrent. Copy to
2 ~. v3 c0 c( h2 T# ~, ]/ H3 D# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
6 W. {. b6 o; v! N8 C4 X# uncomment the options you wish to enable.
- z# Z& \% g2 t% _$ f ' o3 {& M0 b  T9 S! T
# Minumum amount of peers to connect per torrent, if available.(最小种子)
/ K, V& `0 H, v7 O* I$ Emin_peers = 40
; Z/ q; ]% P  E* i( t( t2 O% e
& w- y  {  V: H# Minumum amount of peers to connect per torrent.(最大种子)
3 }  x6 |7 w: C' p" Rmax_peers = 250
4 m1 @. T7 S% ?0 V* f( T& d 4 ~7 V8 V: j( O
# Same as above but for seeding completed torrents (-1 = same as downloading)7 \2 F" ^4 j% A6 E& ?
#min_peers_seed = 10
8 P, p8 U! z; l+ b* ~#max_peers_seed = 508 U2 E1 F- \: l% c% p

' p  R$ z2 m: T, F- T7 h5 p# Maximum number of simultanious uploads per torrent.(最大上传种子)
+ X. n1 K$ N% g# {6 Omax_uploads = 15
1 D  u5 h4 F! h8 {# Y# W5 ?% M ; t( ~4 Z" J0 ^# v
# Global download rate in KiB. "0" for unlimited.(下载速率)% F9 ~  S2 E# N3 j
download_rate = 200$ u# M  |/ `! w: }; C
7 D6 E$ \1 Z* v6 v7 ?7 ?- _
# Global upload rate in KiB. "0" for unlimited.(上传速率)
' X& i0 O% }+ M9 p1 b/ Nupload_rate = 30% L: N5 H) N, c% t5 a9 K! n  c

/ L  `6 I3 j  F# Y# Default directory to save downloaded files. Note it doesn't support
- r8 F5 ^) T6 ^5 Z: i9 F# space yet.
0 e  h" z% i$ f) ]; sdirectory = /shares/mss-hdd/down
6 H* y' ]1 K! H; h, A/ {! R# \ : i& N. M5 b8 k. S/ e, ^. W
# Watch a directory for new torrents, and stop those that have been deleted.
& @; C/ Z) v/ k2 K( S
0 K$ Y( V, [5 m' l" R. e2 x/ v, Hschedule = untied_directory,5,5,stop_untied=- l: d" Y% D9 Y% x, Z, m
- C; @5 ^7 C# K. o+ M4 r# ^# D' @
# Close torrents when diskspace is low.$ u0 P! }5 k, n& j
#schedule = low_diskspace,5,60,close_low_diskspace=100M1 @& S% ^# h. _, u6 l3 R3 V
9 j' V  r. D% {- m0 w
# Default session directory. Make sure you don't run multiple instance, K. x0 ^% h' v  {! G
# of rtorrent using the same session directory. Perhaps using a: s7 N' V6 r8 s% w- v; w: y  h' h0 w" X
# relative path?0 {0 B: h, r' s2 K* S
session = /shares/mss-hdd/down/session2 ?' C' W4 }& z1 ]
schedule = watch_directory,5,5,load_start=/shares/mss-hdd/down/torrent/*.torrent: v" ~& _! U$ Q
" s) |; |) ^' E- A7 j
# The ip address reported to the tracker.
: l# L/ u# T9 M: l. C
" H" w- {$ u; j) ]
#ip = rakshasa8 Z  H0 k/ E2 M& k9 f; h* L, L" P

: n# E% U+ I# M7 R8 |4 T' l/ i9 B1 ?( k6 b

6 T3 U) k2 M8 r  D

% x9 p5 r/ F. K& G# The ip address the listening socket and outgoing connections is
2 V' K3 Z5 d6 B* p. }! }! V! k  Y

1 z" D) L0 a% U  T# l$ p# bound to.
* S+ r: t- m( D+ S

2 {& J: _( b) ?' Y9 \, E/ l# I#bind = rakshasa7 Q; Y$ ~& v+ i. p! l" x
7 r. u7 p, w8 ~

9 E( e' R* i& I: H$ r                                                                                / \; h( D! T9 v/ L% D' d: B
# Port range to use for listening." W* M$ P3 M. }
+ Y+ i8 Q  n  k( Q- _
port_range = 51777-51780
/ [8 V6 [; r7 g0 j: v) e

$ G. G7 E2 Q1 p9 E: T! ~" W! `3 j6 u, |& _/ H

& ~* J. Z6 j4 |* t( J

. O5 r, K! T# M! g3 w2 M$ P# Start opening ports at a random position within the port range.
2 v0 [% x+ F& R1 |
6 q/ S: F" ]( W* m
#port_random = no
& I! O. N* R: ~+ ]

8 z: n2 E, Z, x" }7 [( I; V7 H2 m6 M' i5 J5 d/ m6 a4 E3 A
9 e3 N" U4 \% ^, f9 j
9 D0 I* X0 D6 ^9 A
# Check hash for finished torrents. Might be usefull until the bug is
7 M) C  @% L7 {3 Y2 ]
" J- J' D2 X1 r( ]9 h9 u; B
# fixed that causes lack of diskspace not to be properly reported.8 T* w: @9 y/ l" P

" g3 J% j% z0 i% ~) S$ t#check_hash = no
6 S5 P6 z/ p# r$ m9 [/ _1 o! O5 a) M6 I. h/ h1 }6 K7 C

# i& G! i) Y( }+ W4 f& H                                                                                
, R" x: b5 n9 X) H  f% a# Set whetever the client should try to connect to UDP trackers.
# S% Z* w, u; x) W* c5 H& s2 P

/ f4 X( f+ n9 _5 Z* p#use_udp_trackers = yes* o4 j. N$ m4 _, R6 n2 [
: X( o/ I- v; `; P7 O% x) Z- h
* Y: m' w3 O& b  `  g; _
                                                                     
) c/ w, I( I! N) I# Alternative calls to bind and ip that should handle dynamic ip's.4 B0 l8 p8 D" X) x9 U4 v
2 ]8 ]* |/ y) I" n& e% z! K. l
#schedule = ip_tick,0,1800,ip=rakshasa, k8 z, P! D; y( s  P0 E9 K
4 L* n: h5 l! D1 C: V- Y) D
#schedule = bind_tick,0,1800,bind=rakshasa5 g/ [. @- }, l8 U. `

1 j6 G$ B: V2 v" }7 d/ k' K+ a1 q                                                                                
5 X$ ^, u, i& }4 j% u#; P* p+ [1 ~& N

& L: c: Z% g8 l% A" w+ |# Do not modify the following parameters unless you know what you're doing.! ?, W1 \- z( g0 ^( E; F

5 ?" E# U( ]' u$ s$ b1 a#, r' f& w4 {) J* w0 o

1 c1 k% o3 \! W                                                                            . v9 _- l- P8 W- Z' k$ g  n
# Hash read-ahead controls how many MB to request the kernel to read
! o7 u6 T) }/ P4 I0 C) c0 I& f
+ |, P* [5 \7 |( I4 `; F% i0 X
# ahead. If the value is too low the disk may not be fully utilized,+ s$ ^& g! q' ?
) {7 j2 j1 D  E( N6 V/ H
# while if too high the kernel might not be able to keep the read9 w% h, L$ r8 V+ M. S

4 w: |1 E0 j$ R3 J" X9 c% b# pages in memory thus end up trashing.
* l/ R5 p1 S2 j8 {4 t' w
& d6 H, I1 s0 Z5 C
#hash_read_ahead = 10* N. ]7 e6 r. q+ W8 a, t
1 u9 Y) _2 R  m8 q' l
                                                                                
. l1 O% x1 B/ Y5 ?# Interval between attempts to check the hash, in milliseconds.. v- j& j# y5 F6 u
5 X3 Y" y, C. }; g0 d3 i
#hash_interval = 100
0 F  h- J5 P$ z4 q; c4 t& h

$ p% A6 ?1 ^2 H2 n" y7 ?8 N                                                                                # K3 P; @) W$ s& I
# Number of attempts to check the hash while using the mincore status,7 \1 z" z" c: M3 H  j
; a% s+ L5 T4 t3 T
# before forcing. Overworked systems might need lower values to get a
; j# u& X; {- ^6 I

* R* I% L! E) L8 p6 q7 L5 p/ i# decent hash checking rate.
4 k) O2 [- x9 D0 w! j7 {( `4 ~( r
( s# n+ Y' w% S0 h" G) c  O
#hash_max_tries = 10
( `: H# W$ J  h5 Q8 w9 k% O
) _, w% ^( {+ r1 n+ U. q2 q( a
9 ]) f9 ?* h  j* K1 b' m0 l

1 q. S- e7 E& }. Z
2 o/ {5 a& w  R/ M, P. n
# Max number of files to keep open simultaniously.
; [  _' z; r6 m$ d$ E; m
# }" I5 m' ^( }  Q+ `! H8 @
#max_open_files = 128/ B8 w; a( Y. S' T
  g2 G. I+ B/ p) U) N7 K% o7 {  A$ @
) V! ?$ j5 T2 R/ i( A+ S

3 ?4 p# Q! o: j1 [$ p. I

+ C, q4 D4 V/ y3 r& n# Number of sockets to simultaneously keep open.
) y% x9 W9 [) L! K; e! y- l

  ?. o" E* W6 Y#max_open_sockets = <no default>
. q& {: T. A5 E: Z* }  b9 s

, m' [" Z! w) S; {: ?1 s* v) w                                                                                
, z5 x& W4 C2 @5 W; F% P3 ?$ X2 |  L: h( f1 a' l
- ^2 A) |0 N( o3 M, O1 S) Q
0 n. v& |  w! d  N
# Example of scheduling commands: Switch between two ip's every 5
( H- i; N# R# N% W! o, D1 C- w9 \
# F: j- B+ z3 e' V' K3 ~  G2 X
# seconds.# N; t( ^) t) I* N5 r$ }/ E! [$ L
2 i% \0 p/ a3 m4 ]
#schedule = "ip_tick1,5,10,ip=torretta"- R. I$ Z0 j$ B

; E5 y( Q& K6 c* F2 ]#schedule = "ip_tick2,10,10,ip=lampedusa"
8 r* r" x8 `7 l6 r+ X

$ a+ ]) u9 [# G1 u                                                                                % g2 f; ~5 \; h0 [
# Remove a scheduled event.
/ R1 b/ ?, E) a0 O: B3 h' ?
# C8 i$ P, p8 F( v' h' l- j8 Y: m
  \  z3 d* U1 [9 G' z
#schedule_remove = "ip_tick1", p  Y7 T7 V- H/ m

% |" h8 e, k! t3 [, C. R                                                                                ! j$ N' j% }" T; e$ {4 v  b! b
# Stop torrents when reaching upload ratio in percent,5 Y' @6 R# N% @# k
" f+ N* ~) K- X2 d

0 j7 E  K& |0 B& k* X2 B( h( W# when also reaching total upload in bytes, or when
' D: i! j; d3 W  T  w4 x9 P/ k7 j

# D( L9 z# m. l' z, g' X7 ~# reaching final upload ratio in percent.
- |7 `& |' F! V3 U

# ?) I2 c# S' V# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.06 \6 P8 B2 P; B! i/ o& y

$ t" j: ]7 v5 F5 M7 u3 q#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"
! K) `/ Z& N2 d$ _' \
8 n+ I8 t* O5 J5 W$ \
schedule = ratio,30,60,stop_on_ratio=200; l+ v& \  R2 H7 e! W
/ O. f! h- W6 t3 R8 u
                                                                                
" {  E1 F6 M5 ~2 Q) M& C  j; m9 r0 `

# _+ a$ d& d; w( `4 {1 G

$ g# f2 h% m: O# Encryption options, set to none (default) or any combination of the following:
% X8 v  I' r5 p9 K  ~: ^7 G8 I

. p% r7 ^- ]2 A$ x# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext( w: N* C/ c4 u, A: l- \4 u3 K
#
1 i( X2 U# Z, n0 t
  ?, G- t+ o# V7 |

& @2 a5 Q, _- e/ @( S" ?" v0 Z) [# The example value allows incoming encrypted connections, starts unencrypted
1 b+ _2 }5 h1 F4 O) U

3 ?! c2 ~6 _* E6 m% f" U# outgoing connections but retries with encryption if they fail, preferring
# N2 A5 f- S; b, h8 A3 H- t
0 c! Q) G8 a4 W. F: Z5 e2 ^
# plaintext to RC4 encryption after the encrypted handshake
& }+ M/ e3 ~% F
- w' H0 }1 `* u: Z
#
4 F) Z* n5 q, k) N" L+ U/ g/ m

/ Z8 h8 R' P6 I/ `2 H8 E1 t* ]# encryption = allow_incoming,enable_retry,prefer_plaintext+ q2 [3 k, y( P* j
% I5 Q2 D4 o1 ]  k# S/ \
2 y% Z  G- X% l+ o! f, a

# U$ Y3 N0 R% M

4 u3 Z! q% t* d: \# s# c# Enable DHT support for trackerless torrents or when all trackers are down." x* o" [+ ^" S. n+ r; `# X

. M: Y( l8 V( |( L1 a7 b+ a# May be set to "disable" (completely disable DHT), "off" (do not start DHT),
& {  W, F9 L  R9 Y$ b$ O

0 t8 I6 J1 b/ r  o  A# P# M7 _# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
' d) O7 N% u, t1 b# x1 t" Y$ R
' g. v1 y; E6 y1 H+ m$ E3 W. p
# decent hash checking rate.9 |/ O3 ~0 R/ q7 E' N# X+ {
- o4 ]; V1 h7 g2 K8 i: }
#hash_max_tries = 109 r4 L3 I: \& H) p

9 M' t4 F9 l. n: F3 I* T
0 I$ F/ \3 o/ N1 w
6 R! ^+ r" j+ S# J+ B2 a6 k

' A5 z& h! K' p, g8 W7 d# Max number of files to keep open simultaniously.& {' h9 Y) I, _5 k$ E

# g- W$ ?% P% E#max_open_files = 128
+ M/ t& L* U  h3 J% t: s6 G, |

8 t+ [2 I* W0 R; x7 j: T7 V  y1 Y& u

& _* m+ v( x( O9 q
4 r) j( V+ b9 L  m1 q# \, @/ M3 L
# Number of sockets to simultaneously keep open.
! N' \" c* y# _6 i  M3 h
2 v- h- Z/ f5 {4 d! u8 B
#max_open_sockets = <no default>
6 ]0 i7 y2 a5 R; I2 G7 M8 e
9 e* V4 {; o, M" Z" z% F+ p
9 T; z4 j5 x# B( Y

* L2 e# ]$ Q& }; @

2 i0 B( w! i" |, T( u& I                                                                             
& }9 E. L( T  y. `2 j' ^# Example of scheduling commands: Switch between two ip's every 5
5 e! D) H% _% n1 N* B; @
/ E. O+ a; f7 s$ b' {
# seconds.7 ?9 q6 q1 z5 T7 w- {! ~
9 ]: X  r# Z2 m7 v- `6 o, Q! _. d0 M& {
#schedule = "ip_tick1,5,10,ip=torretta"! i1 e2 y: h% I& B/ T+ R9 w- y; X

& A# R6 n+ r  f# v7 X#schedule = "ip_tick2,10,10,ip=lampedusa"; {, @" Q4 o9 s0 y/ I

* S+ @$ v4 s0 Z* O, [, K                                                                                
! I) ]5 Y' q4 u& A" F# Remove a scheduled event.* X7 P( w$ G9 v" t" I
3 w' e9 |6 z0 \, ]. V3 U4 Q

# _5 O; n: D0 C- L  @$ t#schedule_remove = "ip_tick1"4 s) ^. A# F; `# X7 b% V
7 r7 c7 e' M& g7 w2 H, h
                                                                                ' t# \& U& z- N/ k
# Stop torrents when reaching upload ratio in percent,  n; d3 g7 X9 D; l- Y( J

! q# O6 ]9 [0 c& y* q2 m# when also reaching total upload in bytes, or when% G% u/ f4 C8 `  c( f

0 J/ p$ C* v# a. G, J; @# reaching final upload ratio in percent.8 ^; Y9 ^# a% U; \/ }2 Z
; t' f. W' Z) s2 s- V9 ~
# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
# b3 G2 Q4 s& g$ z7 U
: s% M, R1 o) ?  t# Y8 G7 ~4 f5 t( o
#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"3 E9 ?, r8 n: i  `/ A4 C) |
5 ?8 Y" ?9 @6 }3 d
schedule = ratio,30,60,stop_on_ratio=2007 C- e& ~: L% @2 l% z) G: r; p' z
) z1 `% l9 g( z* [( b3 ]% Y
                                                                                , p- k" Y3 A# J7 U

  U) w' f& }' L3 m2 e1 A$ @1 @* v9 A7 F$ Q- D% Q) x
) d/ G% q  e3 r
# Encryption options, set to none (default) or any combination of the following:3 W$ v( N5 |; C: e  X
; d. p2 C" e  K' p
# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
# `$ O0 o  C: u#
* @5 q( o* u! Y+ R8 w  n7 V2 v% W) p6 ?
7 h" D1 Y/ u* `0 k1 i
# The example value allows incoming encrypted connections, starts unencrypted
; Z! f/ c( d1 @/ e

! v6 e7 N  b: |8 W. o# outgoing connections but retries with encryption if they fail, preferring/ D* M- ?* R; P3 w5 o

* [! N, L$ r+ @6 X! z9 R# plaintext to RC4 encryption after the encrypted handshake  p4 U5 c9 K$ s

5 d, d) @% \8 S/ i5 @8 m, u#
) x( Z% ^2 S8 ]0 g  ]- g

0 E& |" `6 d, `- r2 s# encryption = allow_incoming,enable_retry,prefer_plaintext
- i/ F( x+ E- V! o$ n8 B: F, b
1 T* [! f( O" I" _& |( _
) n6 y, _% A2 R% q/ [7 m( m/ i/ S

+ {* n/ N1 G# M3 I/ Z

$ h2 q& |5 E/ m# Enable DHT support for trackerless torrents or when all trackers are down.7 q5 C) C5 R# U) m2 {6 r

* s; B$ f" c( q# May be set to "disable" (completely disable DHT), "off" (do not start DHT),, a8 F- v' {  H8 D, I0 b( ^& \0 H  I

( B" d% W. {" G, A' u7 t# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
, K8 ^- i# f, B  |# _' s
: j, L: q- a: Q) [) E
# The default is "off". For DHT to work, a session directory must be defined.. S. R$ U' G; e3 H

! A$ \5 l; u1 n, ~9 U% h5 _#$ g. w/ _) M6 F" d9 Z, P
, C* C$ ?2 ]7 ^) Z+ Y0 @1 K9 i
# dht = auto
, K7 B9 X/ y! f
' |/ {5 ?( e' U4 [9 R
4 Z( m/ R- X  F! S( T: Z/ w
use_udp_trackers=yes(???)* L7 R, w/ w5 a) T4 O
encoding_list=UTF-8(设置中文)
$ c, w1 c! S% v* b+ gumask=0000(设置权限)- g2 m% `. y3 f# P7 j$ g/ }
dht=on(设置监听on
% I# T4 D- t2 ~. E, s" |$ {dht_port=6778(监听端口)
) e& V+ ^5 d! H9 ipeer_exchange=yes(种子交换)5 H2 B' w1 f( T$ z
#scgi_port = :50000 H$ m: a! y; \1 M" }

) z# Y- ~# j5 {; T6 L; u( W3 t# UDP port to use for DHT.: t4 \6 U+ X  m- j
  m1 ^7 [4 E* @8 m/ N9 Z% Z

# [/ W6 W* F# M* x* _+ ~#3 \3 ?* x( Z& S
# ?. X1 g& @/ i' T1 N. n  J& K% Z
# dht_port = 6881
4 |! L/ k0 {8 ]4 K; @2 O6 i( p

2 z. i) n/ s8 R+ {9 {  l; _! L" |" M4 O

- g+ d; w" Y+ d, ]$ r' d' s( i
+ r/ m. e; J+ H' p0 {
# Enable peer exchange (for torrents not marked private)
5 D1 B$ O* d! n/ q! }# P1 s
/ K1 }* P# B- i, a
#2 E$ r  j/ o3 ~: O
4 s' y/ k% Z2 ~+ b7 O5 a. o
# peer_exchange = yes, i% v" v6 Q$ `6 e

, ]' h" k5 H, D" O

2 C) [% l( h( D  r) F                                                                                    $ W. c5 r& p" @( s8 D
#4 B: m/ _$ \# }
8 K+ b7 ]% \6 f5 i' k" t
# Do not modify the following parameters unless you know what you're doing.4 i- A8 h0 R8 O6 S" V

8 m( I) O$ a8 ^
- _7 v  n  T; \3 t" Q6 ?* P; k
#1 }) j) e; H/ Z3 r% K9 g
+ r- \7 A# l+ d8 ^& D7 j: k
scgi_port = 127.0.0.1:5000
% a6 O' J9 \, W' ^+ p$ k* S! J
(设置GUI

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:16:30 | 显示全部楼层
/opt/etc/init.d/S99local2 m! Z6 \) D2 K6 d

$ s3 b( }% ~/ o9 M! ~' o6 c#!/bin/sh
6 k. W( y7 M% [5 {% ~$ q% n$ y

+ o- x& X2 y! c/ b" R6 o3 k4 J8 k" c& e# A( K
0 z* @6 x2 \3 C+ M! A! l6 R

, U( z$ j' R" D8 d8 |7 B0 V) x/ Nexport PATH=/opt/bin:/opt/sbin:${PATH}: d$ F2 ^3 i: v6 g
: h( s$ t  F( s7 [
export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}
7 P- a/ w7 l+ B' A, v7 t. G
, {4 @" ^" V( N9 g$ j

; ]5 }1 O+ v% M1 x9 y" zexport HOME=/opt/root4 [7 w8 e6 a% f  |! ]! @7 J

& n0 c* r$ @. }0 r% jexport LC_ALL=zh_CN.UTF-8) b3 x$ R3 }# v. D- s; l, @0 i0 {
4 W4 ]# V% B! ]( o
. q; [3 F  p" x" P2 u, R4 A
utelnetd -p 2323 &, O* a4 d; Q- @/ k' p1 L1 v
9 W+ I/ E; v4 ]9 u: S0 v
/opt/bin/screen -d -m /opt/bin/rtorrent -n -o import=/opt/root/.rtorrent.rc! A. C# _. K. D) g

2 o* h! z. ?4 l) Y5 R& q' Xvsftpd
6 r0 W/ H  }8 ^8 E- W8 g$ ^, v
(必须放在最后一行)
. G7 o7 s: a/ Z1 ]3 x' e0 s
$ v* W* `- D9 p" k 7 d7 V0 ~+ E2 f' J( x
回复

使用道具 举报

发表于 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, 2026-7-28 02:48

Powered by Discuz! X5.0 Licensed

© 2001-2026 Discuz! Team.

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