找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1117|回复: 9

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

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

本帖子中包含更多资源

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

×
回复

使用道具 举报

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

使用道具 举报

 楼主| 发表于 2008-4-28 05:13:31 | 显示全部楼层
留点备用查询% h' ?: Q: T! Q( X9 e: l( V% v5 U
  M! k6 d  K* K1 L% C
一、硬盘重新写0" {: g- V" w' e1 P
1、如果MSS正常,则执行
# o  r  A5 l+ ?! U$ M; ldd if=/dev/zero of=/dev/ide/host2/bus0/target0/lun0/disc; ! v& H7 t7 u! ]
2、如果硬盘刚启用,则插盘清除分区后,用winhex清0。
# `8 S, l2 q+ {5 a3 b7 Y% T二、改本地连接
9 Z( N- F) ~' S8 X: @ip 192.168.1.2 网关192.168.1.1. q. y' e  V7 y; g2 x  J
三、执行nasload.exe8 t+ y$ h; ^; \! c
# _3 }6 }1 Y! A1 b
用户名admin,密码空6 @7 X0 v! Z" p9 `
四、设置机器名称,用户组名称,IP
- o0 W' \5 Z8 [) I五、刷新2.6.56 w/ o3 n4 O( A2 L) U6 U: f
六、建立一个down文件夹
6 D; O. [( ]: T' K8 `7 Y$ c七、telnet 192.168.0.88+ E+ A" g) L% u* \) d+ j7 [7 J; U
ipkg update+ q7 `; V! |7 b7 w% R3 x: Q
ipkg list
" W& n/ d) A9 g0 w* q' Iipkg install dropbear9 |+ x' j0 M5 V
ipkg install busybox8 x- `9 z3 m4 b  ]; }; m
修改root 密码1 j- \- I- P/ {  w+ T
/opt/bin/passwd root0 j$ {, l; W- D9 n
* }5 @% `+ O2 [* H6 q$ L4 ?
八、使用  进入# E9 i1 a$ E0 e" [) a9 i  k
cp /opt/bin/busybox /opt/
1 U; c+ K3 u& ?5 q- N) u! z& `3 r(将busybox从/opt/bin文件中复制到/opt/)! H6 k( c$ I! s, m5 J. Y" |

: Z' d; p1 D. }6 y$ i安装oleg
& Z' ]5 Q. b$ F# g  w+ Q+ Y; f(1).将下载的opt.tar.gz放在mss的共享目录中(通过网上邻居进入,放在Public文件中)
1 n* N4 E% \1 s% ?  l, U; x(2).在根目录下执行/opt/bin/busybox tar zxvf /shares/mss-hdd/Public/opt.tar.gz& M1 x0 W, ?7 ?- T. ~5 A( L
(3).执行下面两条命令
( E: K9 u( b) J9 M  r. }8 mexport PATH=/opt/bin:${PATH}
( m% D; d$ |0 V, f3 ?* |export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}' Y' T+ a  o, a. n. d! W5 I1 j2 d
(4)将busybox恢复到/opt/bin目录下: k4 f2 Y/ e7 @+ Z" O8 L$ x4 n
cp /opt/busybox /opt/bin/
' Y) A9 b- D0 }* Q  a' J , G5 m. x" m1 C+ X( e1 P
九、5. 安装和配置rtorrent(bt客户端). ]# u( j1 i' W
(1)安装
; M, c3 Q, ?4 B# P2 ~$ Kipkg update2 q# G1 K2 V5 B2 |5 }2 ^& S2 W0 g3 f
ipkg install rtorrent
6 x: U6 {. i7 F. c  r2 P# l% e! B" f1 x3 R  R
  A: B9 }8 k$ Y/ ^- l% z& U& W
(2)设置1 H7 T6 G: @' l7 M
(3)
6 c" I' t  Z/ L7 bmkdir /opt/root
$ D6 S& Q$ x# m; Y! Z( j9 ^" d2 Ocp /opt/etc/rtorrent.conf /opt/root/.rtorrent.rc
" m8 C/ }- W, A( Zexport HOME=/opt/root" z3 i" k; E9 Y% w% K0 s7 [1 V
rtorrent- J" C. A( w: K7 j; k2 D0 W3 W
看是否成功1 K2 w( T& ]$ E0 l
# I  f0 r; V- w0 n& l
ipkg install screen, j$ O! z, z8 }
, Y- s4 o! U7 e; t% _

' W( X  o7 g2 p( o& y" pscreen
" X$ `. B! t& J然后回车7 M" t0 U0 W7 w
rtorrent
& R; J  V2 W# P9 Ictrl+a然后+d,隐藏界面+ M& `* Q7 ]9 X% Z" D
十、安装配置vsftpd(FTP服务器)
: c& C5 y: h6 j) w1 \0 Qipkg install vsftpd, @$ K) b! S, l  a$ |2 t8 Y1 d
. b, H4 b) e2 R3 I1 n" l! A6 B0 @0 p
/opt/bin/passwd 用户名7 R8 x5 Q8 }& r' V
修改用户名登录目录) g# h* S/ F6 Y9 A
vi /etc/passwd; D; t  {0 i6 E7 ^9 q7 j7 |

2 o6 w: [/ b4 S" n* w2 u9 ?$ a添加可以登录FTP服务器的用户名& h- i( F  i# g- x0 e) [9 q0 |
vi /opt/etc/vsftpd.user_list, j' |3 b0 r6 L% C' |6 Y
添加要登录FTP的用户名称! Q' I7 @, s% H; V# n" @/ ~/ C
配置FTP服务3 R, [( ~; b. ~4 `8 k
vi /opt/etc/vsftpd.conf2 ?/ L* x& e7 Z( }% P
在最后加上一行:& u/ r$ `! }9 i; _0 S

+ T( h+ N0 M" h+ D$ {5 `: z , g8 x, T! d/ Q6 l
在/opt/etc中建立文件
4 N2 x; O1 s$ ~2 t& K  Rmkdir vsftpd_user_config( o( ~0 g1 f) ^1 t) Y
进入该目录
$ O3 G/ L+ i& Ccd vsftpd_user_config: X2 p7 H+ ~; _& w2 g. J/ t1 D. g
建立两个和用户名相同的文件
' `9 k, M2 m8 z% svi 用户名1 d% j  Y9 T8 P+ |& y! D$ }% ^
在只读权限用户里面添加: ^$ d: F( ~% H. s4 F6 X( d$ _* R

& K6 ~8 H: d5 s重新启动硬盘盒& A, H8 ~, @0 W* P  c, ]9 {

1 U/ g" J+ u1 y2 N; s3 O" }十一、设置动态dns$ I2 ?# _" A. H$ T
ipkg update
$ ]8 I( c1 T: S: eipkg install inadyn% {) w, p9 l) H$ [0 {/ G
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
' g6 n) l$ ~0 ~. ^
& q# o% @* m; h* U十二、电驴
1 @$ e2 ]+ U6 ~将mlnet.rar内的optlib.tar.gz放到MSS的Public目录里
3 z! C& F- O1 e' {! d/opt/bin/tar zxvf /shares/mss-hdd/Public/optlib.tar.gz
' I" ?# g  d( U; hcp /shares/mss-hdd/Public/mlnet.lite /opt/bin
. k+ h( t4 a: v. i, Q: q/ nchmod +x /opt/bin/mlnet.lite
/ n4 w$ s! e. s$ \* V' Hvi /opt/etc/init.d/mlnet9 @7 q. v; i; {6 s6 d( Y' w
#!/bin/sh. m) R& I& O; y8 `6 y) |) V
if [ -n "`pidof mlnet.lite`" ]; then
& Y& N6 j; d2 X, O2 {3 V( u& q  W0 e) c- K
echo "Kill old program..."
* b7 E& r5 w" }# `5 D4 T

5 m. ^) ?; M3 ]1 W" `, }/ wkillall mlnet.lite&
  P- B2 ~* K: V8 E0 |4 o" a

+ M5 S- W- y8 v  f3 J0 O7 Csleep 10
+ v* V% K: L! P! [9 O* q
fi
4 ~  J6 y  o" t( Aexport HOME=/opt/root+ n0 f3 Q" s: O) O7 \( a4 `
export LC_ALL=zh_CN.UTF-8
" D% ?! I- l3 L* l0 M; |& }- `rm /opt/root/.mldonkey/*.tmp 2>/dev/null
. F; f' h' f* _& nrm /opt/root/.mldonkey/mlnet.log 2>/dev/null
9 X( h" Q% g6 A: `& Y* l/ Brm /opt/root/.mldonkey/*.pid 2>/dev/null# T) ^" `; r; S, Y! m
/opt/bin/mlnet.lite&
9 f( a% r) X- k1 s1 K) i
2 X. `1 P' g: N; o4 n6 T# X5 Y* X( ochmod +x /opt/etc/init.d/mlnet- q+ R7 X) C" c# _

9 G3 d% _; R0 M% i) \执行/opt/etc/init.d/mlnet
. i6 r% S& T- m2 K' S' n命令killall mlnet.lite6 u0 w2 F  w! s" o- u- i2 x/ r
) p. X4 x; m$ Y  b- E' |
解压缩以后得到servers.ini和downloads.ini用 Winscp扔到/opt/root/.mldonkey下面覆盖源文件
1 W# G& [# W1 W3 f" I! B/ _  I
- i+ v9 O+ X: \2 f9 ?; Z) I( avi /opt/root/.mldonkey* @% M8 B; h+ Z  \% r" y
修改356和408行' I# S& r2 H. l! d+ p
temp_directory = temp
8 h. L7 y8 F6 j/ |记得加""双引号如 temp_directory = "/shares/mss-hdd/Public/mlnet/temp"
* h+ j' e3 ~! `8 ^: w) q修改第408行 dirname = "incoming/files"
$ Z3 e0 j5 e5 l; ?6 L. B# ?5 |如 dirname = "/shares/mss-hdd/Public/mlnet/files"
5 t  b1 j: v! K$ p2 r% q运行/opt/etc/init.d/mlnet
+ ~" H, p8 r- I( m$ D  ^8 L

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:15:16 | 显示全部楼层
我的MSS-BT的CONF.doc
9 q# ]- J; U8 \" b! c/ d7 N- J( i, z' K, W9 @" s( E. x9 b
/opt/etc/rtorrent.conf. n( F6 [) o6 i
/opt/root/.rtorrent.rc
$ O8 f& q, d$ A0 `6 f ) y% Z3 o1 D, S
# This is an example resource file for rTorrent. Copy to. K1 W5 f2 }9 _: @& H
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to7 ]6 M; i2 D; m) p
# uncomment the options you wish to enable.
. z5 u  J7 E; U9 F ) h  p& e1 X3 X; y4 l
# Minumum amount of peers to connect per torrent, if available.(最小种子)
( {$ s4 @$ R6 j- Z( d# Zmin_peers = 40: t. v7 L7 f, o- z
. v4 z* P6 _- K4 H$ Y
# Minumum amount of peers to connect per torrent.(最大种子)
6 w. t9 Y6 N/ P" Q; lmax_peers = 2500 a( q% d! w8 y' Z
7 Z+ |, e8 J) y/ a  w) b
# Same as above but for seeding completed torrents (-1 = same as downloading)
" B  A$ a  u% m3 _8 K$ e9 M. ]#min_peers_seed = 10. {4 o# M2 f$ E0 q# v% o9 {! u
#max_peers_seed = 50
3 }& V* U0 {+ o/ ~
* c) R" C" c" ?& j9 L& B& Y; C# Maximum number of simultanious uploads per torrent.(最大上传种子)  B' F( k! ~) L3 r1 C7 R# `2 l& y
max_uploads = 15* O+ X0 b: g! T0 j
  N) _! H' A2 X  a( O7 s0 _. Q
# Global download rate in KiB. "0" for unlimited.(下载速率)( x1 g' y! g; A
download_rate = 200
  o+ @' O1 E- v* |4 I + O; H, {$ p" L- A0 _( N1 J' d' C
# Global upload rate in KiB. "0" for unlimited.(上传速率)+ [: {! P0 r4 l- r
upload_rate = 30
% M* Q' q. c) W8 a& |: e) X, O
; g1 R" W6 `/ C! y3 F6 T4 s. o# Default directory to save downloaded files. Note it doesn't support5 H' r& {# x' @7 d8 M7 T, O
# space yet.! i3 Z8 j; d4 c; y: ~8 h
directory = /shares/mss-hdd/down5 W8 Q- ?$ m9 Z1 U6 ~7 E

1 e  j+ Y; X& L7 e# Watch a directory for new torrents, and stop those that have been deleted.
6 o# l- r! D% {& L: t' ^9 }, E 6 _& ~+ ?8 }% _' ^  C' ]# K. c
schedule = untied_directory,5,5,stop_untied=
2 {( E4 a7 Q  q+ s# g! m   c9 U/ x' S5 b
# Close torrents when diskspace is low.8 {, ], D; [' Y" r
#schedule = low_diskspace,5,60,close_low_diskspace=100M5 T! x& X, S: j8 Y- M; N
, T3 E! |5 K* I* `2 Y
# Default session directory. Make sure you don't run multiple instance
- w$ O* e4 g2 E; ?# T# of rtorrent using the same session directory. Perhaps using a
4 N: B6 ^, B' [% V) P" r# relative path?0 F+ L1 f% j# F0 Q" F) P4 B
session = /shares/mss-hdd/down/session# j2 R" v+ y1 D% m" a
schedule = watch_directory,5,5,load_start=/shares/mss-hdd/down/torrent/*.torrent% l# j9 e' M; z) M9 m
: H2 q$ d: v! J2 A$ B% Z* \
# The ip address reported to the tracker.' K8 X$ \. N3 a% T+ o

8 u- p9 Q# m1 y1 P#ip = rakshasa
$ e! L7 v+ v1 s

7 e& ^: y6 j, e) l' Q: W
  F0 r- ^5 z  [# G7 S* G2 E5 f% X
3 T3 x: D+ h1 W7 [. X( r' Q
' n; z" Z( I: ^. F2 w& x( _. H9 W% `
# The ip address the listening socket and outgoing connections is( q( W/ u) y" J# C" W) c
9 s8 D8 y# }/ L/ v
# bound to.
. l1 U- v& R4 Q4 n& v' I* o8 j

0 h' \( \3 O& j. b#bind = rakshasa8 k1 t, O) Q: ^( }' K
# W; _  Y1 l8 H. I, a* F% A, A4 x

4 f2 ?0 T& ^8 |/ M- e* T6 n* r                                                                                % I5 K+ ~3 L8 ~# ~( ]% N
# Port range to use for listening.) u! U' ]  a( t" b- ^

3 |# u, ~) u/ G9 i9 z5 n$ B; yport_range = 51777-51780' {$ C  G) G  \" i7 Z1 q( i

8 s# ^5 E6 Z) A, N8 C2 e; q4 J  g+ c- p; g
: ~& G: W# i9 r& N: z% Q
& J1 y9 \$ e5 J3 E" N" m3 \7 r) B
# Start opening ports at a random position within the port range.
: s0 K, g1 r' d! T4 I6 d4 i1 w5 K
/ L. B" V* b/ a4 u- i' \
#port_random = no
: x7 q4 ^* c% C+ P& x/ X
- r! }8 b1 u- J5 U. l

5 y$ h. I4 Y. C/ ]$ e$ Y( h5 ]/ p$ Q% H5 h( L

! }& F. P+ L  k0 g- R# Check hash for finished torrents. Might be usefull until the bug is
. v1 t% R5 R5 j! q5 U5 R1 r* f
+ v$ E$ f3 N) K0 c3 C
# fixed that causes lack of diskspace not to be properly reported.
/ r7 d2 z9 {# I; a$ d& M
0 o) l7 w/ k# D" q. w- B, ]  E
#check_hash = no  R6 A5 \" D' s' F! [

. h0 W! }1 v5 s1 A/ }1 C6 m( U8 e
0 _; m6 |9 y" b3 Q6 h  g
                                                                                ' p+ p7 @9 V/ M1 t
# Set whetever the client should try to connect to UDP trackers.  c- c6 q" x% J) d( X" d8 ^
- W: o, v: P$ r' n8 q+ }9 c
#use_udp_trackers = yes8 s: D& S( @. `0 ^

; J  l( w* Q) y& ?
. G4 z3 e$ B. f3 W* T! u
                                                                      ! k, y, A/ |. L( H8 |
# Alternative calls to bind and ip that should handle dynamic ip's.8 }! g7 F; p* O0 P. W5 G0 K

% u1 B; ]0 o/ z- d#schedule = ip_tick,0,1800,ip=rakshasa
! L1 H9 g, _  _; _

2 p' I1 q) o& {. ?1 _  R; w# B#schedule = bind_tick,0,1800,bind=rakshasa
1 [9 S9 v% L" v+ G5 [
, |6 B. c1 _2 d; ?) h2 E
                                                                                9 U$ X& o$ Y0 Y  P9 E3 r
#
" l7 j. U7 s2 r
) ~$ N* }+ H" z. S
# Do not modify the following parameters unless you know what you're doing.
( l" G  E8 U: I$ s
& J0 m0 U4 P$ ?( j9 U; V/ z
#( o" Q$ n; ?& [

" L- m9 J! ?) j' \. h8 F                                                                           
$ r% C7 i/ X1 ]' |: R0 K# Hash read-ahead controls how many MB to request the kernel to read) `9 S/ r" w! L! U! j. D3 K5 n

5 @3 N$ W- W' U5 i6 R# ahead. If the value is too low the disk may not be fully utilized,
4 }0 B+ j& d! x5 i) m
% V% ]8 c9 m* _2 w: s
# while if too high the kernel might not be able to keep the read" K" ?# f4 m$ N; W7 W1 B

: m0 K" E' g& l& o! J  h  g1 c: a# pages in memory thus end up trashing.
2 B8 K7 a1 l4 c5 @& Y( W

" e2 ^, x; t' c. Z#hash_read_ahead = 10/ j2 G; |- o0 _' j- l8 T

4 @& @- M8 S5 S, M                                                                                8 e( y1 U6 O6 R
# Interval between attempts to check the hash, in milliseconds.. p7 F  T$ K, P
8 R7 [0 x; w$ T
#hash_interval = 100
$ y+ Y% M$ ?; g$ O! Y  s
7 A6 {( \9 l8 f9 O! J" l- M9 m
                                                                                + Y; N( X9 s4 ]. T. I( C
# Number of attempts to check the hash while using the mincore status,; e" K; {" W! A: P: b8 N) V. H
1 H* I0 `) k0 k: ], @) T5 n
# before forcing. Overworked systems might need lower values to get a. V0 V* D+ [, t+ b6 _. G9 d% d
" S# r9 ?, m  H2 p) }
# decent hash checking rate.) B% E/ [. c3 C. k# A3 r+ s& P6 J

( @$ I5 g8 O: k" H#hash_max_tries = 10- l$ a6 @/ }! h4 T$ p( W  ]

& P8 ?9 m0 Q/ ]8 E4 j# g. b
2 B5 `) H! F; ^0 ]
: u# `3 q! n8 y8 ^1 L+ G! F5 |# Q
0 ?3 h( z# ~7 v3 V: Q
# Max number of files to keep open simultaniously.
' m9 m: r; l  \3 Z! Y
% p' \  K. L9 k9 C
#max_open_files = 128
& D! [" t2 b4 W+ \* A, N

3 g0 n1 ^& G4 O+ n2 ?$ Q9 w, {  o" R

/ m9 M# J5 ]- u. O

6 y. X) r5 Q% G  U. m# Number of sockets to simultaneously keep open.
  w( L7 O& q1 S8 `

# M2 }5 ?2 S- h" `#max_open_sockets = <no default>
7 u% q; x) S5 H  y5 ?
$ g' H% O! ^& F( o" \& K: ]5 B
                                                                                ' }2 g+ S  G: }8 {6 l

6 k9 P3 w/ K: j& E- d
9 u+ H; e& D" X/ V' p
. H! i; S' s$ r+ f
# Example of scheduling commands: Switch between two ip's every 55 Q7 v; h; k5 `8 I( z' {1 A( T  M

! C& Q+ B1 z8 Z1 U3 Z# @# seconds.
# p' G, u2 S) |, l

8 a' M0 o# E7 \. U5 M2 e, T$ q7 A( V#schedule = "ip_tick1,5,10,ip=torretta"
. B% ~% R/ j/ G
) M/ Y- k0 o* @4 R
#schedule = "ip_tick2,10,10,ip=lampedusa"7 F: C% ?5 ?5 `

/ t1 e7 s+ X  ]8 {                                                                                5 F* j3 S- f* J4 q5 _
# Remove a scheduled event.+ w9 p; y& Z( U, i! {0 I6 ^

2 U+ m$ k9 J* C

' C9 Q+ f6 K1 Z- e+ f. a; B#schedule_remove = "ip_tick1"6 A, f' `7 U7 s* Y+ `& M* e  y
  w3 O- ?+ b6 N. P- B  X
                                                                                9 D! s+ P7 v" W
# Stop torrents when reaching upload ratio in percent,, _/ n; y$ m0 F, i( U

0 b& q. r9 r7 i; @: ^$ A- p
. k5 M1 ]1 g; }$ E! y0 y
# when also reaching total upload in bytes, or when
9 y3 q3 |+ f0 |1 |

2 h: T" y$ i: m# reaching final upload ratio in percent.
5 m  R8 b$ R) p  S0 r3 z

. j2 r: Y& ?2 [* I' u# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0/ S& i- N/ z. u1 D1 S+ q
, R! q4 x8 P% _* K
#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"
& r$ `3 R6 h- l0 d$ A* B9 f5 [

9 M3 J6 f) a1 w' P. o( Yschedule = ratio,30,60,stop_on_ratio=200
9 D) `8 L/ v; {+ e8 S

' }' J- W* @! n. c0 Y                                                                                8 {+ m. k2 A& \, p' e3 |  [
7 c- n# {( B* w& n* ?
9 G9 q9 R% ~$ [

' Y, ]: s" e. U# Y- I: p: l# Encryption options, set to none (default) or any combination of the following:+ n' }2 c- E. W& |) P2 O9 Y
% }  c8 a7 i& R7 `# x
# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
+ e& ?$ \2 L$ G) N! A#
* A! [, K! C* P, y9 x
& f: F0 A7 \& A) {& p  O

' }2 ^: d+ q8 ~: [4 p# The example value allows incoming encrypted connections, starts unencrypted
$ E# c. f6 k3 J( h% q, a" [2 }2 U

7 j( ~6 U8 m* \3 d1 A# outgoing connections but retries with encryption if they fail, preferring
. O3 }; ~* F# x& r' X8 f

. o. l3 R/ `" ?% J( S$ g# plaintext to RC4 encryption after the encrypted handshake
3 Y( ~/ |+ i/ f4 \
9 W- h! ]8 T# M/ N: H- Q( L/ R& d. U
#' n1 \$ p; F- F( _9 W, T

( w% Q7 Q% K8 F# _' L% r# encryption = allow_incoming,enable_retry,prefer_plaintext+ G( E0 n* s3 E  ^  L- F% ^

+ }# k: v4 |7 i+ x3 d  V0 M! T$ Y2 s6 E1 u; Y( k5 U0 f0 `

8 X: M2 r1 o! P
+ `8 T# N2 F5 w1 `
# Enable DHT support for trackerless torrents or when all trackers are down., a: B, i# F2 a* @$ R0 R/ Z+ g
$ H2 f- D# Z. m8 O$ W
# May be set to "disable" (completely disable DHT), "off" (do not start DHT),: l( k0 W# ]; o6 e" I5 |
' @+ ^4 g9 \  Z. q, L. y2 x
# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).% {, Y0 Y% s' k" L& D: W0 M: t
( r& ]7 I* ]& o- H
# decent hash checking rate.
* N5 ?/ x$ N: v- A6 [
0 o4 O0 f; V2 y6 h/ H$ r* j( g; d
#hash_max_tries = 10
0 L* W9 h' H" P
" O, L0 ]# p1 w( E9 E# H
. n) B  E9 x+ l; ^' F

- U* D* d! E. o6 O- b
3 \1 l4 W; a  e% R! s5 ]) R
# Max number of files to keep open simultaniously.
; C) h) {0 s# O4 C, b( f5 r% `
9 x6 }2 }% }7 z/ L! x+ Q
#max_open_files = 128/ _3 l; E( {# v) n/ r  H

3 R- P2 h( u3 F2 `4 l# h! {9 N9 i

- m. F2 t8 a* r. e- d* D. i
4 H( J. z1 Y3 _6 T9 N/ H
# Number of sockets to simultaneously keep open.
& i' J) i0 o; x5 s  |& _" c+ f

0 E. J/ V" P6 Y3 ^  _3 o) {#max_open_sockets = <no default>
9 o4 a- F  H, m2 l: R6 g/ @
& C, o  X- I7 ?1 M! d9 z% C( S2 B' D
$ x. q) m0 v7 f

( I) k8 o! ^% S0 r6 P3 f  O; `
& H* m. d4 u) \( x6 d- Z, I* j  G
                                                                             4 `: U  \& _" a5 U8 w; m
# Example of scheduling commands: Switch between two ip's every 5
6 q9 i+ K2 g. K! G
8 I- i  K1 `/ X6 H4 p, v
# seconds.
; ?. f/ Q: O8 U5 V. U
% s# w- _/ Y* o8 l* y) I
#schedule = "ip_tick1,5,10,ip=torretta") K0 T" ]& J2 a, G' E  f6 u. y
3 @. \1 W' ^/ j3 F+ p: b/ F: T
#schedule = "ip_tick2,10,10,ip=lampedusa"& k+ W6 T- [$ U# R+ }/ n! B
- c3 c% Q% R3 \: h! H. ^* b) X% n4 C
                                                                                ' h: j: F; `. W! o, [# {3 J
# Remove a scheduled event.
6 \4 g# p' G2 d; p6 g
4 u: K- @! U7 U

' }0 ^; e: `1 p2 m8 b) A3 N#schedule_remove = "ip_tick1". [% x9 l4 d1 R+ U" }2 P7 S+ w$ W7 Z3 v
9 P# ~) J& S! ?. f. t1 C  c/ c
                                                                                
5 r) J' P- N" X/ P7 c, H- F# Stop torrents when reaching upload ratio in percent,
/ Q7 b4 \4 x' v# @# J
9 w! v( v6 C* J7 \7 u: V. o8 q
# when also reaching total upload in bytes, or when. m) d6 ^& b& M* k$ t" g' G: R
6 q  H" C0 s6 k. Y
# reaching final upload ratio in percent.6 T* v; u9 C3 b$ n9 Z3 w& p
  \- G3 c, ^, g" q1 h' C
# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
/ V* ~! ]/ [" y' U- g! X# Z. v

# y/ ~$ T  w1 \1 @' f#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"9 ^+ M" g0 c; T* a# Q) c' ~

9 Z9 C% A! q. y( V% lschedule = ratio,30,60,stop_on_ratio=200
7 y5 m% ~! \0 S. t0 k) a

$ y9 U4 C  x8 M+ U                                                                                
2 B" B( Q; [# U3 k2 J3 s1 u! m+ s- h* r4 B; I
% l# U1 l2 t  V/ v: Y& ^
! H  m: {5 c* M* U7 y
# Encryption options, set to none (default) or any combination of the following:
* h" G% E3 j7 r: g: q4 d# O
5 a  g8 }' T6 Z- c! s: s1 n4 C0 Q
# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
6 o9 e7 Z, ^# l; Q#
* y7 J# a* C0 v/ i( c3 i: _
* n9 D) g, e7 Q4 F5 s2 [; y, x7 g
/ C9 {3 n* V- b
# The example value allows incoming encrypted connections, starts unencrypted2 _2 i" ]3 C; k! R! R- r

7 [- d+ r! m; c- F/ U* [' q# outgoing connections but retries with encryption if they fail, preferring( |7 l0 {/ m; Z# |4 I: P- f4 ^

* _+ s) l8 y  s# plaintext to RC4 encryption after the encrypted handshake& `" h0 d* ?6 @

" ?7 z  R. e8 d5 U# ?+ @1 h#
# a9 U! C0 O% z4 `2 E

. q# w1 B, ~! {+ a$ `0 Q# encryption = allow_incoming,enable_retry,prefer_plaintext
! u" W, Y2 P; }$ f3 C  C8 [; Y

9 m0 J6 S4 n0 I8 S+ A! M+ r: k
! _- H1 u" r% m  t
% ?1 ]! T3 ~/ L/ y
" L' Q6 d. d7 K8 Q/ I; m
# Enable DHT support for trackerless torrents or when all trackers are down., t2 V+ Z1 a0 u6 l4 V

% Y( T9 R% c+ ]# May be set to "disable" (completely disable DHT), "off" (do not start DHT),
  W+ e0 y, y3 u4 c) s- j6 T
8 t/ Z, S+ d% X5 ?" u7 |( [
# "auto" (start and stop DHT as needed), or "on" (start DHT immediately)., ], u2 {5 D/ q% G. x2 t
, q& N5 m! w$ L' g# z
# The default is "off". For DHT to work, a session directory must be defined.1 ]: |  R' R. W6 n

; K1 f- ?5 N6 n; |#  U& V1 `1 k3 N8 |0 |! j
1 V) g/ p. ?6 E# j/ a: |
# dht = auto
9 I- p$ ~8 W4 `9 R( H" n; f1 l
) p& C/ z, ?$ D  M

) \# j, B7 _/ Z& {5 E' E7 ~4 Wuse_udp_trackers=yes(???); y, r) M, o: L( n8 k
encoding_list=UTF-8(设置中文)# a5 i  i. F( f$ A9 Q/ d  ^
umask=0000(设置权限)+ S/ ?8 C! D4 t- f7 b; J
dht=on(设置监听on)
, ~" e3 y1 e' Y7 P0 [) m0 S" Ddht_port=6778(监听端口)  V0 U' r/ @, L7 \6 q' G% @
peer_exchange=yes(种子交换)$ p: i( g# f( F+ [4 |8 @' K  @
#scgi_port = :5000& H5 B' V6 Z3 t
: C  ^% N5 U/ w, ]4 w
# UDP port to use for DHT.
/ [; k& d9 T4 u$ }4 S4 \
4 A1 S- `1 v! E0 Q
( e, T  D8 G1 ?' X3 p: @" N7 |
## j/ v' \& B) Z) S6 G1 D8 |
( F0 |) ^. j9 e8 j& h+ L% b( u
# dht_port = 6881# [4 y$ u! ~/ s

8 q& A; [% w& ?! A' V( @) m: p* `/ S1 k- s+ d, D

; i- k2 X7 a8 z

0 D) |9 ~3 I! M# T$ z7 K$ w# Enable peer exchange (for torrents not marked private)
" F4 O. O3 r  a

$ v' d" M, j" d- x% T4 |#
. U. u3 z- t& f; S' _- c
, i, {" Q! m# [5 P7 }
# peer_exchange = yes
1 s2 ~: i$ R9 u- G6 c' V0 C' @
$ a6 A; {' c$ D

1 z+ N) I3 {" e6 n# ]" W% X, m                                                                                    
4 w  p) M1 a( }9 C9 s) r#9 X! G+ r1 I; ], Q) A( j

6 j# s  T8 m) V: a# Do not modify the following parameters unless you know what you're doing.5 j4 i5 p6 G" ^" ~0 O  w

3 x7 U/ h$ n( E) [4 s3 c( m# i

) D: ]  d  V8 q3 v& ~6 H  h#
* L  K* m2 p, Y+ x

+ M0 T, w# A7 j: w3 T1 lscgi_port = 127.0.0.1:50001 u8 g; x$ M3 x$ L, z6 Q
(设置GUI)

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:16:30 | 显示全部楼层
/opt/etc/init.d/S99local
3 D4 j7 U4 i2 Z# A- ]7 x/ b ' G# d' v8 t: `* d3 b
#!/bin/sh
1 o/ n( y# {+ {9 X
8 {5 ^. V! m# t9 [. T+ _! ^8 n

- f4 z; {; k2 ~( }
# w# w2 h0 `# b6 k& d7 `; r+ P+ `

' y* z, L. t% v0 ^, vexport PATH=/opt/bin:/opt/sbin:${PATH}0 L" l* j) `& g- q7 w
8 {3 x8 r: v3 J6 W
export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}3 O& R; E( m- D4 f6 R* ^" }! Y, n
% H5 p# Y  m7 \' L* e: ~3 T
. o, C- j* u' Q" Y! h
export HOME=/opt/root
5 v. b9 H. z! i7 F% f8 W

* ]  m) I7 K  Qexport LC_ALL=zh_CN.UTF-8! d5 y  |' l. o
/ F/ a+ Q1 z2 D7 a& h
& q' S5 V5 i1 l" h, ?7 O
utelnetd -p 2323 &. P- s" K. ]- ]# K
4 \/ r/ U2 p+ {
/opt/bin/screen -d -m /opt/bin/rtorrent -n -o import=/opt/root/.rtorrent.rc
% n7 X5 @! S- T. j. q% d- K9 j; ~
9 ]5 P# @% D1 ?) G# e
vsftpd1 D+ n7 e7 G) {- y
(必须放在最后一行)6 c2 y- V) D0 |
, x7 ~. u9 w5 Y

7 o. p+ B3 \' P
回复

使用道具 举报

发表于 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-11-3 18:41

Powered by Discuz! X5.0 Licensed

© 2001-2026 Discuz! Team.

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