找回密码
 注册

QQ登录

只需一步,快速开始

查看: 869|回复: 9

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

[复制链接]
发表于 2008-4-28 05:11:14 | 显示全部楼层 |阅读模式
功能强大的离谱,正在研究,该机可以实现BT下载(任意大小,支持中英文),FTP下载(暂时不知道如何设置权限),电驴下载(只能一个一个输入,且单文件无法超过4G,),花生壳,无论你在哪,都能找到自己家电脑;网上邻居,网络打印机(支持USB打印机,也就是每台机都能通过网络打印)9 z1 R3 E1 E& G$ V 非常小,非常省电,还有一个很好的优点:你开了BT+电驴,其他电脑上网和QQ都非常流畅,不像现在的BITCOMET、迅雷和EMULE,一开了就别想上网。 5 }% Z9 ?% `- L8 s6 M. y' S# f大小长25,宽15,高5CM左右,和一个3.5寸硬盘盒一样大小,接路由器和电源就能用。安装完毕后所有操作基于TELNET和网页。! p. g$ \3 V6 h3 E2 ?/ e' k4 h 还能构建HTTP和SQL论坛,这项我还没头绪。 ) ]2 E8 Q, o8 k& n' m# o! S上个图。 ' e9 i* ]5 q% O( S6 q \! E6 Z, T. H. x! z

本帖子中包含更多资源

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

×
回复

使用道具 举报

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

使用道具 举报

 楼主| 发表于 2008-4-28 05:13:31 | 显示全部楼层
留点备用查询  A6 g( y0 g/ J3 l5 ^: N6 e4 Y
# H# j$ X5 j9 e
一、硬盘重新写0) S- T* x* L8 ?% S
1、如果MSS正常,则执行+ J6 @0 {3 \: B0 X
dd if=/dev/zero of=/dev/ide/host2/bus0/target0/lun0/disc; ; C, v5 f) r% b0 l
2、如果硬盘刚启用,则插盘清除分区后,用winhex0
- h2 T' N# a- d# W4 o1 l7 u' B二、改本地连接
( t6 W6 F! u6 |0 A, @ip 192.168.1.2 网关192.168.1.1
1 c& e& K* Z# v0 R: j" k三、执行nasload.exe/ A: X4 p# c. E' }5 S
; `* ]) p5 j4 g6 A! e
用户名admin,密码空) O) H9 L: l, x% x4 X7 C
四、设置机器名称,用户组名称,IP
/ v" N2 r; X) [, {: q8 F  L五、刷新2.6.5
. q8 j, d* n0 S$ Y. X( r0 B! t+ r! E六、建立一个down文件夹  |2 o* z4 P) i' o; ^
七、telnet 192.168.0.88, `# V: {% _3 f. @# m# E7 ?' j
ipkg update$ Y: r, h! C* T: ?7 W& R" [
ipkg list6 l( J3 C$ a; j+ `; p$ o
ipkg install dropbear6 M6 q! B7 P3 u. ~3 ]: q
ipkg install busybox9 P1 r/ p* D! m3 ?4 ]
修改root 密码
- f1 |. }+ r8 u, j3 b/opt/bin/passwd root$ @7 F2 A4 k5 Z8 Z: o' ?6 @7 v

* Z& k6 q+ U6 B' d八、使用  进入
& W1 `& K! M: ~6 s& zcp /opt/bin/busybox /opt/ ( ^- {: W3 h' n* C- a
(将busybox/opt/bin文件中复制到/opt/
/ @/ n& T5 Z- `0 s2 \9 }' _5 R7 P
% ^! d) |- }' o. I! g3 y安装oleg
8 A2 @7 _4 }8 U! ?(1).将下载的opt.tar.gz放在mss的共享目录中(通过网上邻居进入,放在Public文件中)
5 o8 Q) x3 P6 S- r3 a0 m(2).在根目录下执行/opt/bin/busybox tar zxvf /shares/mss-hdd/Public/opt.tar.gz
8 R6 l0 x4 H2 y+ X: V1 ^(3).执行下面两条命令' y# ]& S  H# q. l- N* C
export PATH=/opt/bin:${PATH}
5 _5 z# F: I& U' k% z( g9 Yexport LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}$ P$ n) ^* j% s( S
4)将busybox恢复到/opt/bin目录下8 \/ Q0 ]1 `) y! ~  `/ S2 P
cp /opt/busybox /opt/bin/4 g7 r# Q% M, w/ _, ]: I

+ t1 \8 O+ }- l2 u' Z  b# P九、5. 安装和配置rtorrent(bt客户端)
: [, K) `3 Q4 F& d( m9 E" e1)安装1 Y7 [- R1 d# |: b7 b( o
ipkg update
9 r( I/ u. [; y2 t( g( O  ?( r, ~ipkg install rtorrent
& Q- Y7 M# n% H' p0 S) a
7 I9 X1 n$ i! j2 ~! `6 }! \3 L
2)设置6 A8 V5 y( H/ \  C  P5 n
3  a, l, k6 }* H6 S+ c
mkdir /opt/root
# }$ E7 U9 V. Z8 [cp /opt/etc/rtorrent.conf /opt/root/.rtorrent.rc
+ c3 G  L( @5 d* wexport HOME=/opt/root
4 r% |$ C; F8 L" _+ trtorrent
' x1 y1 b( Q' b' L. @! r! u看是否成功
% V7 `; P; a8 d9 v6 _) D/ K, O( g
- M9 j7 ^- W9 b6 m0 d+ Xipkg install screen
/ a2 X9 U3 H+ W+ |: O0 D" ]1 l* i! X8 q) Y* ]# q- W
6 {2 _# }4 m, T6 l9 q: p! s. ?* h
screen5 [* s6 l( x' G  j
然后回车/ z$ W6 V0 H7 f- m
rtorrent
; r- d) s* D: `1 I5 `2 P$ rctrl+a然后+d,隐藏界面
7 R* v- g' b0 ~5 Z0 p7 g) }十、安装配置vsftpd(FTP服务器)  P. ^* J3 x2 a4 a" i& D
ipkg install vsftpd
! ~3 W2 [; b$ G5 x9 z6 L; Z
! M1 |: _5 w1 e/opt/bin/passwd 用户名
' U4 R5 ]4 n- M, j. d& |修改用户名登录目录. o0 C7 Q4 X# S' w; p
vi /etc/passwd
4 h$ n& b5 p' G+ f0 }" E7 H* d5 f" H/ L$ j
添加可以登录FTP服务器的用户名
- R6 E- u& x! m# `' d# v: M& l1 Tvi /opt/etc/vsftpd.user_list( ?3 F1 }  |# n
添加要登录FTP的用户名称2 n4 e0 d/ X3 g( L  g
配置FTP服务8 C. ]& p, V: o& I( H  S5 F# C
vi /opt/etc/vsftpd.conf
& g) d; v. Y. X在最后加上一行:; L9 Q* E/ r) q! @( N9 g. c* r

( H# P+ N: L# C4 O. Z( z 0 V" _0 V& u3 p9 j
/opt/etc中建立文件
( E1 {4 x3 X5 R  B2 F- d3 Lmkdir vsftpd_user_config  T( T% H9 i0 o2 K
进入该目录
! n+ G5 D. ^/ L, v; K, e, ~cd vsftpd_user_config, g, d. J+ u7 n
建立两个和用户名相同的文件
, B. K5 o; _+ E. w1 \8 \1 w1 \vi 用户名
: J  _/ _5 b  Y) V, V; ?/ ]% @在只读权限用户里面添加' u( K8 V' |" d
2 V5 ?( T' @& ?' K
重新启动硬盘盒
5 n# R% u* T0 h( [2 Q! W1 h# g # M' k0 I! k* P& c5 x: l  a" z/ `
十一、设置动态dns; \- A) n8 h  e
ipkg update, x, q- `) `/ `$ C# @" m0 [
ipkg install inadyn+ A+ c$ Q0 O, n+ [) ]; A
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 4 L; b" x/ ~- L' r
" r* y9 C2 K& m( P7 X
十二、电驴
! u; \! U" a' F* u* C  Ymlnet.rar内的optlib.tar.gz放到MSSPublic目录里
) d0 S6 q" {& J- q" Y! V/opt/bin/tar zxvf /shares/mss-hdd/Public/optlib.tar.gz
" v4 o0 |0 \" L* R# Scp /shares/mss-hdd/Public/mlnet.lite /opt/bin
6 B$ k& i. `( R( Z$ Wchmod +x /opt/bin/mlnet.lite
# j$ H: X2 r& Q( c; x' Mvi /opt/etc/init.d/mlnet
4 _) A6 C: D: ?# H#!/bin/sh8 v7 D) |3 C1 h. q/ p* j6 \# m
if [ -n "`pidof mlnet.lite`" ]; then' A* G0 \* t% s" q, G
& H, A3 ]- X% ^9 h- J) m
echo "Kill old program..."

' G' E- M- \' j2 M
" a- D2 I8 u6 u8 E+ x5 d) ?killall mlnet.lite&
" \) m" l  `1 Z3 s) d1 D/ `
& ^& e. R( N9 m" g: a2 W' f4 ~5 y
sleep 10
! _! c& Z& S+ ^# P: S0 l
fi
( ?; V1 ^6 W1 M! g* [export HOME=/opt/root
; I# ^. S0 ]5 o+ H3 V) a6 bexport LC_ALL=zh_CN.UTF-85 G4 w# H% h* M& K; Q- p; _& V
rm /opt/root/.mldonkey/*.tmp 2>/dev/null
9 Z3 }" W6 ~: F) Arm /opt/root/.mldonkey/mlnet.log 2>/dev/null
. t6 P* y+ a, J( {rm /opt/root/.mldonkey/*.pid 2>/dev/null
; w( U2 E3 j  \$ a! }/opt/bin/mlnet.lite&) D. G2 K' H8 A& j9 N# X
" _3 v: E* M, a" [6 Q- M
chmod +x /opt/etc/init.d/mlnet
# |0 q, B9 E/ S1 \1 x4 V ; U" P. H) `; K. Z  c
执行/opt/etc/init.d/mlnet9 h' @' ~2 \9 Y5 k2 e; a
命令killall mlnet.lite, E8 r, |0 u* N! `. `
0 |- L9 i: M! t' }3 h
解压缩以后得到servers.inidownloads.ini Winscp扔到/opt/root/.mldonkey下面覆盖源文件
7 V9 i2 E/ W$ @
0 P" Q+ x. k1 D) b3 kvi /opt/root/.mldonkey
5 U% R5 O* {" h, P+ ~  k修改3564081 j3 O; ~- e9 j$ b
temp_directory = temp
. A8 ~% y. P7 e" X, W, _记得加""双引号如 temp_directory = "/shares/mss-hdd/Public/mlnet/temp"
. x; W; i( B4 D4 t2 A修改第408 dirname = "incoming/files"8 @' s! u* `- g6 z1 W
dirname = "/shares/mss-hdd/Public/mlnet/files"; p8 e/ t, |$ q& K9 u( X2 T
运行/opt/etc/init.d/mlnet* k; b. G+ |- K/ h

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:15:16 | 显示全部楼层
我的MSS-BT的CONF.doc: V( a) v# B+ k3 E) l/ i
" ?6 V$ M( Z( q, n! p( R9 H# J
/opt/etc/rtorrent.conf# [6 S5 z7 i& A# |: D
/opt/root/.rtorrent.rc" q- q" T3 c1 \; g; u1 V% J( L& Q
& z( s# _2 A9 D8 n3 g
# This is an example resource file for rTorrent. Copy to) D! R6 K/ R6 _. P; J6 A
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
+ J8 d& m  v6 [3 ~4 f+ f. e  _# uncomment the options you wish to enable.* Q# q0 D1 B: W/ I/ z' d) E
" r6 D/ x8 F0 ~7 v% O- ^2 W7 W
# Minumum amount of peers to connect per torrent, if available.(最小种子)
3 ~7 G: q) G9 e' K  q1 y4 Cmin_peers = 40
. Z+ E: l. i( Z  t! e# j; ] ) G7 U1 |: ]9 J) P+ f
# Minumum amount of peers to connect per torrent.(最大种子)0 m/ B0 k1 \6 T. w, B& w
max_peers = 2507 V1 C) f6 B  q7 x+ m

2 r* \+ A7 d1 w3 [3 d+ e# Same as above but for seeding completed torrents (-1 = same as downloading)
! J" O+ C5 D& v! \#min_peers_seed = 10
4 T0 Z0 H' a' ~#max_peers_seed = 509 b- |  |8 D8 G, W& b
9 i7 X; [/ q1 U
# Maximum number of simultanious uploads per torrent.(最大上传种子)2 F4 M8 W7 G; D/ [2 F, a
max_uploads = 15
! p6 d. p) E, P+ G+ T- J
6 m/ W1 C! _) L  j8 [# Global download rate in KiB. "0" for unlimited.(下载速率)4 D: S; x% k3 p, E9 X
download_rate = 200
+ I4 o9 ]1 G8 J4 Z+ [ , n0 k- O9 p( E2 l8 h" E6 m. E
# Global upload rate in KiB. "0" for unlimited.(上传速率)
/ [7 ?+ q: O4 `2 M- m4 g" k( Cupload_rate = 30& z4 K. F1 ]$ N0 x& c- H) E

5 `8 o* q8 S* S: |% y: U0 k% m: Z# Default directory to save downloaded files. Note it doesn't support" |5 u6 V1 D$ k- E1 D1 T; |; \
# space yet.. J, X* ^0 X3 e8 t) `, f
directory = /shares/mss-hdd/down
8 [4 K. M- c: {/ K" x$ A . v% L& x: L7 U) v7 f% I" v
# Watch a directory for new torrents, and stop those that have been deleted.
& M! q5 @3 X  U: S  |0 o ; @7 w+ ~* w3 [# x7 T+ T
schedule = untied_directory,5,5,stop_untied=
' F2 Z& @/ m$ ^, G 5 X" }1 l5 C+ I$ ~7 U  r8 k& }. B* d
# Close torrents when diskspace is low.2 o9 p/ z. g0 S) W
#schedule = low_diskspace,5,60,close_low_diskspace=100M$ h) @( c6 s- d- P
. c  [: v3 i  A
# Default session directory. Make sure you don't run multiple instance) z* ]& }: P) d
# of rtorrent using the same session directory. Perhaps using a9 v4 D9 v) [% ]) Y1 R$ }
# relative path?2 J6 \9 b/ ^2 ~1 t+ t
session = /shares/mss-hdd/down/session
. ^9 g# y: ~" m2 M( E# j6 c4 Gschedule = watch_directory,5,5,load_start=/shares/mss-hdd/down/torrent/*.torrent
% q% M' {, v7 d2 F% s: ^
' j: X; z8 G6 U+ d' N, h& F# The ip address reported to the tracker.
0 }6 B: r7 E& f0 z3 p1 G
. Q0 L. C0 [" N
#ip = rakshasa
' F4 B( \3 n& L  r, f& `$ f3 p

  l' a( }3 i7 w4 X* d  G( l: ~- l& e0 D
! F: l9 b: `$ Z; Y
) d/ G( c$ @6 w( b, A
# The ip address the listening socket and outgoing connections is1 h  t  W; U" W( d; A6 g

+ E. q2 l! @" l& M/ C. \- {# bound to.
- p% ^& D9 {6 D

( ~8 O: S1 H* t& ?0 L) W7 ]#bind = rakshasa% V9 R; N0 N9 w3 }; h
5 }* y$ j  A+ O; h: g  P9 j

! `" `* r+ d# |' Z& G# T) A                                                                                
9 B! R1 G; B' B9 j' _4 y; _' f# Port range to use for listening.
# Q- {3 h$ N( U$ N
! e( }' R; M0 K% w0 ~7 ^" B
port_range = 51777-51780' @/ h& d! M, l8 U! p4 z
+ q7 z! G, V& C6 b! M" E6 k

! L* i# _1 v- a7 k: d5 E8 [3 ^5 h2 H8 d
' |, c' b' V. R# n8 C7 y
# Start opening ports at a random position within the port range.
3 w6 o. ]& ^" k7 s  n" K6 n$ N
0 ?  `4 `( R3 A/ h  d+ M
#port_random = no
% _! V# S% A8 x" w0 b* F  I
$ z5 {$ u! v  t: j) w2 w4 z
# b5 u& p# H( v4 b9 F
5 K: o% N0 t# |% [8 p1 I; j

( s* ~5 M; t/ \/ n# Check hash for finished torrents. Might be usefull until the bug is, i! m; a# E4 y4 t. d' K

% u* ]5 |- {" _6 e/ P  s- l: S8 n# fixed that causes lack of diskspace not to be properly reported.
; E8 ?; L6 p1 Z

# T# t5 A$ r1 N1 u/ Y#check_hash = no
, {! m/ Q( K: q( R3 [: y4 D
% C# k, V2 V6 M5 u, b5 {

/ c# D2 n& P7 A                                                                                
, f. g" r, C+ O3 r- E; ^0 q# Set whetever the client should try to connect to UDP trackers.
! S& i. q  F, e7 s5 {) ?; x' E

7 M/ A6 w3 j% W& {# x. _' O7 K, j#use_udp_trackers = yes* s8 N7 j; o' O- S; h
" N( }. j6 `$ x$ q/ i

# W+ \/ V2 Y1 _' o( h                                                                        H6 V% d3 Q5 ]* y
# Alternative calls to bind and ip that should handle dynamic ip's.
, d0 E+ g( o) @- K, e5 p

% P' q* b- n& _# V1 ^#schedule = ip_tick,0,1800,ip=rakshasa% b  ^& \8 l  F) N
. L  ~% P$ u9 R) p: O  }
#schedule = bind_tick,0,1800,bind=rakshasa1 p3 F: B  g' s! ]% \
3 q4 W4 @8 a9 u  ^8 p: ]- A& [
                                                                                
3 [% P: l  K/ b#
) l( P; [  d& D' |$ A' S
; n6 z0 C, b8 V$ L: s1 @
# Do not modify the following parameters unless you know what you're doing.* ^& I% i! g- l. j. \- a

* E% H: e' m* D1 O& s#3 u: X3 G* O2 m. }% ~  w

9 [  Q  p- R7 Y1 a                                                                           
) B3 M( P( z" c- _$ H# Hash read-ahead controls how many MB to request the kernel to read
3 |6 ^; k* X4 m1 J; i

( x9 h# J% G$ {# S" w# ahead. If the value is too low the disk may not be fully utilized,5 Z8 G% [7 F" m, C
! Q3 Q* }- h. r3 B
# while if too high the kernel might not be able to keep the read
4 W, V! X' y6 z
( S1 T* v4 i2 x. d% s
# pages in memory thus end up trashing.# u' D1 P' _. L, c  L, R2 @
2 M' M& `+ u2 C7 Z+ }
#hash_read_ahead = 10/ D* j1 u6 U1 ?% c' u2 H

- T0 b2 h( z& }$ `                                                                                ) ~  U, G( r  H- X6 k, j2 G
# Interval between attempts to check the hash, in milliseconds.
5 B# d# K5 _* u) o8 ]

) M% R8 j+ j6 `8 z: r3 m#hash_interval = 100 : J5 C2 [$ [' L! c* ?

, i* F6 `2 t$ Y7 w4 N/ @! m% N                                                                                ( j4 a& D* M, {$ `
# Number of attempts to check the hash while using the mincore status,
7 C1 @7 o0 e8 l3 S; ]% |
/ a/ f; }1 Z/ @) c
# before forcing. Overworked systems might need lower values to get a9 a4 c3 M. X8 ~9 l! R7 `/ p8 M

2 s% O! m) A1 T! {0 z8 A# decent hash checking rate.
/ L  }* X0 S) [, x
1 M8 J9 f4 E4 ?! f3 K
#hash_max_tries = 10
* ^' B6 U+ c! {9 L, A! C' N7 E4 J
0 K5 Y$ `: ]/ p" a. K& ]

" e! n7 n( a7 `0 h" ?/ C
1 V% ~' ?: q5 t" y! F) H( |2 f

& O0 N0 P6 H5 a# Max number of files to keep open simultaniously.8 K3 {2 q6 u' z. g3 O
5 g8 C) l8 V- g9 }' i0 a& g% b
#max_open_files = 1287 ~+ o: R( ^$ I0 d" T" `8 W

9 e' \& P. t4 e+ \  x- J7 C3 {
+ d+ r' Q. C$ N2 @( H
! k. W$ w3 S! L$ m

& X* c+ L5 @4 j+ }0 I. W# Number of sockets to simultaneously keep open.0 a# X6 R, O! {

- i1 M* x. N1 W. S6 c% Z#max_open_sockets = <no default>
: N% K5 g) Q- S+ y
7 l- ]' u8 w/ j, e# z
                                                                                : \, U$ |  Q+ A% k5 o

% w/ `7 |5 u. J/ m
6 m5 f" y! ^: G% V. P

2 s$ J- m! ^+ m7 o; T3 A# Example of scheduling commands: Switch between two ip's every 53 f. ~$ g' w5 [$ L  N  g/ [) t

& J2 X& u& i/ G9 f1 P: L# seconds.
: ?! o( X+ w* Y8 I5 [* S6 P7 p

, G; w$ b% I4 E* y. I. _#schedule = "ip_tick1,5,10,ip=torretta"
' V% ^: v- h1 u) F
7 V- w# @: K# }% ?6 i7 I* W
#schedule = "ip_tick2,10,10,ip=lampedusa"% z* h9 X( o. t. d0 m2 a* ^
. }- A. n2 d" ~% u6 z! ?
                                                                                
# L1 P9 C& h# Y8 o! _# Remove a scheduled event.* ^1 x1 X  V3 o5 h# |2 o7 A1 ]
3 E2 ]0 b! H, d( M

( ]% \4 y6 M4 v2 ], n#schedule_remove = "ip_tick1"' x1 l: ^" D9 l: v# C' A
# `# o# p9 O2 t/ X. C; I* q
                                                                                
* S; a2 z( {# D# Stop torrents when reaching upload ratio in percent,
0 G2 X/ N, ?/ i) W% j: c$ s
, |& B& a! P5 J" }

0 x$ E, Z* v; ~: c# when also reaching total upload in bytes, or when
( e# `$ V; Z; e$ \
) }3 g: D; F( Z) l) X
# reaching final upload ratio in percent.1 [& p  F' m) s$ f; p, G$ K

( e. f0 j' x/ I: t( S2 V# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
# n3 o. M' }6 i7 h# Q
5 V/ c+ G. X5 _* M9 M. P+ j6 h
#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"4 h& c, e. m9 S

) s6 l; B7 R/ L0 p- lschedule = ratio,30,60,stop_on_ratio=200
- ~6 [5 u! ^: g
# f. |- X( _- Y* M
                                                                                - s' d2 M8 P) S8 g+ k

# P. T- C6 @' F- c& }: Z& S* i' `' r$ J9 K' T% x/ j& D
- y4 u, F. r7 r+ w+ M8 K
# Encryption options, set to none (default) or any combination of the following:
6 K( i9 j' |/ m5 {: {: a, R

* X! F* {1 V" C/ k- w# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext) _5 ~) j3 {0 Z8 D/ d$ |$ f% r9 a
#3 ^* U1 B4 R7 V+ G2 o
8 z* w$ ^  G* M
7 K. R% r& e8 Z; G  o
# The example value allows incoming encrypted connections, starts unencrypted! B5 `* ^( G6 `9 ]: w

- E# g# f. ^/ w5 S6 l) P# outgoing connections but retries with encryption if they fail, preferring
: h1 o: L- V9 B& x
' O  N1 y, f3 [6 n" v* ]( U7 c
# plaintext to RC4 encryption after the encrypted handshake
, T2 M' s) t- {( b* C7 ~. E) @

* _0 R0 k: B  W; m" l8 y#
' T$ s7 n3 B" L# y" E5 ^* G

9 h- r4 ]8 e1 {9 [  r6 ^0 K( x# encryption = allow_incoming,enable_retry,prefer_plaintext
+ a; A8 a6 e# F3 H! G
+ k) c( `2 e& B1 t2 p0 H6 t- y
* f4 o" _/ Z2 ]  t0 e4 V

5 f, L8 r2 Q9 a0 s/ P

1 U* V( S+ ]' V1 d6 H# Enable DHT support for trackerless torrents or when all trackers are down.
  ]2 v3 t( r% Y; B$ [
- H! a. Z: J& {+ k
# May be set to "disable" (completely disable DHT), "off" (do not start DHT),4 Q3 b* k- z2 T8 y9 P: M0 L

8 f8 Y- F' a! L; N# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).: L8 R2 v  S! L" h1 F

0 Y( o6 d8 C: Q: I6 s% e# decent hash checking rate.
6 K# t) t2 ~9 V, w6 K
& h. M5 D0 L0 W7 j6 o& P
#hash_max_tries = 109 W6 l" i' u5 w
5 p* i( I0 D. J9 P

+ w: y( @" S  [
- P: Y7 l- V& u
# O# [$ b+ A7 I
# Max number of files to keep open simultaniously.
; f+ X2 M( i" C2 J* Z  c

9 a/ i/ F9 w" {5 E4 y: S7 A#max_open_files = 128
1 T0 S5 i7 f4 M8 B2 q9 h, Q, X

' I5 F& \5 l" L6 f( U( s- ~7 J1 z! t" `& X$ U+ n

# v4 b, M+ R; R

' e  P. L; F2 K, H# Number of sockets to simultaneously keep open.
) v& q$ w$ l" j# L2 M
/ [3 E& M1 b  p( P4 x' }7 J9 V
#max_open_sockets = <no default>6 w3 \' X. {% Q$ p; b; g9 `
& X0 g, I( {' C# C
3 O5 T8 k5 x3 K* x9 _
5 ]3 J/ S9 Z) T) \" H0 g9 M

6 ^8 D1 s$ X8 c5 G) n                                                                             ! r; c4 L! H: f' S( s1 s
# Example of scheduling commands: Switch between two ip's every 54 Q; E3 @  `7 H) l7 E$ d

6 o7 q8 ^* m" A  M! j! t2 {6 @! O# seconds.( x. l4 ~: [; y/ [8 U/ X

* B1 {8 ~. h( y) e/ L, D7 B" r#schedule = "ip_tick1,5,10,ip=torretta"4 m( D; f/ G3 s1 P3 O& q
, Y1 M9 m. L6 ?% z/ l/ y; U% \9 y
#schedule = "ip_tick2,10,10,ip=lampedusa") b. Q' n; ^! j

! m' c7 x- U6 D; {                                                                                3 w% a5 A- R9 V1 a" s2 e( a
# Remove a scheduled event.- m! {' x$ S  ^+ G2 J
. A% R2 {- }) p* w7 a' w6 c
6 p4 o) D. U5 h: h
#schedule_remove = "ip_tick1"
( t" {3 K" N# y+ Z2 G& [! P

$ L# N# H7 @$ p  Z1 J5 F' `/ D8 V8 ?                                                                                + ?. K: f2 P1 w/ \* g, F; K3 |- z
# Stop torrents when reaching upload ratio in percent,7 m  Y  s* p( q% l. V* x! ^( |

* o+ f$ B- S1 F2 p# when also reaching total upload in bytes, or when
) Z: `5 c- ^: I* n) A8 l
+ x  D" h4 m: n. y: N
# reaching final upload ratio in percent.+ e! q% s8 W* B
/ ^( r+ X& M2 l. W
# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0; X5 c  i! \: }5 E5 F! u' R
/ M# n0 h# R' v1 u
#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"3 Y" ]) _; L; x5 f4 I4 N; W

+ V1 v% N& G; j# |6 Yschedule = ratio,30,60,stop_on_ratio=200- B4 v  A* F. @. c

8 C6 ^* @0 N( ?8 I" w& {                                                                                
. p8 d) C* j' S1 \
: W2 z! u+ X1 d2 A; F2 R% N6 A2 r. P9 C! z! @$ A. d5 {
- J2 i* T; c0 H9 n: V8 T* x* v* \
# Encryption options, set to none (default) or any combination of the following:
: H0 ^: ]4 v3 R( L
! M/ p: j6 [- v' v* R3 n
# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
" q0 _+ w: m/ {5 g; I#
+ {! c% @8 `" g& u" g+ l
. W8 l; P0 x; q- A5 ~& |% A, g. U

4 @& d5 Z6 H5 x- H# The example value allows incoming encrypted connections, starts unencrypted
0 l% h7 G- W2 H
- }0 N4 d' f4 U
# outgoing connections but retries with encryption if they fail, preferring
9 Y& j; b; y$ n: g) s  D
1 s& x0 U; G& M& j& }) K
# plaintext to RC4 encryption after the encrypted handshake
. P+ b% B6 [4 r9 F! ^
% l9 W) ?4 d' I7 z
#
( V5 G7 k7 x0 X6 i

, U! r" c. ]/ \; X' m# encryption = allow_incoming,enable_retry,prefer_plaintext* ^5 r; L% o6 J7 @! y# Q

% J/ a& q  u( R% |. @/ M1 Q" Y1 I0 H$ _+ s7 Y" _2 A1 E; p
4 d/ l& e. _4 N, x

. P/ X& M4 A! k# Enable DHT support for trackerless torrents or when all trackers are down.
. R( e, S* ~9 J, m9 S( k) z: ~. N
* [% v7 S% C9 l; G: M) h7 |
# May be set to "disable" (completely disable DHT), "off" (do not start DHT),
! I; p# r, N, |- x3 Z
4 [* |  E2 t' s
# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
& C+ K+ _' U& L- e. b+ @, D0 r$ _

. y9 ^6 E+ A! h2 d- y' U" Q# The default is "off". For DHT to work, a session directory must be defined.
1 @1 G& m5 {- U) P& `0 w" M

8 N: A0 e( O! Y#/ c5 J* E' {) a3 d* v5 {

$ ~" |5 L: T3 q# dht = auto; `1 M2 u5 v' B3 w0 M
  q# M) U& x! r& x- y/ J/ P. ]
( {/ j& d) Q, ?
use_udp_trackers=yes(???)
, K6 j) w7 L1 U8 Kencoding_list=UTF-8(设置中文)0 t$ B2 S& ~# K
umask=0000(设置权限)
: s8 W; d8 P3 q  Edht=on(设置监听on
& Z! ~2 d# {% Q9 Q+ N, L/ n. Mdht_port=6778(监听端口)
6 J/ c9 X3 c+ `3 c5 _) N  Rpeer_exchange=yes(种子交换)% F' c* u, z( p3 Q! U0 m1 A* w$ L1 n
#scgi_port = :5000
% B6 w% R/ R( C
2 A& x. ~/ q# f) N
# UDP port to use for DHT.
$ i* t! U% T# U: c$ [  d
1 W' e6 C8 d; Z2 F, @; |, A
2 y1 _. [2 z) ?/ |) p  g) M  N
#
0 f( _" M& T2 g8 ?2 A4 v4 R

$ b9 |1 L9 l' U: Z  Z# dht_port = 6881
2 {0 U; D3 S5 G" L
, N' Q; C4 g0 a5 \, U$ M" U3 @6 q
& y* i7 p8 x6 d" Y/ N% Y$ H3 F

; P( X3 ]8 t" h0 `: B/ e# m* P1 q5 E
' v; L! X- e- d6 {! \; y
# Enable peer exchange (for torrents not marked private)
# ~6 O% m4 X8 Y9 S0 n

2 N1 ]2 Q8 K) F1 h! }! E8 {" O#$ q. F# u1 z+ g: d4 ~0 b1 \  V

" U# u4 L; R# C2 u5 v, _- {# peer_exchange = yes
9 ^- y3 p/ i5 H! Z* ~% }5 @' b9 Y: i4 |- e% a& Y+ d9 v* N$ r

; x$ _1 P6 y! N% h                                                                                    
# z; [1 d' p  X" I  V8 w: r$ i#
& @1 e5 m9 F9 L- S* R8 P" j& R: c+ c
% i& }: H+ Y) D# D/ }  m
# Do not modify the following parameters unless you know what you're doing.3 O+ t+ [! e  ]4 N2 h
! K- ]2 e" p; E9 v2 t: V5 y3 n

8 ?6 p$ m' K% f4 v  Q- x9 X1 M#
! r9 S- V7 A% |" y
5 {  N+ f9 F4 y! r3 Z
scgi_port = 127.0.0.1:5000
2 V; N7 o* U) U, L
(设置GUI

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:16:30 | 显示全部楼层
/opt/etc/init.d/S99local
' @& ~: j( ?, P% \
4 A, c0 j) ^" M" [#!/bin/sh- Y# Z; H1 Y& P6 N2 Z

7 p, i6 ]4 r% T6 K- \! y/ v3 ^  w! u4 C( g, X/ z4 [
, K- m  {0 D- F$ [2 X; x: Y3 b
) }# s: o4 |, ~& z4 `
export PATH=/opt/bin:/opt/sbin:${PATH}6 u2 P! a0 _! t1 y
; {5 z& H; |' V4 M" Q
export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}
2 f, M! m: e2 l1 |: I3 W. m! H" l3 M9 N; x1 g) D) i/ _

* K& \; L2 I' g, e5 G0 [( Oexport HOME=/opt/root" h5 j) @  o3 W3 ]3 p" U
2 k3 s3 [3 T0 Z, Q# [2 |: Y. f4 w) p
export LC_ALL=zh_CN.UTF-8
% B% j0 P% n. }7 w7 C1 l& d) c; e- y7 D( u
# w; E. G! w# N' ?
utelnetd -p 2323 &
$ k* `9 Z) P6 U$ A0 {+ q$ M
5 @7 l" m0 ]( j. v. _
/opt/bin/screen -d -m /opt/bin/rtorrent -n -o import=/opt/root/.rtorrent.rc
! k9 t- @5 u2 C- K1 D- c

  I& o* q. D) t  V1 t8 z$ mvsftpd+ H5 D7 E% S1 V7 g; S3 r
(必须放在最后一行)6 Q% m9 j5 F! F. f5 N
4 V$ q* T) z1 q, B' B" e# O

! u2 Z" e6 x" j7 k  R
回复

使用道具 举报

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

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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