找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1085|回复: 9

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

[复制链接]
发表于 2008-4-28 05:11:14 | 显示全部楼层 |阅读模式
功能强大的离谱,正在研究,该机可以实现BT下载(任意大小,支持中英文),FTP下载(暂时不知道如何设置权限),电驴下载(只能一个一个输入,且单文件无法超过4G,),花生壳,无论你在哪,都能找到自己家电脑;网上邻居,网络打印机(支持USB打印机,也就是每台机都能通过网络打印)* S) V1 g, ]( ~ 非常小,非常省电,还有一个很好的优点:你开了BT+电驴,其他电脑上网和QQ都非常流畅,不像现在的BITCOMET、迅雷和EMULE,一开了就别想上网。" H* f5 s+ w& C. m7 r 大小长25,宽15,高5CM左右,和一个3.5寸硬盘盒一样大小,接路由器和电源就能用。安装完毕后所有操作基于TELNET和网页。 9 a+ R+ y- O: \( r. i% v6 m还能构建HTTP和SQL论坛,这项我还没头绪。 + M0 c, Z0 O8 A4 v上个图。: F) `3 G1 J) [( i- B0 n' b/ t 1 G- a6 B: |8 g/ L. D# V0 W8 ~- n

本帖子中包含更多资源

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

×
回复

使用道具 举报

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

使用道具 举报

 楼主| 发表于 2008-4-28 05:13:31 | 显示全部楼层
留点备用查询
  ^6 c: m" F4 m( W" P2 E2 x5 d& n
一、硬盘重新写0' a4 L# d* b$ [$ Z" I6 Z- Q- Y' N
1、如果MSS正常,则执行4 U& I5 R0 y/ w/ U. |% A" `
dd if=/dev/zero of=/dev/ide/host2/bus0/target0/lun0/disc;
, \+ L7 @" P; `! |2、如果硬盘刚启用,则插盘清除分区后,用winhex01 ^5 c2 m6 J4 B) q3 p  C( L
二、改本地连接
+ F5 N5 i  `$ J3 hip 192.168.1.2 网关192.168.1.19 l9 L/ J" X# ]" n" `$ L
三、执行nasload.exe
' f5 t  Z2 A# ^0 J6 b( g$ }& x0 t9 `, g8 j) c6 p
用户名admin,密码空: N& x+ c/ D' r) g3 s% n
四、设置机器名称,用户组名称,IP
+ b4 i4 B4 _9 X* Q9 K; ~1 E五、刷新2.6.5
! t  Y' V+ ^* d4 b% R六、建立一个down文件夹0 B: t0 J( N2 h/ x5 S. s1 m% p! e; H
七、telnet 192.168.0.882 ~' G, P1 J* j; x( A9 }9 G
ipkg update5 y# h% F  P4 I% F1 I' S
ipkg list) _: H% D2 B  t) C# T
ipkg install dropbear
8 t- S9 d4 g' A2 T9 {5 W  bipkg install busybox6 `3 \# x% W( A+ f
修改root 密码4 u# l& w+ f& e2 w
/opt/bin/passwd root
7 O7 \. ?" _  h7 R2 f7 P: N; J8 H3 \9 H  ]- \
八、使用  进入
8 w* u( X4 q# Q/ K' tcp /opt/bin/busybox /opt/ 6 t9 z! f4 J3 j  `  ?
(将busybox/opt/bin文件中复制到/opt/3 x/ W6 B3 H6 b
8 Q; u  Y/ x# E  X2 p/ z2 D
安装oleg
% L6 I4 t+ W% q; M# \0 `, q" m* e(1).将下载的opt.tar.gz放在mss的共享目录中(通过网上邻居进入,放在Public文件中)6 w5 e9 s1 T' T: J# W9 X; X, _
(2).在根目录下执行/opt/bin/busybox tar zxvf /shares/mss-hdd/Public/opt.tar.gz" ~# i" G$ k' }% ], {0 u$ ~
(3).执行下面两条命令
3 b. M$ n5 x- x# w3 N0 Uexport PATH=/opt/bin:${PATH}
0 [6 {& `% m8 \. ^# H3 L1 L% ~export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}
' M) Y$ X# o' v# e# |2 }' C4)将busybox恢复到/opt/bin目录下
, K5 [0 S5 E% x! u+ icp /opt/busybox /opt/bin/  K  d+ P3 b. D3 s! n: i( b

$ Y' Q. ~% g2 V九、5. 安装和配置rtorrent(bt客户端)
- [5 o+ \* t6 i9 L, P( R; U! ~1)安装
1 I& Q& V( c, ]( k2 ^3 bipkg update; i. ]! ]$ s  X& y( F. H1 m7 B) U
ipkg install rtorrent
+ K7 j% z* i) |  ^$ R1 {; q
% T# T2 E0 I8 y  k3 S
- q, v! s/ }; q2)设置
! T% J$ w1 N  Z. e* H3 U3  |3 y5 O( ?; y0 ?$ E
mkdir /opt/root8 F. \7 \- S6 J7 R
cp /opt/etc/rtorrent.conf /opt/root/.rtorrent.rc% {) j( V- n" U8 r) I2 w6 f
export HOME=/opt/root3 P1 C3 C) h1 T, _. B4 g
rtorrent- w4 t) C) b* z; E$ C$ o
看是否成功3 ^9 |5 p9 h; G, _1 @0 F  @

0 s; {$ J6 B# C% W& q; t( G8 nipkg install screen2 z+ d, x6 d' `+ _3 w7 ~* t

; A9 ?4 B0 Q! ^6 C  S
+ [. Z  t: {% N; V% @screen
+ S- j6 O5 h1 M' k然后回车  [! I  \0 {, g4 f0 a  v% \
rtorrent0 J! k- \- _2 s3 O0 c
ctrl+a然后+d,隐藏界面
# A1 \3 n/ m, O2 Q1 L十、安装配置vsftpd(FTP服务器)
7 U2 K8 M) N8 N: U1 fipkg install vsftpd
0 b% |6 Z, {5 k5 i7 I) {! _+ T( o8 G  g5 v  ]" W% B& ?0 |
/opt/bin/passwd 用户名
) |! t) {2 p, Z修改用户名登录目录
& ^) U3 O0 d% Zvi /etc/passwd" F- @4 Q9 a1 L: z2 G0 Q1 y. H

5 P% ^" x1 a( f7 \5 @添加可以登录FTP服务器的用户名
9 ~4 M8 p( y  L/ ]  i) avi /opt/etc/vsftpd.user_list
; ^6 k# L0 w4 o! A" _4 |添加要登录FTP的用户名称  D; v' K! O8 G+ X8 {' E1 A) i9 {
配置FTP服务
& r# k) v. ?, N3 hvi /opt/etc/vsftpd.conf
* r$ q+ C! \2 ?5 P! ~在最后加上一行:
1 W/ m6 X: k& z6 u2 \6 \5 V' A6 x) y) u8 Z4 P
4 z2 o2 u, ^$ R2 t0 M
/opt/etc中建立文件
4 K' M) ~/ T( [. u5 Amkdir vsftpd_user_config
- Q& o2 w" t; F( z% d  S进入该目录
9 J( Z6 A& z  Hcd vsftpd_user_config: S: X( D& x9 j9 P% F! J
建立两个和用户名相同的文件
; |6 q8 q. U) ?' e# mvi 用户名
4 e. k: o3 X- z3 e) A4 V在只读权限用户里面添加& g" I$ f& }3 K5 {: E9 E
% R7 m) v# w/ @$ P! l: Q4 d
重新启动硬盘盒1 [2 H* c  S3 s
  t2 T% b5 H1 m8 C( w! w" k
十一、设置动态dns
5 ~' J7 t# D& n# R. Z3 s/ O$ N# e6 Z* B( ^ipkg update
: y3 g2 @# i* t6 s5 m0 Y5 s6 g, yipkg install inadyn% @% P% j9 n( R! A2 Z
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
% A  X3 a5 {( ~6 `, Y3 z % A- {, d  y) a! i% m: Z
十二、电驴
1 p* t7 ~$ \( C/ A8 P6 M# g& kmlnet.rar内的optlib.tar.gz放到MSSPublic目录里9 H: u. g. K* c2 O
/opt/bin/tar zxvf /shares/mss-hdd/Public/optlib.tar.gz
' W5 w# N0 v/ V- h" Pcp /shares/mss-hdd/Public/mlnet.lite /opt/bin5 p, q  n8 P( `+ S' j+ Q; M
chmod +x /opt/bin/mlnet.lite
1 B( L& v1 i( j- O. q8 w' k2 X9 Dvi /opt/etc/init.d/mlnet  H6 P( [* h( D1 ~( p/ a4 \1 J
#!/bin/sh
; W+ }! F2 f! p) eif [ -n "`pidof mlnet.lite`" ]; then
: O/ L% M. J! [& e; l! e6 K. i
5 k+ Z; W* _# e: gecho "Kill old program..."

! i' m, {, X7 r3 R
) y0 y; f( J. S9 o2 _$ C, o3 lkillall mlnet.lite&
, H( d3 Y$ ], k1 G! W" \+ {+ x
5 O9 H6 G* p' f
sleep 10

( H: X2 U  ~3 e9 c1 B9 [/ vfi
! f3 \6 K8 H; [; v# Q9 ?2 ^! Wexport HOME=/opt/root( z2 L2 l2 A# Q3 K8 U  w7 s1 m2 r
export LC_ALL=zh_CN.UTF-8- g4 C8 e- Y( i9 h& K
rm /opt/root/.mldonkey/*.tmp 2>/dev/null+ n# s4 v- ]* v
rm /opt/root/.mldonkey/mlnet.log 2>/dev/null
! `7 B6 o8 f# f  urm /opt/root/.mldonkey/*.pid 2>/dev/null
! J6 R3 G! ^: ~3 Y5 O! r- `/opt/bin/mlnet.lite&; X  `; \8 ~: f" K$ G/ S  h  t

0 {/ ]0 j  c& `- e6 tchmod +x /opt/etc/init.d/mlnet
$ v) k; j! R" N" ^) ~( n
1 \# ]4 X$ q% I( [# [执行/opt/etc/init.d/mlnet
. G& G3 y5 o# z" s' j命令killall mlnet.lite3 g8 e8 e! z" L2 F; `5 i- `
% s+ Z. ~* [4 X0 a1 }* ~
解压缩以后得到servers.inidownloads.ini Winscp扔到/opt/root/.mldonkey下面覆盖源文件
; X; |$ A: \+ i# q8 i, `
) d: o- A$ z, P6 H' |! H) L; ovi /opt/root/.mldonkey- g3 d- V. Y( \) E: P
修改356408
0 k2 Z% U/ ]: s2 Y2 K& Q, `; Rtemp_directory = temp, T; B9 c, e- f3 H  Q5 _
记得加""双引号如 temp_directory = "/shares/mss-hdd/Public/mlnet/temp"  w# f. S  ^8 k. D% Q0 Q; q2 I8 n
修改第408 dirname = "incoming/files"- r+ n4 a" ^0 f* e+ ^% Y
dirname = "/shares/mss-hdd/Public/mlnet/files"
/ f6 L6 s2 o, r: j+ V6 F运行/opt/etc/init.d/mlnet
. @: y5 j( g: |9 ?9 C5 H

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:15:16 | 显示全部楼层
我的MSS-BT的CONF.doc' P  V  F& l" L/ y$ q$ J+ q" Q

5 q* ?3 d7 O% l- ?/opt/etc/rtorrent.conf
8 `; }2 O; ?3 a8 [0 r4 v# f  H) e/opt/root/.rtorrent.rc
7 {" X7 y$ f4 m! N
4 E& E4 I2 f, G4 [* O  V, X# This is an example resource file for rTorrent. Copy to; `% b5 g6 H+ s
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to; n9 y, h4 r5 d
# uncomment the options you wish to enable.
+ \' ^2 U7 H; y$ Q0 M' R 8 F8 O2 y7 B" g% @+ ^2 z+ |
# Minumum amount of peers to connect per torrent, if available.(最小种子)% m7 j. T6 h8 c) ~( z4 q0 l
min_peers = 40. }. k: O: `8 K6 P; w4 w
6 F3 [3 j0 a: a5 c
# Minumum amount of peers to connect per torrent.(最大种子)
% s, V9 a1 P1 K% Z/ h$ ]5 @' h5 mmax_peers = 250% Z! m0 u5 g7 i& L6 r# v* P, ?
$ W0 Z7 R' T! s6 q
# Same as above but for seeding completed torrents (-1 = same as downloading)# h& Y# @  |" A! t  M/ z) X
#min_peers_seed = 10) O9 u4 _, {. b
#max_peers_seed = 50
1 n5 y1 R% k6 E8 ^1 v
6 |% d, I. z  |5 d" V# Maximum number of simultanious uploads per torrent.(最大上传种子)  u# H' [5 i- U. w
max_uploads = 159 r; K7 E$ Q4 i9 M7 Z+ S

) P- T1 R7 U+ w! ^- ]# Global download rate in KiB. "0" for unlimited.(下载速率)
$ A( d3 S7 w* Wdownload_rate = 200
& E3 y0 Z' v% a$ \$ A4 {$ A  O # p! S- v# g: _9 ~& r
# Global upload rate in KiB. "0" for unlimited.(上传速率)
9 z  Y) a, b0 r* h0 qupload_rate = 30
' I# T, Q# d) O( L
! w6 I( [7 U5 z5 v1 j  J# q# Default directory to save downloaded files. Note it doesn't support: I, l$ j5 v9 ?+ m
# space yet.& Q. v- f* s# M" T2 |" ]
directory = /shares/mss-hdd/down) W, b! d" N) w: Y2 |3 K! X  j

. r6 P  ~, ~9 {( {- Z4 _6 b3 ~4 r# Watch a directory for new torrents, and stop those that have been deleted.
, `$ \* {. b. b7 I3 R% Z+ D1 \
( W; ]! R# l% A3 p4 y# c8 H4 xschedule = untied_directory,5,5,stop_untied=! K9 n- s5 O3 R5 Y) x9 O  e

6 J( t0 Z6 l0 E, B9 ^- p, V# Close torrents when diskspace is low.
/ t* x. \9 K* {: g& ?#schedule = low_diskspace,5,60,close_low_diskspace=100M
2 h+ n" |) F, M4 H6 J3 X; E
$ v' O- e7 W6 S( Q2 L4 x+ z# Default session directory. Make sure you don't run multiple instance! C5 Z! @: n0 r  B3 H: m  B
# of rtorrent using the same session directory. Perhaps using a2 b, k5 K& V3 _+ u7 e
# relative path?2 M; R8 Z" c4 w3 c
session = /shares/mss-hdd/down/session- c) y8 W8 h& o/ U0 g7 t9 ^
schedule = watch_directory,5,5,load_start=/shares/mss-hdd/down/torrent/*.torrent2 B' R: v, }  w4 p( @) Y. C
8 ?* t" D& Q! B
# The ip address reported to the tracker.! w5 m' O) @, Z9 T) r
. A2 i! u  Y% a) g* P
#ip = rakshasa
# w- F3 Y* X5 j+ [, Q) t  n& ^7 y

' z( ^, g# k4 {1 D
! ^! O4 ^" b* {5 U# ^7 O1 H" ?9 ?8 X3 a( E- G: e. f
3 o1 j6 ?9 w( U/ k
# The ip address the listening socket and outgoing connections is9 \6 l9 z8 `5 h& M( s" \0 r

! U& K# m; K( W; ^8 `. w# bound to.' G2 m4 B" _6 {* `

$ @) n% W/ n% _8 C9 Q/ v#bind = rakshasa
7 @8 |% B' L. f' M  i- Y5 a& F; ^2 c: G( g! Z# [0 q

& j; k" R$ B8 m' q& c% `                                                                                  Y8 R; D4 e) Q- q2 {
# Port range to use for listening.
0 ^2 p' y9 t3 k
6 U& W( p+ @5 D! y6 t0 [: L9 p
port_range = 51777-51780
8 G6 V6 W2 o% y# z
/ B2 S- {* D/ V

# m( ~& B2 o; K) R# E
! `/ h9 u$ N8 r# ^6 A; [
' S$ Y6 t, a- s, r  s, \  M+ B2 Y
# Start opening ports at a random position within the port range.# X4 i& U# t- {$ {- A) G( @4 Y! S

) s" D7 r" E) b3 Z9 {, U4 J8 R#port_random = no# t' a$ ]3 a" C3 a6 Q* Q
2 E. j4 v/ W: G) K. t. j" F+ t: j
: ~* `) A2 C! N9 q  f, d

+ }+ C$ L5 v. \

. z) e2 _; d( l+ n9 m2 i8 ]# Check hash for finished torrents. Might be usefull until the bug is
& o) l# Q* f7 }- P8 z
! f( E6 H7 T) F2 d6 y
# fixed that causes lack of diskspace not to be properly reported.( y8 U6 c- J* g4 T) k  u
6 [' s9 A; e' M6 Z+ M; U+ P
#check_hash = no# k# S. Y" f* Y  i1 g  n
! j, [$ `, t' g3 B% K7 ~

* K+ [/ M* n) y) o                                                                                + \) N* w4 q& L, z: h- i/ S& r2 h: \
# Set whetever the client should try to connect to UDP trackers.% i9 l' O7 h4 q7 ]
, `3 j, U& m/ R8 M0 L1 \8 v% j& ?
#use_udp_trackers = yes9 [4 ?/ l5 d  S( R! Z0 R7 t2 F

. S; x" ^. g2 o3 k  n. w

2 V8 W  B: A% l$ W) [8 x( Q5 S                                                                     
# p6 P7 s8 M1 `! e6 H* l" Y# Alternative calls to bind and ip that should handle dynamic ip's.
6 {# f/ \0 r* W' p& W" \7 `
7 y1 Q- {  x, @9 M
#schedule = ip_tick,0,1800,ip=rakshasa' z/ e$ G9 g" [; o

0 C0 [) r9 ?( l" `#schedule = bind_tick,0,1800,bind=rakshasa. C, s" Z- I' X2 q+ I
/ X+ ~1 O2 {$ D% Z4 W
                                                                                " J4 ~$ ~4 Y' G; t6 J2 B% y! y
#
$ c$ l" V$ Z1 W0 [, `% U$ \

0 D. D! S, k8 v0 w* E2 z- U9 |# Do not modify the following parameters unless you know what you're doing.. A. e( k. ?( u% F
. a% U! W' [6 y! V2 O
#) ~: O  I4 h1 H. B; b- v/ i8 v

- d8 X! A9 j: k1 W9 J* ]                                                                            , @& ]8 T) t! }1 q
# Hash read-ahead controls how many MB to request the kernel to read
  c  H# X3 L# X6 s' @& U
) G- f. r2 Z+ w; f: P' S
# ahead. If the value is too low the disk may not be fully utilized,
( ~1 a+ O0 R3 W* Z# B" H0 D) p- u

% V1 M( t) m9 B" X* w& i  n" Y# while if too high the kernel might not be able to keep the read$ q1 Z) p( v7 l# f3 ~) y0 i7 l

5 U: v  Y7 z' j$ r# pages in memory thus end up trashing.
+ u- |; g  q' w+ I. V9 J+ ?4 h, Z
3 Y5 y) b0 i( |+ b4 U
#hash_read_ahead = 10, a$ s7 C& Y% r7 H. B  Q# P' V5 d& L

+ T- p0 [4 \1 G5 e                                                                                
" a. S6 R0 Z9 ?' N+ p! z# Interval between attempts to check the hash, in milliseconds.5 n* [3 e; J% r1 D
- C0 ^4 f" s0 Z; l/ Q  z
#hash_interval = 100
& I1 ~$ F9 W) ?; ~6 r1 B/ H4 M" K0 M

9 Z' t2 z1 N) |, ?" O                                                                                9 g) g  R- A6 J" \4 S2 k# X
# Number of attempts to check the hash while using the mincore status,, ~3 l- c, N+ U- e" H

* I' |. Z. |/ k  t( B# before forcing. Overworked systems might need lower values to get a$ ?, f) X- n6 k9 F" K7 V
+ O5 ^$ a# [1 g7 t9 n5 ~
# decent hash checking rate.- N* w6 X# J5 ^1 W
4 }  t0 ?* O9 z) u% A& I2 a
#hash_max_tries = 102 ^4 P1 }: m3 H. @0 f% k" Y- d5 B' `: `

! Q6 e! Z$ d2 K' e6 G' A# X$ y/ I- b4 {7 P7 \

2 Y2 }/ L! k( T4 k: p6 W8 M

/ h: n, K1 V4 P# Max number of files to keep open simultaniously.
* c9 E9 Q5 J8 |5 Q% ^& n
/ F8 U" S* ]9 _4 W
#max_open_files = 128
& k1 b* i, M* J

# u7 c$ K& Q. F- w: Q
$ f$ G/ Z8 z5 y% q' ^4 o7 f/ X8 U3 n0 D" c

2 S3 [2 v4 L: ]4 Y. D# Number of sockets to simultaneously keep open.
5 \1 \1 l$ w& [9 a- |$ X
$ c+ r5 @/ j( ?5 b
#max_open_sockets = <no default>& |4 j: g& }  x$ h) ?) j# ~
( o% r6 m& Y& M( D6 h
                                                                                ! J* i) u9 `) p' E, n) X! M4 m9 x
: \+ n2 T1 {& X2 Y3 V- l) Q( ]) Q

3 U- E8 O: v5 _1 @# h) F

& Y+ @; ?: K% ]) M2 }" D# Example of scheduling commands: Switch between two ip's every 5
0 U. g# e/ m1 @! K; R6 h2 O& b  a
5 l+ U* u; L* r$ r! |: p
# seconds.
- X3 k* e( ^6 [0 \1 A4 M

% O4 ^' _. S: q& n; i#schedule = "ip_tick1,5,10,ip=torretta". w: y$ v8 Y; d9 S( \- \
& k7 c& B4 i$ {+ R7 g8 [5 a" T2 X
#schedule = "ip_tick2,10,10,ip=lampedusa"; O: _2 e' k6 f' n7 O- z
; R0 C: W3 K! x- X1 |
                                                                                8 E; a( H- l4 U0 P. z6 j. A
# Remove a scheduled event.
9 C* N/ E7 \" e, B+ p; ]- e4 n1 C  {! q2 ?1 h$ a

6 [5 l5 O$ |  `5 q9 o  S, h% `% E#schedule_remove = "ip_tick1"6 Z/ U. |0 {- a7 s  w1 [
; W' v2 \% m+ }- C" y
                                                                                5 H# W3 n+ g5 D! M1 z
# Stop torrents when reaching upload ratio in percent,
. v5 Z  j) E' }; V8 k% E$ U7 S1 ^5 u! V4 [. H* w

. ]1 w* s0 F8 p+ H; Z) e# when also reaching total upload in bytes, or when) g" V& l& k8 w/ g$ s& j2 _' ]3 |

* x- e& M8 b4 f  C# reaching final upload ratio in percent.
; ~3 d% `; y7 O( ?7 q9 l, T9 D

" W( _' {' t' s; R7 t  j# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0; N& }+ r. r9 g

2 W5 f# \& ?( k' `" v0 j2 f7 O#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"
$ N- H' m$ d/ _  C, f
: Q# X8 c4 Z; U) B
schedule = ratio,30,60,stop_on_ratio=200
+ {8 h' P& a4 \: R4 \3 z
- L% q" g: p0 ^% c* w% Q* j
                                                                                
5 y9 Y5 S, u, ~( \( Y& P: y4 ]: k) ~: o0 u! P. H  ]$ |
4 E( A) g" ^, c7 G7 Y3 F" s3 \

1 Q) I7 @, e* p" Q+ Z* o# Encryption options, set to none (default) or any combination of the following:
# ^( S5 b  C  y- G* M8 K

1 Y* {! f4 ^7 U& H2 l) r# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext1 x7 n! A8 I- h: W4 r! Z( ?2 m
#
& [7 Q0 A  l9 M! U) ?7 S
1 ~2 b7 B; Q, c, l; s9 A& ~

0 O& r/ T+ B; K: u- P% O# The example value allows incoming encrypted connections, starts unencrypted" p" S! \* I! i, `. z

6 |3 C  F5 Q. |+ B- T. z$ f4 ^5 f# outgoing connections but retries with encryption if they fail, preferring
% ]0 S" L) v( n8 I. \# @; Y

* h9 P2 R2 J7 e. g3 \# plaintext to RC4 encryption after the encrypted handshake  f( C5 y* t$ r* S6 V
( W& l5 B8 G1 Z- v- \. p8 X
#
9 o. i3 a1 |; u2 J1 Q& l6 ?

' U" O1 p$ |* y6 W& Z% T) S% e# encryption = allow_incoming,enable_retry,prefer_plaintext; ]7 B" \+ s% Z$ }5 T$ r7 k* I
3 D9 Z8 y; K. K5 M: _* U& G
, @* J# z! _$ n

3 f3 b2 R. S. K" {, I+ D4 `
( _; R. j9 r  @: b7 F3 ~
# Enable DHT support for trackerless torrents or when all trackers are down.
$ e4 b" {- s7 |2 m, d' ^& D7 [0 I
7 O# Q- c( Q8 }" r( ^* N
# May be set to "disable" (completely disable DHT), "off" (do not start DHT),$ d% t7 f2 I4 F) A' {# ^# W
) ~3 b! |- |4 J' p
# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).9 T$ S. p( ^% M# |
* R$ D- @- G0 ?4 Q( i
# decent hash checking rate.( e& b' N, \- R. Y

# V# r4 c6 k( C# V2 K, m4 N4 O#hash_max_tries = 10% U$ F, Z9 O( @( t" y3 R$ i
3 ^' _% J- r& J  J4 l

1 q. P; z! W9 r# W$ B+ Y7 P2 T9 ^( O/ U5 d" A( N( m+ Y

4 a6 J8 ]6 o2 O- h# Max number of files to keep open simultaniously.
" l6 @) P" L- A8 y
  G2 y: p% F& s# I- b
#max_open_files = 128
# Y, ^5 \6 J) V3 C" r9 j/ `6 `

! |% F8 R( Y& C. n# F& ?
* ~: s' X9 n0 t! S0 e/ {  Y- B" \) O5 d
! @/ S1 c* P9 I% m
# Number of sockets to simultaneously keep open.3 J! f: a, R; u' N

7 X* j# ^; J, i#max_open_sockets = <no default>+ s9 R9 O0 a, I+ h7 ^* {  l! u
, j, ^+ E  Z5 {8 B
! [6 d# f+ S$ ]  E, q

6 B0 S3 G: X6 R) g

* H) ]0 r4 Z6 ]9 p; P0 [                                                                             
* D' E+ h' c& a/ @, k% b- q5 H# Example of scheduling commands: Switch between two ip's every 5
7 f5 m9 e( c9 H1 C! r. I

: ^% [2 G# M4 @/ j9 _" G. N# seconds.
$ d7 ?7 a2 g: `, _; j* ~

9 F1 a4 L! R3 G9 ~% |#schedule = "ip_tick1,5,10,ip=torretta"
; W* w9 i- ~! `* h
! x  ]+ X% z" N# t+ I
#schedule = "ip_tick2,10,10,ip=lampedusa"
5 C: G* n8 ]# M9 y

8 }, {* L% r; v; u+ h0 u                                                                                
6 ?: \3 u9 m. r1 Q. A' y# Remove a scheduled event.
  o3 D9 b$ D9 `, `- i. o3 h9 I
) ~3 L0 x3 b+ j9 b% N' u( l2 B
: b- g* A, m% K/ X
#schedule_remove = "ip_tick1"& D" c* v7 G$ }; d/ D! W2 T

5 {1 j8 X% m! V) M  U& x4 ^                                                                                + ?5 y" G5 i5 P& r/ H% d$ A
# Stop torrents when reaching upload ratio in percent,
# h& c. W; {/ g" P4 o2 }) C
; q* o" s' V+ e3 d. G" G1 J
# when also reaching total upload in bytes, or when+ E& ~. C. n- ^+ h5 H) w7 |

4 {2 x& d  f/ s, h" w8 W4 F; m0 u" C" c# reaching final upload ratio in percent.
: {, f1 Z, z8 |9 m- b. e, S1 X9 `

+ d# Q+ M7 [  t( u* j6 [1 ~) a& r) e# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.03 i9 @& ^" B  f8 f) E* Q
' g  g- K# V. ]) E6 c. ~* e
#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"
3 H8 A  A6 O9 e; M

+ I* y# j1 Q+ Y3 fschedule = ratio,30,60,stop_on_ratio=200' R; _! _$ @* f* ^* Z; j" a
. D8 k* @6 H: c5 |4 Q7 c
                                                                                . ]! e; C# ?9 ?
& \' l8 K  \0 K0 s

1 t4 c9 {( J+ D- @) C) P" n
# ?8 t0 y; |! @- _# Z
# Encryption options, set to none (default) or any combination of the following:6 ?3 {' p- S2 g5 l- F& w* b. F& x
( N: f) l7 s# z. A* i1 g1 Z
# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext6 H/ F% r" v/ B- @0 @: Y
#& l6 K' `+ N$ [, |; e( R

! Q9 [# o7 m* X+ U
3 M4 q" J: v) {. u6 m. A
# The example value allows incoming encrypted connections, starts unencrypted
) |8 T# k7 s& w: X6 H' b3 m

' k3 {1 g  F. [5 A# outgoing connections but retries with encryption if they fail, preferring
* n/ d: W: x( f3 ^

  X% t. s" z& |) z8 A# plaintext to RC4 encryption after the encrypted handshake
) [6 a7 q8 X+ U# m3 W4 L5 i
9 t3 @$ D) f% w% q
#: }* ~2 U8 G  h
9 q, F% ?6 B- y0 a7 H
# encryption = allow_incoming,enable_retry,prefer_plaintext
# {) W( K1 o) \. ?/ z0 d

  @" T% t0 _: j7 F! q) N" Z; P- q3 U
# q4 b# U" T% v2 I( F- F

5 l' v6 ?5 y- S3 ~# Enable DHT support for trackerless torrents or when all trackers are down.. f6 \0 W/ ]" B5 Y* b
6 ~) v# P& n% o1 P5 U+ b# k
# May be set to "disable" (completely disable DHT), "off" (do not start DHT),
& Z! ~" M( P  J4 R
7 h2 z; t! H/ [5 P
# "auto" (start and stop DHT as needed), or "on" (start DHT immediately)., C5 z/ w& m# J- \8 S& D6 K( t

- q, x- }, S5 n* Q9 |7 {! l0 v- `# The default is "off". For DHT to work, a session directory must be defined.
' p8 ?$ ^* j+ q" C5 ~

  ?+ c/ A' y7 W  q#
5 P$ Q! q2 y: h4 i. f* R) y5 q' J
! E- X: r) Y, x
# dht = auto
+ O. i  K8 E- @0 p4 }/ ]1 f5 _4 B$ e% H& B5 x1 ]

- b+ D% ]9 E. U( B, R' v  p* U2 D; juse_udp_trackers=yes(???)7 Z0 e. N4 s8 ?0 T2 y4 T- ]/ M
encoding_list=UTF-8(设置中文)& b) C. G" _& o4 R& E% d
umask=0000(设置权限)# V7 Q/ {3 B/ _/ G' c; s$ e
dht=on(设置监听on
, V' M7 h6 f: {' Mdht_port=6778(监听端口)* \) x- m, q8 I: p5 l% o" F1 s
peer_exchange=yes(种子交换)
) e% U( F; s3 A4 Z#scgi_port = :5000
0 p* q1 `. C- p! o$ _

  i$ {: k1 C, H" N  v) S" r# UDP port to use for DHT.
0 v5 ]# {8 y( w4 R  k; i$ [$ D) V7 t

' ^$ P9 k$ o( t  v7 N/ H#! @3 s; w7 o2 u1 k+ G5 S
" s; M6 i; ^8 k
# dht_port = 6881
. y: P3 M# A7 i
0 j2 t- U9 u' {

) e, w8 Z6 G' q" W
" k( g' y- ?9 T$ W4 G
2 Z' Y) t( M; B/ H5 L( b
# Enable peer exchange (for torrents not marked private)
) p  Q1 ?# k$ N! _

+ L* s2 R2 G3 X, D#
% X4 k  e- o# w7 p; ^' n; H% c

4 @9 B7 K3 f5 K; \7 E# peer_exchange = yes
' U7 D6 w* C' N! ]  U! k9 u% f
9 _/ a0 m/ M9 r" o; F

- Y3 N* {7 ~/ |5 D+ [- P                                                                                    
2 i0 x& I* B& s+ F3 V; k2 m# q, i. g  o#
$ ~* R0 y& O0 y2 |0 u) j+ I$ F3 g% H
- N, V6 j/ U8 Z0 J% i* ~/ J7 k+ h
# Do not modify the following parameters unless you know what you're doing.4 m# @' L. q# e+ O5 O% U

* x! t6 W3 M6 E7 y4 z
/ W% S0 W: S( K# V. u0 [9 z; @
#
9 i/ b; x9 b9 m' f3 C% _0 i
5 j$ E; v: N$ J8 }0 u+ p" P
scgi_port = 127.0.0.1:5000
$ P' o  Q* E) X9 D8 _& F' Z
(设置GUI

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:16:30 | 显示全部楼层
/opt/etc/init.d/S99local
0 Z3 d7 l* |0 L
+ |, _% b2 J, w: T4 U' |  i. v#!/bin/sh  a  ?" I1 ^3 |/ t% S6 Z
! Y6 D+ p$ H. v! Y' u$ [( A1 Z

" ^: n9 U# B! j. T* c
9 E$ B" C+ t% M( L' t

& B3 V- B* F7 |3 X7 x" Gexport PATH=/opt/bin:/opt/sbin:${PATH}
: ^. O! J* N' Z7 e
0 }  B4 x) d. @) |1 V
export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}5 f" p7 o+ O" F' ]# J2 g: ?) \

1 p. a7 [# ]5 b2 f( K9 ?" ^4 b
0 `  p# T8 \; U$ O* t! K& V: A: L
export HOME=/opt/root5 F- t+ ^* V8 U9 W/ p/ v

! @( \4 h7 g0 Qexport LC_ALL=zh_CN.UTF-8
( M8 n- P; R  \. T2 f& K/ _4 _0 z5 u2 _9 C. y
; e1 l1 M: z9 q5 C9 {1 y7 H
utelnetd -p 2323 &+ _0 ]0 y; i! N+ l
# i1 b1 r9 }1 p/ n6 Q
/opt/bin/screen -d -m /opt/bin/rtorrent -n -o import=/opt/root/.rtorrent.rc& A8 ^0 d! G. K3 g) t( e

) @% ?4 b( X$ f( I# G6 bvsftpd2 ]; z0 c$ g0 U5 Z
(必须放在最后一行)
: [* G8 T; v. \  i2 D$ `1 n
$ G% P8 [: Z& m! C
$ c1 C; _/ Y+ }% i# Z
回复

使用道具 举报

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

Powered by Discuz! X5.0 Licensed

© 2001-2026 Discuz! Team.

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