找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1086|回复: 9

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

[复制链接]
发表于 2008-4-28 05:11:14 | 显示全部楼层 |阅读模式
功能强大的离谱,正在研究,该机可以实现BT下载(任意大小,支持中英文),FTP下载(暂时不知道如何设置权限),电驴下载(只能一个一个输入,且单文件无法超过4G,),花生壳,无论你在哪,都能找到自己家电脑;网上邻居,网络打印机(支持USB打印机,也就是每台机都能通过网络打印)4 J1 ~4 ^ [' k" i# p/ L" u 非常小,非常省电,还有一个很好的优点:你开了BT+电驴,其他电脑上网和QQ都非常流畅,不像现在的BITCOMET、迅雷和EMULE,一开了就别想上网。 ' [ |1 w- b8 ], p大小长25,宽15,高5CM左右,和一个3.5寸硬盘盒一样大小,接路由器和电源就能用。安装完毕后所有操作基于TELNET和网页。5 K7 q# @) j. W' @. ]* N% Q O3 ?4 l 还能构建HTTP和SQL论坛,这项我还没头绪。& U C1 f8 D* o' G' h 上个图。; O* I2 \' Z |* i, f & [; R# I4 ?9 c" S$ C: x) c3 m

本帖子中包含更多资源

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

×
回复

使用道具 举报

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

使用道具 举报

 楼主| 发表于 2008-4-28 05:13:31 | 显示全部楼层
留点备用查询* N. `  X1 i% e6 i9 z- A

/ O7 n. M5 |. o一、硬盘重新写0; L1 m& K* a1 ^9 r$ ^
1、如果MSS正常,则执行1 k% |6 V' f* G/ |) _9 K* w0 T' |
dd if=/dev/zero of=/dev/ide/host2/bus0/target0/lun0/disc;   l* g" i% t; P
2、如果硬盘刚启用,则插盘清除分区后,用winhex0
4 n* v: H3 ^6 K2 Q二、改本地连接6 k: E2 |1 f$ e
ip 192.168.1.2 网关192.168.1.1
4 }# o6 J( @/ x' z% J8 \9 P$ @三、执行nasload.exe& W( _4 ?( r& M: P* {/ S
8 O( S3 Z! R/ v
用户名admin,密码空/ t& w- a- j8 i  x( v
四、设置机器名称,用户组名称,IP
( H4 u. i3 ?* O# X4 L五、刷新2.6.5
3 u# m6 v. J' \0 U0 w; g六、建立一个down文件夹% C3 T) }0 y3 A. [. F, U1 s
七、telnet 192.168.0.88- p. T* _3 Y5 v1 U, M
ipkg update
& [- f  `& f- t. G: `/ H& N$ H8 dipkg list5 m" J$ j: Y0 M4 L% N8 P
ipkg install dropbear
) }. w2 l& C- b7 r. I/ Ripkg install busybox
/ Z: |. Q. Q# R' u4 q9 F修改root 密码
8 u& v/ B* S' H* E* G% p$ F" N/opt/bin/passwd root
5 q- e  q& x- B* P
5 S1 r, ^5 G. M5 M$ l8 N  H% J* Y八、使用  进入
$ |2 ~' O* T& j( N& g, w5 bcp /opt/bin/busybox /opt/ - \: l( r* O* o$ i% l( ]* O
(将busybox/opt/bin文件中复制到/opt/
% m3 ~- w% u. y+ {
8 |. |+ a# C' m0 o# R8 A安装oleg: V  C* Z0 J5 E6 H, B6 c+ U, k
(1).将下载的opt.tar.gz放在mss的共享目录中(通过网上邻居进入,放在Public文件中)- ?/ @& l) G6 b& U+ d/ O
(2).在根目录下执行/opt/bin/busybox tar zxvf /shares/mss-hdd/Public/opt.tar.gz9 T1 n5 L( o. y) r5 O
(3).执行下面两条命令. X! a* [2 X/ j) x
export PATH=/opt/bin:${PATH}
/ b5 }6 I1 h9 }' Sexport LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}$ p/ L4 h: {5 Y
4)将busybox恢复到/opt/bin目录下
7 }; s' T8 V; ycp /opt/busybox /opt/bin/: u, J: b9 y% p$ M2 s0 V; L

6 L. S& I4 Z+ u( ]/ A九、5. 安装和配置rtorrent(bt客户端)0 M/ P. d  A8 p7 p8 W
1)安装
5 W- {7 {5 H% i! V8 s0 ?ipkg update
3 T5 V+ u  u1 H8 \ipkg install rtorrent5 t& i: |$ x4 z7 }
  u2 z8 b; o# O! s( j
6 p- c! p) r$ b- s, u# M- J/ Q
2)设置" Z$ q# w# k5 |( K$ Q& P
3$ |2 E: v; d% V8 O3 E
mkdir /opt/root0 L) o4 R: H2 r& w7 `6 v# e7 `/ l
cp /opt/etc/rtorrent.conf /opt/root/.rtorrent.rc
, {. E. e- c, P) K7 _' Y2 xexport HOME=/opt/root
% b' L+ @3 Z- jrtorrent' _6 x( u* j3 r% H4 z
看是否成功& k* e" X8 j% {' Y3 o
2 @+ G4 e/ d: |/ v) n, o/ @
ipkg install screen
5 H# U; `2 D1 C: Q) K1 W
8 p% \; {! K( C* |
% R& q9 S& l6 Q" n% t0 ascreen9 g+ c' K4 s0 _! Y& ^' f
然后回车
. X# I1 H$ S# g. ^rtorrent
' U' x. c0 }5 e" I. Zctrl+a然后+d,隐藏界面& p# Z' o/ W3 C% ]
十、安装配置vsftpd(FTP服务器)
+ S& d) _% ^: tipkg install vsftpd
; E3 Y, ]  H: H+ Z2 v7 V. E2 |8 O; u" |
/opt/bin/passwd 用户名
5 q) F) [/ ~2 j- C; b8 d/ G. z* a3 J修改用户名登录目录
8 L9 u8 s& a+ X% t9 ivi /etc/passwd. S/ I* E" v2 b2 l% {( Q

, E- s$ _9 T4 N4 I& e- I/ e添加可以登录FTP服务器的用户名! p6 y$ }% }, v9 Y
vi /opt/etc/vsftpd.user_list
& A4 g, b3 M" O% Q6 T5 W* P5 O添加要登录FTP的用户名称+ H% L" r  M% B$ w& H
配置FTP服务
# J7 C% i4 Y& L8 Y. u: Svi /opt/etc/vsftpd.conf/ ?/ |* ]$ |0 B- i  I, f5 b
在最后加上一行:
/ z0 ^7 @3 K1 B; I8 x  O1 W) v( h* O- ]

* z* [8 d- m/ ^# L1 N/ o/opt/etc中建立文件5 d( J, p' s& [: d! T' K
mkdir vsftpd_user_config
- ~3 W) v$ _/ v% e; V5 l- l5 ]进入该目录
" N1 J( X. m! Y; mcd vsftpd_user_config0 ]$ [. X- L* D* w& W
建立两个和用户名相同的文件( C5 _9 @# ], u  x" l$ b, R2 h
vi 用户名
0 \8 |* F7 S5 |, a在只读权限用户里面添加' y7 }% U5 w: R

. q3 W3 f+ x( I8 v9 z& D重新启动硬盘盒
+ ^" R+ j& Y' t, Z9 f* G8 g- H 7 Y2 \; P% K, Y' Q8 P) y
十一、设置动态dns9 \& _* `2 p$ _6 Z8 k1 I
ipkg update0 H2 i8 B, }- ^
ipkg install inadyn
8 q: s1 F2 N8 h& M& M) kinadyn --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
/ g% r" _9 X1 V$ C- m6 z$ \
7 x1 _+ C7 u6 @8 l! E( V十二、电驴
4 X( A/ w, Y( ~% Imlnet.rar内的optlib.tar.gz放到MSSPublic目录里) W8 h: L9 C1 J3 k1 o) F
/opt/bin/tar zxvf /shares/mss-hdd/Public/optlib.tar.gz: Q8 U$ s, ]7 k5 q
cp /shares/mss-hdd/Public/mlnet.lite /opt/bin0 _6 D+ G, N* }2 Z( X2 u, [: o
chmod +x /opt/bin/mlnet.lite
! {% {2 s/ t4 E: X! L& h: R- yvi /opt/etc/init.d/mlnet
1 V4 b2 A; M9 r8 E$ X/ }#!/bin/sh& ~  _5 \" ?! u, h
if [ -n "`pidof mlnet.lite`" ]; then
5 w& ?4 S% g; c' N, C, `0 p! b( |. P3 E+ y/ g2 w
echo "Kill old program..."
5 k; I  U: v6 ?3 z5 ]  U
% {8 ]) o% G9 o$ t( O; j8 B- a0 y: d
killall mlnet.lite&

# Y1 I, O! }  V* F# Z
8 W3 J6 {( `+ b& |3 `$ w. Ysleep 10
4 M9 Y. o! j$ M4 L$ L
fi- r$ T/ J$ l: L# E+ I" h- ~+ A6 s
export HOME=/opt/root' l, o/ P& K4 @7 |1 O# j
export LC_ALL=zh_CN.UTF-82 h  T, C5 ?; G9 {
rm /opt/root/.mldonkey/*.tmp 2>/dev/null
6 @: `/ \! K6 a3 Orm /opt/root/.mldonkey/mlnet.log 2>/dev/null
" x% R% h% r  ^rm /opt/root/.mldonkey/*.pid 2>/dev/null
0 n' Q" Y/ i4 p" K7 E/opt/bin/mlnet.lite&- r3 u! z3 N0 ~" U- r0 l

) }$ W+ j# k# h- X' D: v2 dchmod +x /opt/etc/init.d/mlnet
& |8 a, G8 B. i' q ! E/ a3 o' K# {" Q$ C5 \
执行/opt/etc/init.d/mlnet# p. n! d8 W- i# c: z3 Y1 D; M
命令killall mlnet.lite
) c% o" c" c# a$ g8 U * S1 Q4 I8 ?" M
解压缩以后得到servers.inidownloads.ini Winscp扔到/opt/root/.mldonkey下面覆盖源文件
' A9 D5 x$ d% O* b: f8 G5 H9 } / M& o2 n- n# H0 ^
vi /opt/root/.mldonkey) U7 Q' }) e. E4 J
修改356408
! T# t% S- W7 Ltemp_directory = temp
# |! c7 a; [% s0 ]1 m% o9 W) z* F3 Z记得加""双引号如 temp_directory = "/shares/mss-hdd/Public/mlnet/temp"- j' s' b! G2 w
修改第408 dirname = "incoming/files"
9 J+ f( z7 S' S( u8 I0 }0 b4 y+ q dirname = "/shares/mss-hdd/Public/mlnet/files"
9 G- e8 r9 L: f& G7 M运行/opt/etc/init.d/mlnet9 x% ?3 ]( D6 J0 I9 C

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:15:16 | 显示全部楼层
我的MSS-BT的CONF.doc0 m5 _9 Y! ]8 |# ~! O1 R

; F) n) q2 b: _4 R4 d/opt/etc/rtorrent.conf7 {! ~& J: }3 `+ f2 v8 ~" w
/opt/root/.rtorrent.rc% i$ q& p/ H$ N0 z1 h7 J  ~

$ N" }6 T5 D# a8 f% U* X# @# This is an example resource file for rTorrent. Copy to5 a  d' {3 K+ y$ f) e2 l
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
* [6 _7 j, g( ^) J# uncomment the options you wish to enable.
+ m# h6 e0 o: U9 i! N. m+ x
% @+ ]5 ?; K6 M# Minumum amount of peers to connect per torrent, if available.(最小种子)% I7 X: e& O4 _5 h7 ?
min_peers = 40
! r7 l3 `$ b; H- U8 K
2 w7 z& v5 |6 C# Minumum amount of peers to connect per torrent.(最大种子)! I/ M- X5 O" j) \) u
max_peers = 250. P* V' k8 F9 k  w# j/ z: a
' g6 e/ j# {% I, X7 S5 J# Z3 N! w# ^6 q' n
# Same as above but for seeding completed torrents (-1 = same as downloading)
5 _/ T: c0 [" `  u7 y- N* Z#min_peers_seed = 10# Z* I/ V  p2 b0 k* E
#max_peers_seed = 50
" i& G, e  d. y # ^  {. p- g/ \# z7 M
# Maximum number of simultanious uploads per torrent.(最大上传种子)/ x5 H/ x% Y. p6 k
max_uploads = 15* q+ t$ f2 Q- W) ?5 C4 A; E( b
  |$ K5 c3 m3 f' b
# Global download rate in KiB. "0" for unlimited.(下载速率)
  \4 q, J' A: ^( ~3 K8 ~$ pdownload_rate = 2005 ^  ~* E+ f1 y9 l" F. B4 e
- C9 x7 ^, L6 E4 I9 x; F
# Global upload rate in KiB. "0" for unlimited.(上传速率)5 f/ {0 n  _4 c: a
upload_rate = 30) P; @( `- j1 e% j
$ P; F6 n5 n, Q' t2 k( M6 n
# Default directory to save downloaded files. Note it doesn't support- }, [' c  r+ `, E7 Z) g- m5 m
# space yet.' i0 p: n  s9 e
directory = /shares/mss-hdd/down
  ]. v# X# D) L$ W) R6 W1 X% H5 k3 b  R
" {; h' {3 B* t" S# Watch a directory for new torrents, and stop those that have been deleted., E: F7 c8 d1 K4 n1 D9 }
- g3 W) O/ y) v% g8 M' e
schedule = untied_directory,5,5,stop_untied=0 u  `2 t# E% s; K: j/ r
! q8 Z% M+ N2 ~1 X- g
# Close torrents when diskspace is low.4 ^( ?- X0 W1 j( E( O9 n
#schedule = low_diskspace,5,60,close_low_diskspace=100M% N( P/ p, P# C4 a3 h

% o# e1 o( @: Q4 @# Default session directory. Make sure you don't run multiple instance- y! X% @( {2 \2 u- b6 y$ j
# of rtorrent using the same session directory. Perhaps using a7 _: W3 l2 ?/ r
# relative path?
4 K( _" L* Q4 W; S; j0 Hsession = /shares/mss-hdd/down/session7 j8 q5 G4 e3 O& l" F
schedule = watch_directory,5,5,load_start=/shares/mss-hdd/down/torrent/*.torrent
/ m' o8 |2 e# \- H, g4 R! f * h' s8 F9 n8 @4 W
# The ip address reported to the tracker., z; k) x4 Z" l+ i; X" Z$ F

2 n9 `; P# J4 X" Y4 D  J) U" e#ip = rakshasa# @6 Z, o4 k; Q7 U

- r. r4 R1 q3 z# G
  T2 j; V7 X: R4 t9 R8 j
* r: f/ D- J9 i7 i

/ C1 x9 k& p' |8 k& X( r# The ip address the listening socket and outgoing connections is
, ]" d! f( |" W- o+ O% d& [

; B$ y6 z8 t7 k5 ~" ~( b- _8 Q% }- \# bound to.# ~) B# o! j) T
* _* i# ~8 E% G! L/ v! Q5 U) Q; P- J8 p
#bind = rakshasa
/ n8 c3 \3 ]% A4 j
/ G8 c/ g0 E% E# b3 z5 X

! Z/ e; j$ T: w: L/ t                                                                                4 t4 o0 f# y0 w4 w& a7 g: C
# Port range to use for listening.
- _( c' G* ~9 r; c, \# \1 w2 X
# N( k2 y- g1 \0 c
port_range = 51777-51780" c. ]5 f/ I% I8 O, u% @1 H7 _
1 M1 L7 N( _  v# \; U8 Q9 C, z' t3 T
0 ]2 r$ c6 {/ P6 _& D# M0 \/ z

4 Q9 x7 F/ Z! }* Z  A
( D  y) C' P+ t
# Start opening ports at a random position within the port range.
$ ]7 F( b. [* d) E
. }8 x! l+ a0 z  S
#port_random = no$ `( U0 x4 r- q* f( J1 [% z; r) n

( @- f9 h: W& Z
/ N! r# i1 b! s" x1 g+ ]3 Z6 J" Q" b: m6 ^2 `6 D9 ?4 J

; F! c3 o1 s! c! ^9 c) e" A# Check hash for finished torrents. Might be usefull until the bug is
. K7 T7 H! e( U8 m7 e3 j0 E0 a+ Z* B
; G  Q5 V7 Y$ g8 |
# fixed that causes lack of diskspace not to be properly reported.
1 O% j2 ^% `8 H0 O

. a/ W" e; P' k7 A7 r) m: _4 X#check_hash = no
* r/ Z; a/ }+ L5 u5 f
0 J! `3 X* i/ |6 Y" p2 R
1 U5 V8 r; q: s
                                                                                6 N$ m$ Q' c( M+ H
# Set whetever the client should try to connect to UDP trackers.
8 ?  S8 t* n0 N
# F' ]# N+ ~" c/ Q8 p1 a9 l
#use_udp_trackers = yes
  W& b" g, a, |$ C- X" Z: i; a& d
6 \2 @0 T+ ?+ ^% d* ~
                                                                     
/ _* S0 V) P/ `7 O# W3 z# Alternative calls to bind and ip that should handle dynamic ip's.9 h4 Z. j0 Q, U7 e& t  f

* ^7 O6 R" z9 s, Y#schedule = ip_tick,0,1800,ip=rakshasa
0 H9 E1 t5 W" X
$ T& p0 i% I9 f1 o# H! G+ }9 I
#schedule = bind_tick,0,1800,bind=rakshasa
' `6 f- ]6 L, F! A) H9 ]( t
1 V' N2 d+ O) A1 M
                                                                                
8 p# U( ^- {2 _# M7 o#
3 F( R5 o; L0 K5 r1 R
! |2 @7 A" _  z! s
# Do not modify the following parameters unless you know what you're doing.1 f6 [2 j/ M7 ?. {

# r1 v$ \) D) K8 s$ d# g#
; U" g3 x' x% \

. L( s7 T3 }/ N7 l                                                                            : \, c" s% R, Y' F/ J2 N0 b
# Hash read-ahead controls how many MB to request the kernel to read7 s, `! W) T/ B+ J. Y8 H% L

/ x/ `* J0 |! f! k# ahead. If the value is too low the disk may not be fully utilized,
# q8 l. P+ d9 h/ V$ A# a
# J* `& G" }/ \' P' q
# while if too high the kernel might not be able to keep the read7 {  t+ ]1 K  J6 I' D
. a8 Z& w, u1 ^) h& I4 V
# pages in memory thus end up trashing.6 ]. R2 C4 k, p2 b9 s+ f

0 J9 v6 A  h3 n; x8 q#hash_read_ahead = 10! p. L& N7 {2 v% Y

3 h; r4 U. u4 x3 H! y9 Z8 z                                                                                
, ~% H0 d. P7 y# Interval between attempts to check the hash, in milliseconds.
# _/ P# I, Q( c0 }( L) o9 d

& L  T- r% z# X, W% I7 j& T#hash_interval = 100
: J+ V9 ]: w5 Z3 Z; E& J, y
8 h! n2 t% p; [- a# g) }2 v, S2 A
                                                                                ) R* U/ C4 Y! _" p. _
# Number of attempts to check the hash while using the mincore status,1 G4 I$ b# r- J$ h5 v1 J6 W

; ~1 k; n3 N6 _% a# before forcing. Overworked systems might need lower values to get a: q2 h( a- Q; m. L, Q1 m, \
; w) o2 ~" E7 l% o+ r9 |
# decent hash checking rate.
0 X  v; s0 M( U4 I. e6 t

2 D4 ^& D% t1 z: P0 h#hash_max_tries = 10' y2 U% n3 W) a0 _' Z
7 J% P$ ]( D/ P: d# Z: m
' g5 ~+ E$ A: l0 B$ @/ l6 \/ P" w: d

2 ?( t3 P$ T2 F) O) `

" u$ B1 n1 f" e' ]4 c6 e9 ^# Max number of files to keep open simultaniously.3 t* g) q, R# m/ B4 S
9 w+ L2 o. T" j' f
#max_open_files = 128
: T* y, P8 q" k5 g: U
0 c$ G8 ~) X& O3 F( _4 n- @
0 S; P0 B8 J, w/ u- I5 m" G: Q$ F. T
# ~3 ^( a9 G8 o2 N/ |
: {0 Z: X/ o. y, e
# Number of sockets to simultaneously keep open.& }* r8 f0 U, [
" F8 N8 i, j& ~8 `' i
#max_open_sockets = <no default>
8 O3 C! E6 }5 L9 f

$ s3 Y) `5 H: ~  Q  U                                                                                + r0 o+ K9 y9 O) p2 x2 D
* x3 I6 L2 ~# J! m, q& {: q
  N, y3 \/ Z9 }8 ~; h2 a; P& x- \0 I. P

- ]; D" I. S$ O8 Q- Y8 K5 i$ x. Z# Example of scheduling commands: Switch between two ip's every 5) z/ F5 L8 K' y8 {& q$ U4 X) f

7 h: t& g9 w# L" z1 n$ t1 @# seconds.
4 y* m$ X3 c" ~
& L5 i" G# M9 b
#schedule = "ip_tick1,5,10,ip=torretta"
1 N5 L% n7 f, d: U5 R

  O9 [+ `1 n: N+ U+ k  E" W& z; B#schedule = "ip_tick2,10,10,ip=lampedusa"
$ I" v- |( E6 ?7 v: ?) y2 g2 W
/ J- \3 r- O+ v- B  L, |
                                                                                
" J; k# S( C& ]; C" [8 c$ w# Remove a scheduled event.
& b0 y7 u: c- l! M. t2 X
! _7 `9 o; C: }

" r  ]; l# A  Y1 Y6 S; }#schedule_remove = "ip_tick1"  C) h& @8 G3 ^3 I- ]2 [7 w

4 Y5 z& O% ^) \$ F) [                                                                                
6 j' Z" r9 ^8 q% F# Stop torrents when reaching upload ratio in percent,
& V- r* {, A: }( X/ y" z# Q1 W. [1 ~  b# y1 }* a- X' e
5 {2 Z- z; \  h/ [$ h& v8 K
# when also reaching total upload in bytes, or when
, I$ r4 U. c$ g

8 J; o1 U( j. e, l3 b# F) x2 |# reaching final upload ratio in percent.7 q  L; I" q/ q; A. D( e3 M
4 v3 `3 E- X7 l# B8 E( p) Y: U+ ]
# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
9 z0 C( a" N- g5 Q5 Q& B

3 @4 ~5 X& C0 |7 G#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000") \1 y2 Y/ b: d; X9 o+ d4 ?% v' H

3 t# F4 `5 V- D8 Z) ^schedule = ratio,30,60,stop_on_ratio=200
( S' q  L- Z  [6 u8 w4 D8 D

7 v3 i1 w& A! w$ Z1 N) h$ ~                                                                                & i* N. o* Y0 o- D! X: _
! Z* R2 Q: ^4 }; \
! `/ _# K; n5 n
' V/ ^8 F1 ]+ m+ u( \. x& ?- Y' C
# Encryption options, set to none (default) or any combination of the following:
& C* w: H; Q  X7 r: r

: F  m( c, [" d# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
. ?7 A. g. `4 K' H0 H' J#$ D3 a3 I: H* Q: r' O1 H# k. H
3 K3 v6 ?* P2 e
4 Y; F  H5 g; Z/ T' h2 h
# The example value allows incoming encrypted connections, starts unencrypted
6 D! O7 ~9 b3 z
  R& h$ ]* r# S% o) B5 H- D: i
# outgoing connections but retries with encryption if they fail, preferring
( L& S6 Q5 G' x
% ^" F! ^# }2 x, |( i8 t  o( s
# plaintext to RC4 encryption after the encrypted handshake6 h' T, W3 M( }% Z# G
/ d% Q/ W) f! }
#
/ [: X- b5 _1 h! P% G
/ l; z4 v4 Q# f/ B! {$ @
# encryption = allow_incoming,enable_retry,prefer_plaintext
* W! u9 W' m0 f1 x8 G

5 o4 e1 \# o9 v+ I9 M! B' G
; L5 t( N- q  F3 K( ^7 b6 i7 X' i' L- ~+ Q9 n3 V: M

2 R) |6 g# a7 F( f* {/ L2 F# Enable DHT support for trackerless torrents or when all trackers are down.
  J% j" U, {) e: b
; V+ \. o! L- @; q5 }7 b
# May be set to "disable" (completely disable DHT), "off" (do not start DHT),/ x6 ]- `2 i% _5 }+ A! ^0 D0 a

+ v5 K; ^8 ]# s# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).# T+ K3 A" a7 R6 A* z
1 l6 E5 E4 z" z" @: ^
# decent hash checking rate.' B9 v( E) J5 [, w/ b
' ]# w( b, h6 ]3 ~. A6 w' H4 S
#hash_max_tries = 10
# e5 v; j: E% T) y7 c
. \' U' d* i: B5 W! i# A' o7 M

% g- f  B+ [; p# ~
! K6 A/ O. j- i' X* I5 P- W' _

; `( t, Q+ u. Y3 |% J# Max number of files to keep open simultaniously.3 T  o5 V$ q5 ?5 w: J2 d& A
4 a( @$ C8 G8 m2 I- h- r- d
#max_open_files = 128' I9 L2 c; o: W% Z4 x
6 g1 w6 {3 ]( c- i% k
$ Q8 c" s' s8 I
. n5 `1 _2 a$ s+ t1 x: K" G
& M  |) `$ G+ r% U
# Number of sockets to simultaneously keep open.% _6 S' i( B0 f/ ]/ r& {  B) M

' ?% j1 h4 ~- Z1 W  p#max_open_sockets = <no default>& c* j% f- Q- P. r' _0 f3 Y

: @! r5 n7 j! ^& w- [% M" Y; E: R+ h7 W: R

0 B1 L, M% A$ l7 D5 N

; J6 x( u3 a# X. P& |! Z                                                                             
2 I. \) l. g1 n+ f# Example of scheduling commands: Switch between two ip's every 5% f* R1 [8 R* m5 p% J2 W
& o4 t6 T/ F  V7 Y& \9 P. v7 Q: z
# seconds.
4 h. i. g& I& J7 r3 N
8 c: [: m% N+ `; h( W3 t& J
#schedule = "ip_tick1,5,10,ip=torretta"
% g0 X) c! P3 f9 ^7 |
# j8 r1 {* K, M
#schedule = "ip_tick2,10,10,ip=lampedusa"# D2 k# e4 D  l- y, N
8 F) l" j+ p3 G% p* {
                                                                                
' s  S$ q- _; t# Remove a scheduled event.
; r: e1 l+ p& C  s
* h; }: O! y( v' b, l5 [' d2 i; A7 t
" C* O3 l' g1 I" b
#schedule_remove = "ip_tick1"
" _3 q& A9 g  t4 b; i

* U% T9 G6 [3 L, M) W5 O, V, M                                                                                ' W' t( a" R: m
# Stop torrents when reaching upload ratio in percent,
4 e2 V& F# D" {. b

* C2 O3 K' X5 i5 q) l' O; o# when also reaching total upload in bytes, or when
& e& x! q' B. [" J0 G' H$ n

/ C! C1 Y2 Q+ ]. R( r# reaching final upload ratio in percent.
+ P6 e/ ?" N- ~1 D+ A& h& n4 u6 h
1 h) Y& s; R1 r, E: W  I9 j" Y
# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
% l+ n, A0 ]: `9 O( ]

% i$ ?* C7 H* q4 I6 E#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"; W7 d$ c, q( K8 P. @) t; U/ q/ M

0 A' M8 P  b: u1 |' t& `8 s( Uschedule = ratio,30,60,stop_on_ratio=200
0 b# ~- n" `& [5 m5 m% C
" {3 X6 T& v  \
                                                                                ( i9 o1 f7 s" T0 G/ o: F) W! g6 h5 m
: w: G* ]6 x. g7 q" @. g
; W- t. j( P7 `( u0 L

# v/ V  z# c9 }. S6 m1 W# Encryption options, set to none (default) or any combination of the following:
3 M* M/ _* T9 c2 \* Q& L

4 N) V0 C# }$ Y- j0 W: Z# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext4 a  e7 F( G! a6 _6 s* v
#
8 J' k& w$ }0 V/ u! H3 y& K6 J6 j" v% Y8 [9 @* p9 O9 L

9 z  b/ d- S! U, n8 \; x  v+ q8 E, H# The example value allows incoming encrypted connections, starts unencrypted  A8 K! E7 s' h+ B! w( M% g4 c
8 w1 W7 H" r# S# y" B( w
# outgoing connections but retries with encryption if they fail, preferring
2 |% R$ ~7 a; |7 @' |% k: W( @/ G
7 B8 @# d% f% r; q  x+ J# H
# plaintext to RC4 encryption after the encrypted handshake
  c+ U8 b- d6 J& z4 n5 c, U
+ _5 \- e7 w, t9 t: Z% H# [
#& M. O8 v9 D2 n

# S$ K0 [: @6 F8 _! |6 C$ |# encryption = allow_incoming,enable_retry,prefer_plaintext
* C3 Z- s+ ^" S2 q) |) h
! y8 P- o& E- f  v% r8 J7 q

! D, m' X/ v: x9 b9 A# S# E5 I* [8 _: N' Q5 E( _! Q
) k/ @9 p" d5 b: x+ `9 Q
# Enable DHT support for trackerless torrents or when all trackers are down.# O" H6 S# l2 f7 H* j

, }) d/ P1 s1 s# May be set to "disable" (completely disable DHT), "off" (do not start DHT),1 {3 |+ n1 |2 E$ {+ C" Z3 G$ ?

3 l% }2 e; |' S( a7 h, P/ f# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).2 u% ^" K) t6 a. _' |* k
+ U3 f7 \/ Z+ a/ c7 b
# The default is "off". For DHT to work, a session directory must be defined." z! v  d) x+ L/ ^( z+ K

3 F( v" c# D7 h  m5 i9 I#7 D# Q; r$ T5 s4 s! C3 p% L

6 [1 y- K/ F) V3 Y5 E, M- E# Z# dht = auto" n( C- q6 H+ {" g
. Z0 @: w) Y5 \
( a7 k- `% R) C9 t4 J7 p! Y
use_udp_trackers=yes(???)/ q" g% C  n: w1 K4 o. _
encoding_list=UTF-8(设置中文)9 v9 s; X# |( y7 v
umask=0000(设置权限)/ ?) Z- r6 y6 }& Y1 U. `, o+ Y3 A: s
dht=on(设置监听on
4 \0 W! a1 \2 N3 r2 h$ d4 y7 f% Tdht_port=6778(监听端口)
, X5 I6 V9 R* v0 }! x% Lpeer_exchange=yes(种子交换)
4 f# M6 p2 I; q& ?" p* ~#scgi_port = :50006 P7 h, g* b6 U
0 i2 I1 f4 u! M. k% J/ v
# UDP port to use for DHT.* J: S2 T1 t' H. i  p' v
0 G3 `/ ^0 t# c

) a, A' Z9 A& g#
+ z4 a: y/ }  f, n& J$ H$ T
5 |3 P/ J6 M$ b2 L, h
# dht_port = 6881
- W8 I/ a$ h6 J7 `* Y+ [( H
2 Y3 ~0 p6 I" [: ^1 q+ O# X

; |" C' \5 B! \2 e, r( n2 X: m. {: t# |, i% V  G

3 g2 @9 N# S. V# Enable peer exchange (for torrents not marked private)
9 y. `3 s3 f9 F( \0 ^
$ h( b( C9 y% l, ^7 l- Z( y
#
" N$ G+ [% a$ u; [# w' ~7 O
" r" {7 I0 J9 Y  q% r1 ~
# peer_exchange = yes
9 _4 r4 m3 |) a" s7 y. R( b, k. j, ?8 _; h6 {* f
: H! ?, x7 O- ~! j
                                                                                    ( E' ~9 v# A2 J8 B
#0 R; y* p2 W, Y* A2 D  U/ S# \$ G1 A
* v+ E8 R* J0 R7 G5 s8 O, Z/ A, Y
# Do not modify the following parameters unless you know what you're doing.! [- {9 W9 [3 e( N. X
2 b6 O  N) ~, z/ J+ @; y6 E) \

( I% I& F; f& Y3 }#
) A$ m. r' ~& F8 Q

8 u$ b7 W2 u+ @4 g3 q8 h* X- kscgi_port = 127.0.0.1:5000
/ F/ u5 ?* K# }: p! l7 C
(设置GUI

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:16:30 | 显示全部楼层
/opt/etc/init.d/S99local
! _+ F8 e3 o7 \( T' X - L+ t0 }* X3 K3 R) S8 n& |
#!/bin/sh
- I( g$ C3 x# D

/ _3 w' e* @6 v) X# j
2 p  c7 N( i2 y" d, n( R8 P; X# x- t
6 Q! S# N. ?4 r. w' o" d
export PATH=/opt/bin:/opt/sbin:${PATH}2 i2 B+ e8 o3 \+ o3 j0 j
5 J2 [* x. i" C0 D6 E
export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}
+ }% b2 `$ Q) p3 |& q
3 F  W( B5 f0 S, F; _& R, F
% w3 Z+ h. d- J- P. Z# c; B5 [8 z
export HOME=/opt/root
9 y& H3 i* q; f0 _. I7 L$ I  U4 f
/ u7 J! }1 s4 p, l% e% Q# i3 C8 }" ?
export LC_ALL=zh_CN.UTF-8
+ g* z& e* n5 J! l& {3 J& p9 H% V4 z
% ]% \! S: B, m) o# ]8 O) c
utelnetd -p 2323 &$ @. s7 Y/ ?& L! a1 B2 i
1 @( M7 y) @) Q( q/ M- D: _2 U
/opt/bin/screen -d -m /opt/bin/rtorrent -n -o import=/opt/root/.rtorrent.rc5 X1 o, t' \; t8 ?4 L; `

( }  z" g9 B$ Ivsftpd
) A+ m+ s4 C8 R# g' ?  y2 a1 b
(必须放在最后一行)! H" D7 B  L) v7 w

8 I3 N- [$ H( e' d, T! y, i4 b 9 G3 z' y2 o( ?7 ^' z/ s. d$ a
回复

使用道具 举报

发表于 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-8-24 08:51

Powered by Discuz! X5.0 Licensed

© 2001-2026 Discuz! Team.

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