找回密码
 注册

QQ登录

只需一步,快速开始

查看: 868|回复: 9

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

[复制链接]
发表于 2008-4-28 05:11:14 | 显示全部楼层 |阅读模式
功能强大的离谱,正在研究,该机可以实现BT下载(任意大小,支持中英文),FTP下载(暂时不知道如何设置权限),电驴下载(只能一个一个输入,且单文件无法超过4G,),花生壳,无论你在哪,都能找到自己家电脑;网上邻居,网络打印机(支持USB打印机,也就是每台机都能通过网络打印) " ]" z+ ?$ z1 F! X3 K* Y! V% Q+ A! R2 e非常小,非常省电,还有一个很好的优点:你开了BT+电驴,其他电脑上网和QQ都非常流畅,不像现在的BITCOMET、迅雷和EMULE,一开了就别想上网。8 I) [( l9 {6 U [ 大小长25,宽15,高5CM左右,和一个3.5寸硬盘盒一样大小,接路由器和电源就能用。安装完毕后所有操作基于TELNET和网页。 2 X" N9 ?0 W' P还能构建HTTP和SQL论坛,这项我还没头绪。 ! `" [1 q, ^. k O6 L% Y9 M上个图。 ) U5 u: i7 I T7 W5 R8 |! ^2 B2 o8 S% S) G `

本帖子中包含更多资源

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

×
回复

使用道具 举报

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

使用道具 举报

 楼主| 发表于 2008-4-28 05:13:31 | 显示全部楼层
留点备用查询
6 G) b- [/ J1 l
9 \; Q9 W7 ^& `5 X! W+ C. [一、硬盘重新写05 L2 s2 D& W" l6 }- c
1、如果MSS正常,则执行/ x, v2 ~+ v5 i
dd if=/dev/zero of=/dev/ide/host2/bus0/target0/lun0/disc; ! [( U  p0 s! W6 b% |& P/ L5 e
2、如果硬盘刚启用,则插盘清除分区后,用winhex0
4 W4 N5 r, @0 X/ V二、改本地连接  c2 d& h& W" N( W
ip 192.168.1.2 网关192.168.1.1
7 f# M7 x/ V& E( z2 w5 c4 c6 G" Z三、执行nasload.exe
- G5 `1 C: Z) G7 a9 |% ^/ s
8 i' j; U4 O+ U7 U* }" W5 n用户名admin,密码空- V, g- w8 V) X; y- c5 a) r4 k
四、设置机器名称,用户组名称,IP
7 n) _0 R% s5 T& G  S五、刷新2.6.5
5 Y: d, M8 r4 n% S: ^0 r  c六、建立一个down文件夹
- [3 N. }0 ^/ V6 ~七、telnet 192.168.0.88$ Z1 [7 e7 ?, r5 e) h$ T8 K
ipkg update
. Y1 R# `" M% X* F0 `; }. m5 oipkg list1 u4 U; f. z* e* w& e2 v
ipkg install dropbear
% q: ]3 [. F) t/ e3 P* ^7 nipkg install busybox! {7 X9 w1 u. h+ S0 ~  R, ]" ~
修改root 密码
: `2 j; S: H& T8 w7 F( C/opt/bin/passwd root
+ e7 ^# d- x' K4 Y9 R4 J( ]/ b* Y' g" g& u4 _
八、使用  进入
8 b) N0 J! g8 m# s8 g7 l. n. [cp /opt/bin/busybox /opt/ - m6 P6 V4 z# }
(将busybox/opt/bin文件中复制到/opt/
, D" A/ Y1 Z! k( }3 l 9 G- X. g/ j4 b5 x
安装oleg  k+ e7 O; G+ n* c* e' T% R; {& i
(1).将下载的opt.tar.gz放在mss的共享目录中(通过网上邻居进入,放在Public文件中)
3 ^: |1 Q8 _: m1 {* L2 B(2).在根目录下执行/opt/bin/busybox tar zxvf /shares/mss-hdd/Public/opt.tar.gz0 W/ _$ S- O9 Q4 w
(3).执行下面两条命令1 J' z4 V6 l5 m( V
export PATH=/opt/bin:${PATH}
. p5 A( e6 a8 N6 q( qexport LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}! W( I% W0 S0 W5 J/ U
4)将busybox恢复到/opt/bin目录下
' ?. J) h* s' e6 j# ?6 ?  J5 C0 j  dcp /opt/busybox /opt/bin// C# z8 H; m' y3 S) r

; }# J* u+ z3 b$ h九、5. 安装和配置rtorrent(bt客户端)
9 u2 a% h* b, ~' h2 }1)安装% U6 p. l( ]8 S* Z+ S% X
ipkg update' ~3 Q" h  z; ?, X' X1 C9 x
ipkg install rtorrent& H' N3 l6 }9 @: M1 s
# {5 ^1 A2 Y& B

$ U2 ?2 D. M( X2 v- T  K2)设置
  X* a+ R9 s7 Z1 V$ }* P4 s+ [3; C# z9 ?/ A' A8 @
mkdir /opt/root: q: [9 B; Q6 b; q( C2 S3 W
cp /opt/etc/rtorrent.conf /opt/root/.rtorrent.rc
8 N# s7 q" ^; b/ g' ~export HOME=/opt/root# {+ k" Q9 m* L- J. T6 f
rtorrent! L- Q& I& M/ ?8 p
看是否成功
7 `% e, D% @$ f% Q+ L3 z  b) |' d6 G/ z" W
ipkg install screen
- }; p5 X6 [! h- a  {3 t$ t
+ g% z. w9 J, e: P- s ' {7 f7 [4 ^2 k
screen! K/ v( k& T3 G3 L8 u' w
然后回车, T0 G" Y/ l  J
rtorrent5 A3 q4 l4 h- N+ ^1 ]# p) ^) ?8 }: U
ctrl+a然后+d,隐藏界面
: N- _5 k; S8 T; |) u5 M0 N十、安装配置vsftpd(FTP服务器)* ~0 |+ N2 g* @6 V+ O5 M. U- w
ipkg install vsftpd
6 V( i0 c( W7 C2 P1 C& `3 l  t0 S0 D* J6 H' H% ^' {6 k' b( l% A
/opt/bin/passwd 用户名
) O4 J. n% B6 I6 B- e修改用户名登录目录+ _' v. i! K! D1 t
vi /etc/passwd
6 H) r% d7 S3 l: i% y& u$ k
4 A! ~8 ]" {- m1 V) X, f添加可以登录FTP服务器的用户名% A% Z) t/ g$ P  S' \! a# \$ g( B, ?
vi /opt/etc/vsftpd.user_list
; [1 H% o  }  ~$ K/ u添加要登录FTP的用户名称
8 v4 v1 u5 V. g- n; b# W7 i# I& I配置FTP服务, s0 c! A* X( f
vi /opt/etc/vsftpd.conf. Z" ?$ G  ]/ d
在最后加上一行:3 Y- R. k; {- r

& r& v; P* D9 }3 W3 l$ v 6 ~& _* v4 i8 U9 C
/opt/etc中建立文件
- T+ W3 Q# n' P* N9 |) smkdir vsftpd_user_config! i0 `+ D+ c- H0 C, o
进入该目录
' ^6 J' F8 V+ @/ N/ S- o/ Ucd vsftpd_user_config( l5 L! V3 n$ U& [
建立两个和用户名相同的文件& P* n! r9 O. x* q
vi 用户名. J- z+ Z7 j, B6 z6 o
在只读权限用户里面添加# \1 f7 X8 h! E- `" j8 N3 H
2 @" p- o. _' C5 }' _
重新启动硬盘盒
+ w  `: n2 O" B# v/ d
7 [; ~0 M! u, f十一、设置动态dns
# O. Q# w. P  f3 G7 B, G2 tipkg update5 [+ P) m7 n: V  j
ipkg install inadyn9 y6 f3 V7 U% l  D9 X
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
* N0 }( C/ p: u; R0 p! L8 X & w4 Q* D3 q' s+ o5 \# R
十二、电驴
( o9 {6 W- T* w  }% Umlnet.rar内的optlib.tar.gz放到MSSPublic目录里8 d! ~  @# w/ A/ U$ s% T/ A
/opt/bin/tar zxvf /shares/mss-hdd/Public/optlib.tar.gz
% T# T6 `. l  _# o# C& V0 l' Acp /shares/mss-hdd/Public/mlnet.lite /opt/bin
4 g) w' I- E; Fchmod +x /opt/bin/mlnet.lite
. [. X4 ^  a4 I1 Lvi /opt/etc/init.d/mlnet
7 X4 |! O0 e7 M# Z. T, Q2 q) M2 |#!/bin/sh" `4 u% E' Y4 _
if [ -n "`pidof mlnet.lite`" ]; then
  n( `# m) Y8 d  T; x) B% w
* A0 i& @+ A0 Fecho "Kill old program..."
. l- b* E) f3 G! z. \
0 }6 H  ^! y3 n; s7 T
killall mlnet.lite&

/ @% \5 C! B1 u3 u% k( C- ^! E0 Z7 }; W/ `
sleep 10
! U. ?  E5 B1 N# s' ~* N) b" F
fi
& f- S2 b* p4 Cexport HOME=/opt/root
! ^% ~4 u$ ^, r8 Q; Uexport LC_ALL=zh_CN.UTF-88 N6 j- X" k6 g- n7 g% @
rm /opt/root/.mldonkey/*.tmp 2>/dev/null
8 z) b0 Q2 Z6 _rm /opt/root/.mldonkey/mlnet.log 2>/dev/null
* g( Y, J% U" ~7 ^9 prm /opt/root/.mldonkey/*.pid 2>/dev/null* a" \: _* Y, j- U0 L
/opt/bin/mlnet.lite&  g1 |: t$ A6 y: m- d( M6 |) K$ G

0 E1 u& d2 E* y$ P' gchmod +x /opt/etc/init.d/mlnet% F' ?7 S* L8 A
* ?: F% I* [0 t2 Y' R# ~0 E
执行/opt/etc/init.d/mlnet
$ o9 e* H, V: h% o. p, z命令killall mlnet.lite
# U& Q' x2 G( w: W5 s
6 q+ h- {1 T7 B; X解压缩以后得到servers.inidownloads.ini Winscp扔到/opt/root/.mldonkey下面覆盖源文件
! r7 L( ?; ?% j# D2 A( k) [ , N. F; a9 c4 x
vi /opt/root/.mldonkey4 f$ F" @& Q3 R3 I
修改356408
: w/ n6 Y* {  `* ~- s8 Ftemp_directory = temp
) |4 M1 m) ]: T9 @; `记得加""双引号如 temp_directory = "/shares/mss-hdd/Public/mlnet/temp"
* f: n; T- P7 D8 e: v, s8 I修改第408 dirname = "incoming/files"
' M/ ]9 G% U' g" ]* {7 {) T/ E dirname = "/shares/mss-hdd/Public/mlnet/files"0 U5 V3 n' b3 a7 l& G8 U0 a
运行/opt/etc/init.d/mlnet* D4 b/ |& }/ N

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:15:16 | 显示全部楼层
我的MSS-BT的CONF.doc9 ~7 H; r7 b" N& b3 g9 ]# ]9 Z1 K7 G
8 L5 Y5 k3 \# _# I3 k- f1 {
/opt/etc/rtorrent.conf: H% P1 v  L% V' a
/opt/root/.rtorrent.rc
" f. N. [+ Q+ l* ]  J7 r# H5 s
- h' D3 w, z+ R8 A2 ?% b# This is an example resource file for rTorrent. Copy to/ }% c2 T( F- @6 b: @
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
& b( i$ e+ e  E/ y# uncomment the options you wish to enable.
: t7 ?  P* O9 K( i
+ g1 P4 ^9 X5 D6 r" K: c# Minumum amount of peers to connect per torrent, if available.(最小种子)- k; f' ~7 z' b$ r, V  W
min_peers = 406 T4 `# ^) p8 G' V% a- n# E8 @
0 Q' `" u( f2 Y3 R3 l
# Minumum amount of peers to connect per torrent.(最大种子)2 N1 B; W+ K: x/ k. p+ a
max_peers = 2500 ]  o9 r7 j2 M: p

9 j2 O2 w4 X$ F' d) X# Same as above but for seeding completed torrents (-1 = same as downloading)
6 Z5 S1 _# @. L* S4 q6 u% y#min_peers_seed = 10
9 Z* W' l; l2 f& y#max_peers_seed = 50, Q* H( f2 i3 i+ `
) e% E( F4 v* n3 h( m- y$ V: j
# Maximum number of simultanious uploads per torrent.(最大上传种子)
! M: B. e- ?1 D& H4 D0 r" c: B5 vmax_uploads = 15: y$ r- T0 [: J  n5 A% C3 }

8 X! x8 j4 s. I* c- F# Global download rate in KiB. "0" for unlimited.(下载速率)
! u& f9 @* k% t+ qdownload_rate = 2000 I! R7 k& B- i* f+ }
2 z1 D6 H; g+ W( K  n9 N
# Global upload rate in KiB. "0" for unlimited.(上传速率)( k, f+ a* m/ B. r9 U$ M7 \9 }' e
upload_rate = 301 ^/ [, s  V6 t# \

- j- k* W1 N: z: o# Default directory to save downloaded files. Note it doesn't support
# C2 Z6 E$ l9 o0 _# space yet.
9 `  B# f) P  X1 w: bdirectory = /shares/mss-hdd/down
0 f" c% F6 q7 y! ?- S3 A " f* I% c) T8 c: A2 U: w
# Watch a directory for new torrents, and stop those that have been deleted.
; [' K. w  z  _ * O7 X+ K. W) ?- G) H2 r9 |
schedule = untied_directory,5,5,stop_untied=# f& f1 [8 z) a/ j7 _! |
' P4 ~# o0 d; b( {3 ~' {" @- g4 T; H
# Close torrents when diskspace is low.
" ~9 ~( N+ d7 D#schedule = low_diskspace,5,60,close_low_diskspace=100M
  g  v! L4 N- X' p, z ' f; f- p0 I. D9 v! A* ^
# Default session directory. Make sure you don't run multiple instance9 G+ `4 z3 S8 n4 |, L8 v: {
# of rtorrent using the same session directory. Perhaps using a
3 P& F) H9 H3 Q; D# relative path?0 y' n; D8 W& z, |
session = /shares/mss-hdd/down/session
; d+ J! A2 Y/ E7 Ischedule = watch_directory,5,5,load_start=/shares/mss-hdd/down/torrent/*.torrent  s  o: n8 D7 V  ~& m" [$ F2 }

1 y# ]1 o4 s. ~0 W# The ip address reported to the tracker.$ }2 F$ ]; M: _& F+ K' v9 L
4 x0 j; x/ \8 `. M  y+ b9 V! h
#ip = rakshasa
+ o. A) N+ p3 r6 K
! \8 b7 g$ V& w! z

" m) s$ p/ b4 o6 t/ |. ^
4 h. G$ N9 j+ U2 o, g
% T, R, [! J1 S/ p; O$ @
# The ip address the listening socket and outgoing connections is! n8 t$ n' l6 ?* M8 `; k3 ~' h; c1 o

; N/ m( Q4 d; W5 Z' g& z# bound to.
. \, ]) E  @6 Z- T) s4 h  ^% t3 Y

+ k4 [, z! q9 d$ z#bind = rakshasa9 `, M% S" z6 h! ~

# y5 ~6 X1 D& ~* P: O! Z. h% [
7 t/ k6 C/ H: v$ J; P  \
                                                                                
$ J2 Q- ]* M0 {4 t$ @1 r) _7 I2 E# Port range to use for listening.
8 M; m6 }, `( `6 ?4 l2 j, m
4 }2 Q( x8 O- ^; Q
port_range = 51777-51780
! j4 w. I1 b" D& h( i: e, u

4 H& X6 y/ ]0 F! Q
, ^/ w  @3 C1 D2 i
* S9 T- J* S( Q$ `2 b6 f2 U1 {5 [) m

8 u% L8 U) {- @" O! c4 r8 O9 z# Start opening ports at a random position within the port range.
7 l& Y9 D2 G% S
0 Z+ X) Y" m, n( j0 v2 ]
#port_random = no
) m& V% z$ Q. `& J' x9 I8 Q

7 E5 t0 A% i1 n; T9 y
9 z3 ?+ A' J8 o! O# d
8 B8 T5 N$ n! _3 Q4 {" n8 T$ I
( s9 I9 r. u7 j
# Check hash for finished torrents. Might be usefull until the bug is: ^5 B# L6 }/ h$ W! Z- v& U

' h2 z% L5 T9 Y# fixed that causes lack of diskspace not to be properly reported.
: _, {: r/ v+ e8 o, a3 l# f3 b

# \+ t# Y" e- c/ N0 W1 k#check_hash = no
- I  \( Q  }* e( i2 p$ j
. f4 y: y+ u$ c8 l  u  J$ P

) o8 F1 _3 R. @                                                                                
+ Q/ P& ^0 |- |2 O1 B/ O# Set whetever the client should try to connect to UDP trackers.
! P' D9 u; F( ^. w. H- ^  R

+ M6 D, B4 u1 w! P% O; B; L#use_udp_trackers = yes
; `0 e# h! |, Q: p9 I- S& i6 U0 L. {# H& {4 a1 P& X
% U" k$ Q/ N3 R) w
                                                                     
6 ]- M1 `$ x; ?" y2 M: p. z; E# Alternative calls to bind and ip that should handle dynamic ip's.3 g  t0 S0 Z( t
$ o4 @0 I% U0 @: K$ S* O
#schedule = ip_tick,0,1800,ip=rakshasa9 Y0 B! [" {0 e% d3 V- ]; ~

1 [; w- @9 I3 n  V" i: K7 @#schedule = bind_tick,0,1800,bind=rakshasa
* [5 o5 {7 W. _
* n# g. u8 t  m0 I, H1 y/ D: U
                                                                                . c6 j7 H, ?% T8 B6 ]4 b& ~" j
#& G% S5 j/ ^) r3 ^0 P2 ~
: @# ~" ?0 e; W2 k& z7 o
# Do not modify the following parameters unless you know what you're doing.
& e) P: A- ~. o5 P$ A* F, U
: p/ [$ V; P  f! B3 l$ U2 y
#5 Y3 J0 E  T, Q$ Z! S! j
+ I" s- W- V# o2 m
                                                                            7 Q3 @( {' v( a- L5 M* ~
# Hash read-ahead controls how many MB to request the kernel to read. T+ E$ b; l; d6 v

& s  `* n4 T3 Z4 D7 K# ahead. If the value is too low the disk may not be fully utilized,; ~( F9 H. ?# v% h8 e2 Z
4 G, M: K; g& P
# while if too high the kernel might not be able to keep the read
7 l2 V+ c9 a7 j* D2 u

% a1 g! y! o5 ]# e6 j* ?& o# pages in memory thus end up trashing.$ Y0 p+ w/ z- F: Q+ E7 Z2 ^  G6 s

- G2 ~+ m2 V" f# l% F#hash_read_ahead = 10
/ R+ V0 y( w+ n) ]

6 {% O2 B' f3 @3 T                                                                                3 {7 p/ k" G3 D& ^* V  r
# Interval between attempts to check the hash, in milliseconds.
9 _+ R& \  ^4 M8 k( [4 b+ P
% ]! e- @) d8 \1 I  B/ j
#hash_interval = 100   u9 b& y) |) }- A& R% i

& ~% P, ^: {7 Y. ?                                                                                
8 D9 N# x) _- {2 _/ t* X2 S4 C# Number of attempts to check the hash while using the mincore status,( f5 x6 v# J7 m, `
* {8 x5 m3 D' }
# before forcing. Overworked systems might need lower values to get a
8 {7 s* K. K( W$ Q5 Y; F$ X

4 z' @+ u) [  ]/ g# v$ _# decent hash checking rate.
1 m) G( {8 L+ S

$ h3 n: e- E5 b2 ]#hash_max_tries = 109 x8 f2 r# I( A' `0 K6 I% z
# V8 ^- W: W1 U, F3 V7 W) [
# D( Z- H) s4 [

% A5 k( a5 W/ b6 K; ]* P! K* v

" f# I  k* l' u$ h& k7 K6 B! q0 a, D# Max number of files to keep open simultaniously.
5 @8 g. B0 `$ L$ W) {! e

4 i1 C( B( O. L+ P0 X#max_open_files = 1289 ^3 r: I9 U# Q
/ I9 v. [. F3 W4 j$ R  r2 F

' P9 @6 D5 y: D. U* F, B& p
' H- _& Z7 ]. l5 a3 I- R
* v$ t* F) B1 T* ~
# Number of sockets to simultaneously keep open.
1 A) Q$ B/ U4 l7 A

* F+ {$ W" w4 M2 e1 ^! {* l, g#max_open_sockets = <no default>
5 S/ o4 X  w" h1 L5 i) ]

/ D' M$ ?2 @( _- K& T/ O3 C) I                                                                                # x0 `8 Y7 {0 Y% |4 t0 e$ I

  A4 `: g- X$ Y
  Y" P5 B( S; g, U
9 I5 V$ `( S% [1 _
# Example of scheduling commands: Switch between two ip's every 59 H4 m9 Y/ I3 K* M# w: l

5 n& P5 F' C- d0 w1 L# seconds.6 c4 N/ V. I' M  Y
1 `; S0 k+ N: C" k+ P
#schedule = "ip_tick1,5,10,ip=torretta"* L% Z$ k6 X& X
/ X$ ]8 b. U0 O. \0 ^8 J0 t. u
#schedule = "ip_tick2,10,10,ip=lampedusa"
5 o6 D4 V3 @. L" J+ ?- p+ O& L+ T
9 W$ K! m' w. N  @7 f" k
                                                                                4 \2 q! P) V$ `( ^8 w0 [# `
# Remove a scheduled event.
, [) i6 X% X  f, ]6 F) K# ?
$ y# q! d. x. z. M

$ K3 L$ g, }& N/ j6 ~' c#schedule_remove = "ip_tick1"/ j* p5 r6 [+ _- d0 j1 [$ h+ X9 p$ i
, ^  ]0 d4 @; s' z9 m  i
                                                                                
9 {! [& X4 E+ g4 g* B1 U# Stop torrents when reaching upload ratio in percent," ~0 C- S# V3 g; U! f
" K# B0 S6 e% N8 e7 `( l3 [( e! Z
& F. i" y& f) A& \) ]  r; o  T
# when also reaching total upload in bytes, or when
7 [8 Q% A' t: i- P  T. w- F; {
) [! _; H, Y, z% B$ Q4 _
# reaching final upload ratio in percent., s7 a0 z% g. ~7 c; e
7 z- J5 u% j- i
# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.00 x& \2 m; p6 H2 q* q& m
9 n7 C: h# \# E& H7 U
#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"2 j2 @& W+ A( J& Y

: |' |' e( }5 Y; U% u+ Q+ Aschedule = ratio,30,60,stop_on_ratio=200
, q! y" O- [) {, c

. y$ O" T  J5 b- q% q. b0 z                                                                                
$ m8 }& S- s0 Q
0 J6 u4 d8 @" B# V
- d' [8 ?: j: ]2 f
1 H) w8 ^, `" n, V, Z$ Y
# Encryption options, set to none (default) or any combination of the following:% R. [0 {" g* L  ~0 ]) t
: j% G0 I$ X# ]( @8 D9 F
# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext& O  s1 E3 y9 r0 u% ]/ a) d
#& n1 P" ^3 y3 Z5 x3 s
- ~% S& f# c8 P% I

7 ~$ c% J8 O" [+ H( w2 Q# The example value allows incoming encrypted connections, starts unencrypted
! Z. l  s/ `' u1 }+ s/ \# J
2 n# r9 G* ^$ I- y
# outgoing connections but retries with encryption if they fail, preferring
5 O( [7 J0 y5 Q) Z0 q
9 d/ ]4 j/ G6 F4 p, \4 G1 T
# plaintext to RC4 encryption after the encrypted handshake
! a( x5 v9 b9 B, t( `

0 T( a9 {! U$ }8 g#  V6 {+ g1 P; C3 Y- a0 A

% f2 a& }- o( ~# encryption = allow_incoming,enable_retry,prefer_plaintext
+ s+ \3 B8 ^4 c2 T
8 D) p( E1 `- @1 H
% A/ z+ C$ I$ J6 h* i

# i# \" U, z: {/ _

  \8 ^, |, m3 k0 X) r: _0 [# Enable DHT support for trackerless torrents or when all trackers are down.
: c. C: [9 ?) d# |( ]1 c

/ G: `9 X7 m' h, A6 g) p* r0 V# May be set to "disable" (completely disable DHT), "off" (do not start DHT),& |6 U9 \1 X4 b- z& z  ]- @1 ^

4 f' R& e* q$ R% v2 t' G  a. \# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
. k$ f7 e: j0 h% W2 U

; [6 i) ^! ], Y  ^$ I5 U# decent hash checking rate.
- f4 l1 F1 |* r# [0 t7 s2 M

/ ~  f7 _! j& O3 C  K#hash_max_tries = 10
$ e0 g* p& @4 d- }9 B
0 r8 I8 m6 w7 ^  d
3 w# \  W3 Y* _9 F) I, F

8 Q7 }; _" u# b' [! M  B$ _

0 o" s. p9 b8 u; P: U1 x# Max number of files to keep open simultaniously.
3 @5 W  P; i* I; Y; R
6 `, E8 o0 q, p- _6 L9 W
#max_open_files = 128
4 ^: }7 s% C5 I

& A8 E* k1 g) X1 C
: i7 `+ v) O$ X2 H
, f$ k; J- N* _" g
. F4 Y! ~8 Y" j7 k1 Q
# Number of sockets to simultaneously keep open.3 }( u; \- H# e

! \4 v( w4 |4 o0 X, J" O2 w#max_open_sockets = <no default>. ~( ~% ]6 w' T8 Z9 R1 p1 N

, C; ~, U+ E. k" c1 Y$ ]
8 \6 p* [* q4 o9 ~# U5 F; G6 i! l
& F/ X5 g- W/ D6 S2 Z2 p  i( Z
+ h, T( m% T$ p& A' I. ?" i/ e
                                                                             + ~! w4 c3 A. U' a
# Example of scheduling commands: Switch between two ip's every 55 E4 I& Z1 f& Y& Q  \5 \5 ^! X

  V" y5 R- C& {/ x# A6 V+ o, i# seconds.
6 w( [; a: }" U3 S( I* W

4 o6 G2 i7 c( I2 ?. z+ K+ d( K#schedule = "ip_tick1,5,10,ip=torretta"
, V/ {! k+ Y" g/ @! [0 T
! @3 n+ J5 p- X4 o
#schedule = "ip_tick2,10,10,ip=lampedusa"
" `7 t# s, h, Q, f$ k
9 e; h' A4 g- B: E5 p% S. p
                                                                                ; I/ @; w5 Z+ Q1 m% O3 f1 V
# Remove a scheduled event.2 }; ^1 v3 l- L+ r; A5 e" x. l
; r7 ]1 @( J  E* ?0 u
8 U" t$ w2 n, `/ M0 w2 t& n6 c
#schedule_remove = "ip_tick1"& O/ q' P- j; A# [! Q' {
, Y' E3 t% t( T# \" D9 A" r2 z
                                                                                0 H$ _+ I. I* b
# Stop torrents when reaching upload ratio in percent,
! |/ j8 k# A. r6 f! W) [! U6 [
, U- Q7 L) o+ V6 X0 h; s
# when also reaching total upload in bytes, or when' ^( @( Y1 ?! Y+ H1 P* g3 m' {

. U# V; s3 R7 ^6 L+ c8 e. b% n# reaching final upload ratio in percent.4 E) g& P* Y  I& A
$ |" z1 W$ u+ U
# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.05 a0 z* r+ ~# j

  }1 Q" d: a( z/ o' V& Q8 o#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"
, Z$ ~$ D: H$ Q( E5 q6 `8 ]$ W1 L

: ~, g3 o0 I. o* N8 X+ ~schedule = ratio,30,60,stop_on_ratio=200
" G+ r/ \- p. d( t% _5 E
# Q" ]8 e& C9 r: l6 G8 `" [
                                                                                6 U4 K2 _. I  G# [: G' S
; o) @- u0 P* M8 D- j7 ^

8 r; H) k3 g! Q/ v5 h
# d, A+ O) o0 ~/ n/ k. m
# Encryption options, set to none (default) or any combination of the following:
% q0 u( |6 i# p7 H" v/ R. z- i

; D4 `/ a4 W7 {) P# V# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
3 a: _: q/ z! L- [  U9 {#
- Y$ A8 h- M# e" r/ W' i+ i2 ~! ?7 m3 N  v3 m. u+ `0 H& f

" h# s7 {3 u4 O# The example value allows incoming encrypted connections, starts unencrypted2 B. D7 C' a$ ~6 t

* P% Z2 s8 m) X& S# outgoing connections but retries with encryption if they fail, preferring
5 H* ?( C" c# E* |; s

  F0 J7 p+ f8 ]. ~$ A  T- H% k0 r# plaintext to RC4 encryption after the encrypted handshake
  I  A  J% `6 ~; ], ]
' @0 O% I" q9 [" }. D) U4 C
#
" C5 \1 M& j; p7 N' A9 _
! d9 [- F, \0 ?- r- a% y5 x+ w
# encryption = allow_incoming,enable_retry,prefer_plaintext
- b% r1 k* G) f" d# H8 W

6 ?& i: l4 O+ `. ^3 v7 ~, K. u
, H! u. Q8 U: ^1 P" z/ J6 W( m, `1 W
* e. z' j5 W6 i* D
# [* b( e3 m8 _% F) i$ G
# Enable DHT support for trackerless torrents or when all trackers are down., u, H  q2 l% _+ H4 j6 m) G9 H4 H

" \3 m  H  H! \3 }: H" t# May be set to "disable" (completely disable DHT), "off" (do not start DHT),
5 i0 T% Z" Q% S+ D
* N" r5 n/ y, H8 p& e
# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).3 k* U! ~/ t# j- y# a7 s1 A

5 l, q- S" u# z  |/ @( h8 M# The default is "off". For DHT to work, a session directory must be defined.. K3 N$ b0 p2 l( X' \3 q, M

8 W  ?: B2 B7 A/ E( ~#
0 ~' ]) ?7 X7 S' U4 r
, Q' e$ v/ ?# S- b; h) F
# dht = auto$ X# {% v2 T0 Z0 N  i) O' @
8 @5 E6 m/ ^: S+ u7 x8 R

# ^- b6 `3 Q' puse_udp_trackers=yes(???)
0 X) t( C6 h3 }/ X' h1 xencoding_list=UTF-8(设置中文). V+ G  @* H& F8 P
umask=0000(设置权限)
$ m: h- Z, a' b: vdht=on(设置监听on9 W+ r6 F! [. t) S# z3 I1 X
dht_port=6778(监听端口)
+ ?0 w5 g5 n' I4 V  p" f7 Kpeer_exchange=yes(种子交换)
& Q2 Y% g$ b6 \& Q& w* S  @#scgi_port = :5000
$ d. C1 j% b$ x! |# F/ v4 n5 S1 w4 P
: D6 l5 ?3 C9 e3 V
# UDP port to use for DHT.
! M7 l$ g  ~0 R' z1 ?% I+ [3 {9 m& p0 I

4 X! x7 ?7 X, O! n: J+ l6 W#( p) Y2 w+ ^4 n& k' i# b, _
8 h5 Q9 h" v$ u( @* \8 T
# dht_port = 68812 o# o& H1 s- B' q5 M3 V
9 G+ x; |1 [% g! u/ d8 \! r6 @

! H, `9 D8 X3 y7 `
( U: V. K+ P  h1 M7 ^- z. Q4 e
# z2 M* D$ e: L2 {
# Enable peer exchange (for torrents not marked private)
- A& a+ z% R4 [# F0 K: I

$ L8 n' ~; s! I5 t#
+ L5 p: b: U- _1 G$ E& X5 n
/ d3 W2 f5 q  @; j) a/ C2 w% V
# peer_exchange = yes% ?0 \5 S! G  {/ T: U- h
! C" W) ^; O: [& f! k5 O: e

; Z7 C) X9 P9 r: v                                                                                    
6 C9 M: i: b; v! F#0 L2 j' w; C9 H2 Z( d
( ]0 H% J4 ?' ]5 }5 V9 ], e+ m
# Do not modify the following parameters unless you know what you're doing.
' E. T( l4 M$ F6 A6 C' ]8 g  E+ f% F, Y# v
( n; @7 ]& X# j7 q9 e" X7 m
#: Z0 Z9 K/ P9 z( S5 C9 K- T

# l" c& l  M# t) j) k* fscgi_port = 127.0.0.1:5000( ?' N# n8 S' n' {! B
(设置GUI

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:16:30 | 显示全部楼层
/opt/etc/init.d/S99local
3 L6 u0 H+ h& m& D; r+ W # ?; j( P8 F$ v) [6 w1 R# T
#!/bin/sh
7 V; v5 N+ ], c/ g

& ~, G7 m3 g+ J) l1 Y' |" s1 d; }& ^7 Z8 ~( u8 ?
8 n$ y. o6 _+ v- F+ m* b
; F/ }3 x. W1 w7 \) T) T5 u
export PATH=/opt/bin:/opt/sbin:${PATH}
  v' o( ~5 m1 Z! l+ K: G

# G% y5 y1 f! k3 A7 P4 y: i* texport LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}
  m) u$ D8 F7 W7 e0 V' x
0 m/ d, Q. E: c5 f+ b' w8 f
4 Z. q% \+ G' `# s3 J
export HOME=/opt/root2 N0 Q$ k+ s( F, E0 @
& L7 u& ^. s& M2 a
export LC_ALL=zh_CN.UTF-8' u: [' Z3 j' ^1 ]+ C' [$ w$ B
0 A& O$ R* A7 d) h+ Y# _% A
, P- g; ]/ O+ L2 X! u( S5 ?
utelnetd -p 2323 &: ^$ @7 w3 e5 h; {4 W: s5 F

, }/ |2 n+ v9 i7 y" f5 X( o9 `/opt/bin/screen -d -m /opt/bin/rtorrent -n -o import=/opt/root/.rtorrent.rc
) ~1 B0 i3 A) O) e4 @2 A
7 _; k2 [2 c- E  K3 i# L
vsftpd
* h1 o* f$ C! f( M' g2 e
(必须放在最后一行)
. t( d( W4 N; P& U$ E4 a* `
( i+ G! U# L' s# W5 b1 c
0 L! \* Z& E' _: q2 B4 ?% `+ B  C
回复

使用道具 举报

发表于 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-1-19 20:23

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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