找回密码
 注册

QQ登录

只需一步,快速开始

查看: 988|回复: 9

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

[复制链接]
发表于 2008-4-28 05:11:14 | 显示全部楼层 |阅读模式
功能强大的离谱,正在研究,该机可以实现BT下载(任意大小,支持中英文),FTP下载(暂时不知道如何设置权限),电驴下载(只能一个一个输入,且单文件无法超过4G,),花生壳,无论你在哪,都能找到自己家电脑;网上邻居,网络打印机(支持USB打印机,也就是每台机都能通过网络打印) ( D( d" W8 ~) {非常小,非常省电,还有一个很好的优点:你开了BT+电驴,其他电脑上网和QQ都非常流畅,不像现在的BITCOMET、迅雷和EMULE,一开了就别想上网。( X! g3 y) f" {, U1 D 大小长25,宽15,高5CM左右,和一个3.5寸硬盘盒一样大小,接路由器和电源就能用。安装完毕后所有操作基于TELNET和网页。 8 x9 H' [5 w+ B& _* P还能构建HTTP和SQL论坛,这项我还没头绪。 ! Y* ^$ T; n& K' x, R" I0 u上个图。 : d% k; m! c7 r: x1 k0 R5 S$ |3 ^, j# r

本帖子中包含更多资源

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

×
回复

使用道具 举报

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

使用道具 举报

 楼主| 发表于 2008-4-28 05:13:31 | 显示全部楼层
留点备用查询
4 H0 w' V$ U6 `* {
7 X; |9 b" `9 I  t一、硬盘重新写0
! D6 X+ G8 T. I: `7 D: F1、如果MSS正常,则执行
- h7 K* x% n% Y" Tdd if=/dev/zero of=/dev/ide/host2/bus0/target0/lun0/disc;
0 d; ^0 V! A# }" [5 G2、如果硬盘刚启用,则插盘清除分区后,用winhex0
% B3 {: s8 S9 N* ?* O二、改本地连接
( R7 h& T" W7 h) I' J( Gip 192.168.1.2 网关192.168.1.1  n; y6 R- c6 e, s" u' g/ L
三、执行nasload.exe" B, z4 I# J0 N5 x; B
. Z, G- u# ?: k; `, |- N# o
用户名admin,密码空
0 ]% K7 x. @- C" r" [8 X; D四、设置机器名称,用户组名称,IP" x* _$ M* j2 v% n
五、刷新2.6.5
6 \# `, `3 j  ^  W六、建立一个down文件夹
) k8 \& ], r3 ?: j: b8 r9 T七、telnet 192.168.0.88$ x( ~: ~- J, I: h9 Q
ipkg update
  B) y3 U3 l( m( [2 Hipkg list7 J+ s& O# r2 e# U/ P5 L' d* G
ipkg install dropbear) h, {! ^* U0 V4 `  b, K+ _; D  `
ipkg install busybox; e- I# p  g0 L  j
修改root 密码1 B; E; N: M- \% y3 `, S0 e9 K
/opt/bin/passwd root5 g% e8 x7 ^' A$ Z5 }  I

7 K8 V9 L2 ^7 h6 d9 V9 }/ r八、使用  进入
2 F! e& _8 f3 N1 z% E- w9 C9 o' ]% Xcp /opt/bin/busybox /opt/
0 Z& D) @2 S- R0 d; w(将busybox/opt/bin文件中复制到/opt/4 r0 i" ]5 C, Y, ?8 G- t" [4 k
; D9 N$ ?0 o/ A3 w2 }( ~: W1 w
安装oleg
3 h/ I5 d2 }) _7 k9 l: Z5 g) Q(1).将下载的opt.tar.gz放在mss的共享目录中(通过网上邻居进入,放在Public文件中)/ e( s# }% }& R2 z1 J! z, X& x
(2).在根目录下执行/opt/bin/busybox tar zxvf /shares/mss-hdd/Public/opt.tar.gz
+ q7 g5 c9 _6 g  L; U9 f(3).执行下面两条命令
) {% }$ \+ G$ q8 o+ Qexport PATH=/opt/bin:${PATH}" f- X$ p; [1 ^' q3 Q* S
export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}; r  Z' F7 n1 W/ T7 p
4)将busybox恢复到/opt/bin目录下
: W& k2 T4 r, B2 a6 }cp /opt/busybox /opt/bin/9 S8 c9 w- j8 b! d) O

- B8 d% n8 q2 z. t8 \$ s, P九、5. 安装和配置rtorrent(bt客户端)# l/ q1 w" J9 z0 x& Q# O4 C- y9 i
1)安装8 x8 g) n. d/ b; w: l; A% \
ipkg update
9 ^: N! @% P/ Sipkg install rtorrent
2 H& s. h6 N- Y; Y/ A$ @# }+ ]
7 u. G: i6 |: }. e4 G7 Q
. i. L) ?% O5 v" V1 z2)设置
# F4 v9 p! n1 J6 z3 L# E& `38 e9 u3 O$ C9 E! b0 }) z- ]2 ]6 B
mkdir /opt/root( [) N, d* S8 o+ }8 R9 d% E
cp /opt/etc/rtorrent.conf /opt/root/.rtorrent.rc
9 b- x/ q$ @2 z+ Z. `; s  g/ yexport HOME=/opt/root
- ~+ i1 |' u1 P3 I& |& O% }rtorrent
1 V0 e4 F) B5 E  W" _8 w3 T看是否成功0 P- y' u* B( z) K3 V7 h
* t8 A3 z$ T! \
ipkg install screen: J+ t' s) L7 d& o

- y' e( r" X3 ?7 y/ O
' p$ R/ A3 i+ E1 [7 w$ Nscreen
0 C4 A/ c1 h& G8 Q, S# F然后回车  l( R' D. L) j. e* h. v/ i
rtorrent
0 v+ N4 ?! e4 S& U/ Cctrl+a然后+d,隐藏界面
# E8 u5 x  c5 `5 B" K十、安装配置vsftpd(FTP服务器)5 |& e1 J5 u3 C! v6 c
ipkg install vsftpd, @+ U9 n/ M% i/ H" j! [
- C* v+ \# b  ~$ Y4 o
/opt/bin/passwd 用户名
7 j  i  P( l0 J- h' F! J3 i修改用户名登录目录
; Y6 A9 E9 |$ R: B2 pvi /etc/passwd; Z! N7 E; t3 H+ O8 K+ O( o

: T" ~0 z: F' x7 e添加可以登录FTP服务器的用户名# H! x* H% ~5 l+ M' ]4 j" \
vi /opt/etc/vsftpd.user_list+ m4 _/ K  Q! C( y* ^
添加要登录FTP的用户名称: Z' M3 m. z/ S3 B+ h
配置FTP服务, R" d- \" I1 \8 s$ D, O
vi /opt/etc/vsftpd.conf- z) q% n& e0 A$ y9 d8 A& P
在最后加上一行:
  C& Z3 w' {8 |  B, K/ e& V' w2 e
: Z- R6 }) i/ h0 J9 }: \( y8 Q   W" j7 A1 J+ ]* P8 W
/opt/etc中建立文件; e7 |2 H1 l8 h& i% _) e' R
mkdir vsftpd_user_config# w8 Q! J: ^6 s5 T8 u2 M
进入该目录
. _4 h0 _" ^- ?+ Q+ Ucd vsftpd_user_config( W* p( J) R# j5 Y- O5 P
建立两个和用户名相同的文件4 ]) q0 ]+ U) S  U
vi 用户名  [7 n% Z- k4 F# ^4 p, ^
在只读权限用户里面添加+ v- e: Q) ]9 N( E+ l5 q! r1 D5 h

3 ~, ?) ?- B* O6 w, ~+ t重新启动硬盘盒
0 k/ Y+ }( f- `& }) g * O( n6 [$ ?+ \' U3 O0 W
十一、设置动态dns0 b8 p3 M& s& H$ j+ b
ipkg update
* v! B; g; i# F  L. bipkg install inadyn- ^. H" W+ _! d! v- ?8 ~  B
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 # G1 t, |5 @9 g; g! `
  [* b$ Q" b' f( u5 I) O
十二、电驴
! i6 s6 |# X7 k9 w# bmlnet.rar内的optlib.tar.gz放到MSSPublic目录里
% z/ e0 t3 b0 A& @/opt/bin/tar zxvf /shares/mss-hdd/Public/optlib.tar.gz
* r- h  C% Z) \- k. j; x% icp /shares/mss-hdd/Public/mlnet.lite /opt/bin
) {6 _" U& R) Y% l9 _  Kchmod +x /opt/bin/mlnet.lite
, z9 W5 E; z0 u# t6 t* r+ evi /opt/etc/init.d/mlnet
5 N. x4 S! C+ T2 r) i! G#!/bin/sh1 X2 ~) h; X  M7 i' I
if [ -n "`pidof mlnet.lite`" ]; then
4 u& T& }0 S) Q+ x9 Q& g8 u1 f; u$ e
echo "Kill old program..."
; U5 Z$ Z3 T) p0 y# B( ]- Y$ l

2 a" \; r/ a0 h2 d$ Ekillall mlnet.lite&

  P! A, f# a+ }& n' z& O6 _) ?5 N$ N" m) Q$ `* Y. E3 N% D
sleep 10
3 O: r; c5 w; }1 @0 _! ]9 M& O  b
fi" n+ g+ a3 v! O$ D* p( H, z
export HOME=/opt/root, n7 u2 t- m# v' {" h5 `" f# V! N$ ]- J
export LC_ALL=zh_CN.UTF-8
0 R! n& `5 U6 v9 x. Q' O' g* nrm /opt/root/.mldonkey/*.tmp 2>/dev/null
, X- }3 K" x3 [& urm /opt/root/.mldonkey/mlnet.log 2>/dev/null( x5 ?4 E7 q. R9 i4 }  D( L% Z
rm /opt/root/.mldonkey/*.pid 2>/dev/null
6 K$ C- F2 W* g. p/opt/bin/mlnet.lite&
* A) ?; A7 V+ o3 g1 ^% K0 ^1 ^ * R* P6 `7 P4 W5 Z9 P7 [
chmod +x /opt/etc/init.d/mlnet
3 X  N7 o2 g0 C- L, @: _
+ d) Y0 ^; l1 b0 U$ O. t执行/opt/etc/init.d/mlnet$ ^0 b& o# ~/ T- W3 \
命令killall mlnet.lite9 U. ]6 [2 i# h8 {: I# p9 D
* f0 ^+ \( B4 |9 I3 P3 y+ l
解压缩以后得到servers.inidownloads.ini Winscp扔到/opt/root/.mldonkey下面覆盖源文件! p0 F1 `  |( a* H
" ]! U$ Y) X( R+ B" A) X
vi /opt/root/.mldonkey" t( O7 ^# b4 A( V! z" D
修改356408
9 t, K3 r) I6 ^0 L) Z# x" A: T! dtemp_directory = temp
  E- y5 t: g" X7 j6 @% p* ^记得加""双引号如 temp_directory = "/shares/mss-hdd/Public/mlnet/temp"( B6 A; G. z6 d- L! ^" K
修改第408 dirname = "incoming/files"0 T. N1 t- W1 h; B1 g1 v
dirname = "/shares/mss-hdd/Public/mlnet/files"; _# J1 E7 m- V2 ~* Q) ]
运行/opt/etc/init.d/mlnet
/ f. g* \8 F( a6 M5 q! l

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:15:16 | 显示全部楼层
我的MSS-BT的CONF.doc
. |$ y' P6 L6 Y! y
1 k3 L* g- m1 g0 ]( i/opt/etc/rtorrent.conf4 x% D2 U7 L7 l% t; d
/opt/root/.rtorrent.rc' Q) c  j+ j1 F1 _: k

! m* {( a; s/ ^8 \& w7 Z% i# This is an example resource file for rTorrent. Copy to
; _  S6 T  l9 P8 o, F6 @0 i6 v: ]# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
* U5 v- q7 I. W, \) X5 B- h: ?# uncomment the options you wish to enable.
/ S; v$ Z1 I# R5 I  g 7 p  }* J, d* M* z; ]
# Minumum amount of peers to connect per torrent, if available.(最小种子)
( v8 w+ d9 j" ^: `1 K9 f5 {min_peers = 40) K* i: e) Y% R

1 |) u3 M# ?- u7 \& G% t) A# Minumum amount of peers to connect per torrent.(最大种子)
: a1 c" X! K, f/ j; _+ cmax_peers = 250
' `2 D. b" z, a; P/ d6 q 5 ?0 g1 c! W" ?' N6 _  F4 G5 x9 [! C; C
# Same as above but for seeding completed torrents (-1 = same as downloading)
: y  m8 c# |( s" i( X4 {' s#min_peers_seed = 10
7 @( Y5 K1 v( ?+ H#max_peers_seed = 50
8 ]4 D9 |4 z/ \/ e" Y
3 @7 X% Q3 E- M2 n  [# Maximum number of simultanious uploads per torrent.(最大上传种子)
& h2 o+ U( g1 E( H+ ~max_uploads = 15
* ?+ s$ y8 r, S* R$ q( Z # }8 N! z, ^7 B2 Y  K5 ]: S) F2 w5 W
# Global download rate in KiB. "0" for unlimited.(下载速率)5 E! l8 S! h( _' A, L8 [
download_rate = 200
* R1 n8 w+ Y7 F# x* e: j
# a* f/ i$ h7 F1 N/ k# Global upload rate in KiB. "0" for unlimited.(上传速率)+ v7 ?4 t% N) H1 g
upload_rate = 30
# v; @$ x3 p9 b. G- l) s 7 _' _, p4 u; Y9 s, Y& ^8 l: I: I' @
# Default directory to save downloaded files. Note it doesn't support
7 i- U9 k/ N. u: g/ R+ p7 D# space yet.
" x, h% \! z+ Z8 i, `+ Adirectory = /shares/mss-hdd/down& y% N. v6 x  M& @
/ e- u6 T+ A! d$ \
# Watch a directory for new torrents, and stop those that have been deleted.
# T6 l; y1 X0 D& g, t. _ 3 ?- W( Z: ~/ ^6 E4 r* i5 N
schedule = untied_directory,5,5,stop_untied=
, b4 J' t% y: z; Q3 G% N# g   q7 v6 W/ m" C7 e
# Close torrents when diskspace is low." e4 ?) h( K# s: U! w8 k
#schedule = low_diskspace,5,60,close_low_diskspace=100M
. X1 E; V) {7 ]' s * g2 @* v3 p( @% t. m) f
# Default session directory. Make sure you don't run multiple instance
1 P# T' h6 ^) r; \: k. {* j' p# of rtorrent using the same session directory. Perhaps using a
  K. ?" v! H, k: q* D, K# relative path?
  E# [! x8 _" z- u. J* [. P: ^session = /shares/mss-hdd/down/session, ?6 t7 |* z1 q. z4 G1 t
schedule = watch_directory,5,5,load_start=/shares/mss-hdd/down/torrent/*.torrent/ e) R& V. h6 X: ^0 f% C
, V, k+ x8 G. i8 k
# The ip address reported to the tracker.
; s( H% s8 n7 P- ^3 J. g- R7 J
6 C4 s  @5 q( `- d% Q/ J
#ip = rakshasa  N# ^. o* N* _% u6 ^2 L

/ m' J. w5 W: H# H2 J. y4 ~9 [; p- e+ z  b! C6 e& l* P

/ w9 l0 [! S2 m. j) k) [

" y5 Y7 \. X% R) K6 w3 |' j% P! `  q# The ip address the listening socket and outgoing connections is
! s) S+ J  P+ W+ U/ L1 ?( M5 {

: r! C& F& K9 }# u2 [# bound to.. u9 a6 f/ `+ J% D

' a2 g% F3 ?3 i' p& Q#bind = rakshasa9 E6 ^0 [+ j2 Z0 k- h5 X

1 ]# R5 P/ g8 Z. N. `; s7 H( a
5 y3 k  L3 h  `& r
                                                                                
% ~! G$ B. |8 j4 F3 h" I# Port range to use for listening.
* h  Z7 q' p4 U5 S
- m2 i  z4 f# d9 Y
port_range = 51777-51780
/ G* X7 I% X. M2 z& y# n2 G6 X$ I
  j0 ]; q& c& {
# R2 \% C( Q- X
$ Y( R0 ~/ P& P5 U+ x7 H

& q7 f* _2 L4 r! z0 S3 i" X' a# Start opening ports at a random position within the port range.- x$ Q8 ]" W- _3 e4 G; a- h7 W

% Y# e1 K) w' Z#port_random = no9 a8 \6 l5 s; e6 Z

8 V1 x9 a8 o: V! l! N7 j: R" s+ O
. {5 Y( ~" D: F0 q: S! Z4 O+ @  u1 h( W, E0 u2 g
/ d' n& l* V2 N# m) q# e
# Check hash for finished torrents. Might be usefull until the bug is
/ @5 J' Z7 T0 `

; v* [; P+ n1 i" \$ y* v* a1 }# fixed that causes lack of diskspace not to be properly reported.
- C3 Z7 ?1 k4 c5 ~( {2 U* Q

( u" x0 [4 T% m$ _, A#check_hash = no
0 \5 z1 ]5 p5 E! n2 W$ X' r. h
0 u! }- H2 E% x
' X- `  l) }5 ?* i* L& u2 @8 v
                                                                                0 C3 e6 J; R1 A7 |
# Set whetever the client should try to connect to UDP trackers.
4 c( g# {" v: l! `
, i' K; w  b- U$ Z& [
#use_udp_trackers = yes# M# B* q+ \7 C; C
: I% Z! y+ M( G

9 X: b# F! e* c. F0 [                                                                     
$ ?( L* o4 o/ Z4 {; t9 F# Alternative calls to bind and ip that should handle dynamic ip's.6 L/ p8 y6 m) y

4 a6 m  G( |( k; u! j. h- q#schedule = ip_tick,0,1800,ip=rakshasa! H8 v% @6 [4 L0 I$ K. \" _
* K9 o. ]9 n, l* B  H* }
#schedule = bind_tick,0,1800,bind=rakshasa
3 M+ ]. Y8 u1 y8 T) l- |+ M6 K

) _8 ^: T9 x. V4 U                                                                                
" V8 O  t: }; l2 R7 [0 r7 O/ b#
  g: v: H+ x8 x0 }* \. Q# K) A

0 u& P2 F" b. A3 K! L2 Y: d9 ^# Do not modify the following parameters unless you know what you're doing.
3 u9 S7 |  W: s  t; ~7 V; i
6 t7 Z  L2 l" A' H6 v0 w* p# u! O
#* C4 l9 F/ r1 Y( ?7 W9 A

# g! Y. l, {4 p& f5 d3 o+ K                                                                           
4 T6 T# X) {2 F* s& s! b# Hash read-ahead controls how many MB to request the kernel to read
1 \" Z7 Z- _( f! ~! L! r3 U. _

& ^2 @8 m# U5 s8 o# ahead. If the value is too low the disk may not be fully utilized,
8 L' k6 R! P0 Y( n' I
9 n, D2 E! v) a4 [8 H( G: \
# while if too high the kernel might not be able to keep the read, s/ a' s8 h( @' P

" q$ |, S3 n9 _4 }, q& A# pages in memory thus end up trashing.
* t6 S7 [8 q% d" b- j
7 p# f$ J" l0 ~; r; ^
#hash_read_ahead = 10
8 d# G' x$ q- p2 L3 ]5 N- P& G4 D

: z1 k4 r4 {! \! j                                                                                
- M( c1 k% J- D# Interval between attempts to check the hash, in milliseconds.
$ @' i; b2 r: k& S
/ z. {) s3 l2 }$ j/ e% e
#hash_interval = 100 " m, V  V* e1 T! c. D/ J

2 O: L% K$ \' J: Z7 q; k# M$ N+ S                                                                                . c; o; t6 [7 ]2 [
# Number of attempts to check the hash while using the mincore status,0 f+ W/ I3 n5 p
8 v! ~' O2 j2 N7 n7 a
# before forcing. Overworked systems might need lower values to get a
; g4 K, ]/ H  q2 E' u; E3 h. V  x
! [1 c- n$ q: B0 R
# decent hash checking rate.& E7 p4 e( e5 f' r0 b5 f8 w
8 y) G) g; ~, k# X5 q
#hash_max_tries = 10
0 A$ i0 Q0 H/ A% j# U
" E- Z: @$ s# a1 S) w
5 @1 W/ U+ N; @

5 m& h1 {$ p) q
: V) p5 ]1 q+ m, M! k1 v
# Max number of files to keep open simultaniously.$ r& y4 e4 l( T2 C" D4 v
: f  g3 _: k7 O! C8 t3 X; x$ x
#max_open_files = 128
4 \, x4 ^7 R3 R

0 \* n- G) N- e: o0 C% q( |
2 w- f% f' l3 {- ]: @+ H- Z9 L
) _* V$ w+ u! w, E+ p

" K) P, F, O# i7 X# Number of sockets to simultaneously keep open.# K9 g8 n8 `: ?( ~% ?

1 H9 c; K; T  M" a3 _; Y#max_open_sockets = <no default>
* Q4 U' p& L, p9 i3 P  @  i

, R: |" T5 M1 r6 b                                                                                
+ C+ w. F/ U  G
+ N! x) ^! k- m0 V) N( T
* d1 M7 _5 B  p/ C! j$ m; P' y, }

; z: p) Y& G7 V6 s# Example of scheduling commands: Switch between two ip's every 5
/ k" D6 u" i' Y2 J! R7 P8 R0 F
: ^* b) u* [$ x1 A6 h
# seconds.
( W% S. H2 H' V0 c4 ^
3 k: e/ }: f* S# i$ p
#schedule = "ip_tick1,5,10,ip=torretta": ?% R. Q) A( r4 V& |! I0 B

( d' v" I7 ^4 H9 C5 n3 D#schedule = "ip_tick2,10,10,ip=lampedusa"
5 C& X6 F: g' |" a! E$ |" j3 t) x

% t* M1 N: f5 m7 B7 J# ]& C5 s                                                                                
: O! a$ t5 s9 |1 L1 l0 B# Remove a scheduled event.
# h0 V6 C$ e7 o8 X
2 X- J4 S  y( R7 r7 i. `

% D+ c4 [  Q9 i, v7 Z, X' M  K6 P#schedule_remove = "ip_tick1"
' h" E3 _6 Q: U6 h8 G2 L
/ O: `& t2 y- J
                                                                                5 @0 v4 \6 @% D/ v* C
# Stop torrents when reaching upload ratio in percent,
  I/ p# {& g- z# E& h$ h/ @, Z' L4 b3 D' ^

. c- K; G- i5 r; x# v/ M# when also reaching total upload in bytes, or when
  R7 n" h2 N) Z" G$ J! Q- O% z
. f7 q; |/ d& |; d3 B6 v
# reaching final upload ratio in percent.( w% Y+ @& h( b# _
( j0 W0 F* ]: q" [& x' j- p
# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
- U+ `# g* O* T1 P; x! J; u' w! S

; E8 G# G$ T! G; n#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"! G# w: d# L3 o

* l# u' x; e# K- d( V# Fschedule = ratio,30,60,stop_on_ratio=200
( ~8 z% H" @0 G) ?+ {
+ @2 B+ V# w4 g1 ~0 o
                                                                                
% S( A) D0 J2 @& }. I* N
6 o( a; v0 @# s5 ~8 Y( Z( k) ^5 }% A3 u
% c# c" p! l( h  E% M% {, T- J
# Encryption options, set to none (default) or any combination of the following:1 z7 @5 a5 m: N7 ]# s# x
) T# o& l; O# ]# }9 t
# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
) p& w/ |. ~: B  W. k#
, G: g7 `4 J7 ~# V2 h6 Z$ ^9 z4 W6 l0 C# f/ o6 I
$ C" W: B' m. |5 D6 x) o" O
# The example value allows incoming encrypted connections, starts unencrypted: ^# W9 I) g: v5 O0 Z
3 Z% D" |' k+ ?+ K: p/ m
# outgoing connections but retries with encryption if they fail, preferring
$ O- V# a" {4 y4 P3 H

. V* F+ A* E/ `: ]$ Q+ l# plaintext to RC4 encryption after the encrypted handshake
3 Y# M4 l+ K7 a  C

% p, G8 @* Z! a0 Q4 X#7 M$ ~7 n3 l" @) Q; {$ }

& G. \8 [* U) T1 N8 @$ R6 J) F% H' |# encryption = allow_incoming,enable_retry,prefer_plaintext4 ]" n& r7 o0 D1 f( ~3 H
: y, e# }. |; O! J, [/ O9 J  k

; \) ]2 X2 g& V& S+ _; m
% r3 B1 Z2 c: ]1 B" C+ h$ s

9 \; z0 D1 p/ n, U- M0 f2 l* p# Enable DHT support for trackerless torrents or when all trackers are down.
- ]; C3 G3 y# y. k7 I9 x: A

% r. G2 {- C' G# k) n# May be set to "disable" (completely disable DHT), "off" (do not start DHT),$ P, i+ S5 O! Y

. @+ b, R  @- s+ |# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
+ j* c6 v  b9 {1 b

6 D9 Y7 @; ?" P3 G# decent hash checking rate.
6 q. O' Z$ T+ F/ }! R5 J3 ~- m

( q# K  o* E$ \0 j6 L* f3 C: y#hash_max_tries = 100 g, R! r! B3 s% K) e& F. Y: t) a
- R% m5 v/ q! N0 y
, Z+ D/ L6 e6 j

" m3 f1 }% E; g( I; L! `7 o
! s; q6 U$ X! w' x7 M% |# O
# Max number of files to keep open simultaniously.
% o9 }4 U5 z# d! L  y3 `! I2 ~  k6 h

( ]0 `# x" R& k% ?) R#max_open_files = 128
$ _' k8 C; C! N% s* ^7 G

  K+ d% h+ x  Q' c; {; |% _
! ?% ~& {) U2 N  |: E; p; Q0 {+ B, G: _

1 @) q* Q3 o5 X4 k' B4 _# Number of sockets to simultaneously keep open.
' J8 `/ f0 j" O% q% ~$ C" w- r( Q

1 h6 z8 M0 q; M! m! d4 Y, T+ P#max_open_sockets = <no default>
3 v7 {  V# k) h7 s) u' {& S! N
' l/ l/ t) q/ y3 X$ y/ ~

4 t  V) t8 z- S0 ]( `5 d# W- D+ p# ?, t
2 h3 A6 v3 \( c( \1 V1 g# U
                                                                             8 s* F: c6 L/ T, {% r3 p0 ~9 i
# Example of scheduling commands: Switch between two ip's every 5
/ k0 O! b  L; }
' o0 {5 d6 t$ B. f6 p
# seconds.
4 j2 b% t, z) _' V: v$ S3 k3 ]
8 H/ i( @1 x4 z- L
#schedule = "ip_tick1,5,10,ip=torretta"
" y* [' `$ l' D' T, k$ y* E
" m5 v. B1 v3 {
#schedule = "ip_tick2,10,10,ip=lampedusa"
9 e9 {  T/ X9 h; _3 f# Y9 b

1 h* m+ y: P, b& P! H6 w4 C6 r                                                                                1 w# T2 L8 y4 X4 y+ K' {# s' c/ y
# Remove a scheduled event.
0 {2 E- P0 z9 L, J- M  Y0 J* o) d
$ F# S6 |4 [+ Y# m) U9 [
#schedule_remove = "ip_tick1"
1 x$ H3 f% d- E
$ }" [: L) k) s4 h
                                                                                6 c# P  c, p$ f7 W% i5 E
# Stop torrents when reaching upload ratio in percent,! c9 ?- `% s! n$ P8 l( c

/ z6 x: p. t8 @8 h, }% X4 ?4 y# when also reaching total upload in bytes, or when
# w5 u0 i$ t' w, A, m7 X& \+ C

: h: V0 a0 Z' a9 {# reaching final upload ratio in percent.+ n( S: H* l& h5 T# ?" G

9 X% i1 W8 B/ E7 T9 ~6 {, Y# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
# i; q# ]- K/ E0 ]

! Z7 \' B8 K9 l0 a# E#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"
- A/ v* O' f1 P

* I! [1 a. |6 j. e, B) Zschedule = ratio,30,60,stop_on_ratio=200( o. {7 T+ a* T! O2 R
+ b" u, x4 I/ u! }, M) d& K& h
                                                                                ' y* e. C7 p- c! i2 O- S* [1 y% c2 Z

9 F& \* [, p+ @
2 C/ L$ c3 \2 f+ M8 f

% ?  q) ^  }/ P; }# Encryption options, set to none (default) or any combination of the following:3 |" @) C0 g5 X2 H8 G

# h9 l. U$ S  |+ ~  R# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext* w/ ]9 ]4 O" O( s5 \9 V! m
#
8 Y  o% k, R$ O$ d5 P5 |
; f5 b4 R" @: l7 T

9 X- H4 t4 e8 D* u) K# The example value allows incoming encrypted connections, starts unencrypted
9 @$ P1 S7 ~; a
) S2 v' {' N  P4 K
# outgoing connections but retries with encryption if they fail, preferring
; v* h, ^/ u( r- m* M

* [. r8 g* X* T# plaintext to RC4 encryption after the encrypted handshake
( I! y/ l0 n' c

( m0 [( t+ P3 m" I0 w* t9 q4 z7 E  \#; C9 [- N" d9 P3 J7 Z/ \/ I

. I: d( y* `, ~  O# encryption = allow_incoming,enable_retry,prefer_plaintext
, T: g0 o  N2 B/ K  j/ e- \
: k1 d5 d, @8 N" ?  w, O1 D

  z  \) Q; Q0 i) y: j7 `, m" p! {1 s8 v% U" k) k4 |

. r0 T$ C& ?, |  b7 F. ]- y# Enable DHT support for trackerless torrents or when all trackers are down.
" P) k6 G! @& ^6 r
; Y( |4 F6 U9 e& v
# May be set to "disable" (completely disable DHT), "off" (do not start DHT),. b+ y# C% [, h- }8 \; \/ r

" t* g8 j+ d' x) M) n; I# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).8 z9 u8 f- s9 G8 u/ X' N' ^- _

( B2 o0 O8 R  O$ V: k# The default is "off". For DHT to work, a session directory must be defined.% a3 ?1 u) _1 e9 L
9 |( i8 j8 p: b) C) b+ i! G
#
9 P" F, d7 {+ s, ]; p6 \* S& u
, p! `% |6 C" m& s, {
# dht = auto
' ^0 ]0 Q. f" Z  W) E( u1 M* E* I& i% E& g0 F) y* l9 r
! H0 o. h! b! K" m1 j
use_udp_trackers=yes(???)5 d- O/ `$ X$ X" B1 S
encoding_list=UTF-8(设置中文)6 j" c& O' ?$ m: p
umask=0000(设置权限). I; Q4 X/ d% V: ?' I# x2 Q
dht=on(设置监听on
8 v2 S1 @5 U/ R' cdht_port=6778(监听端口)
' E( @4 H2 q; W% E& C2 j% vpeer_exchange=yes(种子交换)1 b- d$ q. G$ v
#scgi_port = :5000
2 y- C$ y9 ^; C# a
% o7 B- q; ~4 b5 [  ~# \* L
# UDP port to use for DHT.2 d8 M# A& ]5 t6 U& x# {0 L
  B4 f8 B( A( G& t
2 ^, b3 L7 K: ]
## H6 J- Z6 v* b% Q

1 e; Y7 R2 C( [7 o+ w& n( z( K# dht_port = 6881
; S; ?) {0 u$ r, U" |+ O

/ `  W2 C0 h$ X$ X. Q. e- A0 Z
* n" k! H4 i9 T4 g6 M  Y9 Z: Y, {' q3 k3 J* w, S/ j
8 R- f& k. G6 u& r
# Enable peer exchange (for torrents not marked private)  Z" f& Q* I, b, C2 l

- `6 j! \0 r9 d5 m* u#
! f# }: E' c! U$ y' V6 k. S

3 o" {0 I% O+ `) j2 E5 N( |# peer_exchange = yes
) D+ ?9 L" g% T( w' S, n$ r# ~4 X& {2 N8 h5 O7 S1 E  p
+ C3 z- E9 R( p3 X5 T( p5 G- i
                                                                                    1 h7 R" ^1 I( g8 j  B2 R2 v
#
4 n" w# |$ E) v6 o
) d. j; V2 `& S/ Q: r
# Do not modify the following parameters unless you know what you're doing.' j% _1 F+ \. _
4 O3 M4 m) K' e/ \  w1 z' e

, x' |" v$ l7 v% C2 l- [# o2 m#6 L* f1 q! o! V0 j
. t0 J) K" S/ z! Z2 P
scgi_port = 127.0.0.1:5000
9 O2 O( P, D% P$ h* q3 |
(设置GUI

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:16:30 | 显示全部楼层
/opt/etc/init.d/S99local( M7 b3 ~3 U! j+ x$ @

# f8 u4 ]8 m' T" `( h#!/bin/sh% F! ]4 n% r4 U' M! {% H

- J: a3 A) N5 B; h# }8 t
+ R! a, }# X* J! I! m. _# \  j
- E( x; b7 ]6 w- {# v  j2 P

) ?2 P9 m6 C2 J  s0 B0 c# {export PATH=/opt/bin:/opt/sbin:${PATH}
. u2 m2 v& z' C8 i; x+ P2 b# o' m

3 g; m6 ]4 Z0 i) Z9 X9 Q3 K: Hexport LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}
! i5 g8 a; d/ T, A
3 Y4 Q5 l% c* g
  t/ V) P" l/ S) j, g% J& Z# m
export HOME=/opt/root
3 B# h2 @& F5 h

. \  ~3 R! ?9 Y& H% c+ @export LC_ALL=zh_CN.UTF-8' b  O; k4 U3 y) G
6 w1 l- [1 ~6 f7 u+ S7 m
% \( {) x' G# Z2 d% ?- r, B
utelnetd -p 2323 &
; k# T/ @  @: O2 r2 h

" U; K' b$ n/ z! K* u0 A/opt/bin/screen -d -m /opt/bin/rtorrent -n -o import=/opt/root/.rtorrent.rc* @( o! p0 _' E2 P4 L( P

3 u) O+ D5 x! S; z; |' u) mvsftpd
$ _' H. U1 }0 l; B" s
(必须放在最后一行)
# _% z9 o& _1 z( d- X 5 @8 r1 B- a7 H' h

7 q- D: K9 I1 p  i- m
回复

使用道具 举报

发表于 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-2-19 18:03

Powered by Discuz! X3.5 Licensed

© 2001-2026 Discuz! Team.

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