找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1057|回复: 9

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

[复制链接]
发表于 2008-4-28 05:11:14 | 显示全部楼层 |阅读模式
功能强大的离谱,正在研究,该机可以实现BT下载(任意大小,支持中英文),FTP下载(暂时不知道如何设置权限),电驴下载(只能一个一个输入,且单文件无法超过4G,),花生壳,无论你在哪,都能找到自己家电脑;网上邻居,网络打印机(支持USB打印机,也就是每台机都能通过网络打印) ) F4 f. d. \4 _0 n/ S非常小,非常省电,还有一个很好的优点:你开了BT+电驴,其他电脑上网和QQ都非常流畅,不像现在的BITCOMET、迅雷和EMULE,一开了就别想上网。0 V5 { u- Y& w! z9 A& G+ P$ B 大小长25,宽15,高5CM左右,和一个3.5寸硬盘盒一样大小,接路由器和电源就能用。安装完毕后所有操作基于TELNET和网页。 2 a5 `: V0 A4 g, i, B还能构建HTTP和SQL论坛,这项我还没头绪。 7 N% {. _7 `+ l7 g3 r% n& h6 w上个图。 / a; S4 j1 e3 ~* U$ V% s9 C. ]7 I2 U/ k

本帖子中包含更多资源

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

×
回复

使用道具 举报

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

使用道具 举报

 楼主| 发表于 2008-4-28 05:13:31 | 显示全部楼层
留点备用查询
( E) V9 P  e$ w2 H" @) c4 _' ?- Y, p: d$ _) {% `9 q
一、硬盘重新写0/ P' t5 o5 x" m" J9 P$ r7 g
1、如果MSS正常,则执行$ {* Y9 |7 z7 I$ I! x/ |. ?( b
dd if=/dev/zero of=/dev/ide/host2/bus0/target0/lun0/disc; ' f" |3 I% T- U0 l- u0 X) Z, ~$ R
2、如果硬盘刚启用,则插盘清除分区后,用winhex05 N8 X4 D* @8 ^# m: A! G
二、改本地连接
% d' H, u5 d6 Nip 192.168.1.2 网关192.168.1.1
* ]' w9 E! k2 K7 E三、执行nasload.exe
& w! z" G, C7 ~
3 I3 O( ^3 F( x4 q# A6 c用户名admin,密码空* V- l" e4 Q! K4 E, R( R
四、设置机器名称,用户组名称,IP$ m, e3 K# [" T* G/ _6 q. a% p
五、刷新2.6.5' M4 D: t0 B" i" }
六、建立一个down文件夹8 J1 u* X" ~4 B4 y, }! J, x4 b
七、telnet 192.168.0.88
4 s1 Z4 v( [! V: r9 Jipkg update
: D% y& a6 P) x! w0 t5 r0 g! \ipkg list
3 e- L7 l+ z; @ipkg install dropbear
) r/ o/ \$ q9 K* T, u# @ipkg install busybox/ w& r5 r4 v+ S, `( T8 F/ k
修改root 密码
# N& k* ^4 {* ]+ D# H' Y/opt/bin/passwd root0 C' i9 k, k3 B. `
1 m- z! U& r+ a) [
八、使用  进入
  S# p( W1 T2 }. ~; t. acp /opt/bin/busybox /opt/ - A2 l( p# C) h1 t& C4 ~! X
(将busybox/opt/bin文件中复制到/opt/* m) W, u$ T# j# ]9 h$ V* z" n
  z3 w5 N' \. r
安装oleg
' `3 G5 n2 X% r& ?% I3 t(1).将下载的opt.tar.gz放在mss的共享目录中(通过网上邻居进入,放在Public文件中)! }3 r: E  L: E- Y7 }8 F% w
(2).在根目录下执行/opt/bin/busybox tar zxvf /shares/mss-hdd/Public/opt.tar.gz
! J' v& M, Y" ~' y9 D(3).执行下面两条命令# f: x' s6 r: V
export PATH=/opt/bin:${PATH}
2 L$ F/ x$ _. M8 H6 C$ bexport LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}
+ z7 L4 D, a. b4)将busybox恢复到/opt/bin目录下+ [$ j) E% q* }
cp /opt/busybox /opt/bin/
7 |" o; x- S/ U* C) `( v+ [ 1 i. Y* d! w9 E
九、5. 安装和配置rtorrent(bt客户端)
! \6 `0 _$ h& ^! K! r8 b$ Z1 k1 G1)安装2 h+ A& y6 d" r
ipkg update
0 E, G) T) i* A+ n: nipkg install rtorrent
7 N: G$ B6 j4 O- j9 @& G
5 Z! c) O" F  C: x+ y1 @, _& s! _. b7 g: [* @
2)设置
& H: {. _4 v$ Q) Q$ L39 p9 o% Y/ n$ P
mkdir /opt/root
/ r/ J5 P) o( L5 d  ]  ncp /opt/etc/rtorrent.conf /opt/root/.rtorrent.rc8 I1 Q9 l/ R& ~0 t& u2 O
export HOME=/opt/root
& I" w; {( [: ?# trtorrent9 ?2 }5 ~6 _# M2 F% d: k5 _3 L2 u
看是否成功2 ~0 O+ [. C+ [% L3 l8 w% a  ], k

2 e' O' C& u( ]# J( K3 \ipkg install screen
3 F$ U5 w  d( H: l! g1 P) m: y0 f6 Z" f% a8 K
* b3 h% p8 q' f' B
screen
- E2 _# x# C4 |- {然后回车8 b3 J, u) G: u5 A+ ~
rtorrent. s5 E& g5 N8 k; I7 \$ ]
ctrl+a然后+d,隐藏界面. r- v( I8 T5 _( a9 n
十、安装配置vsftpd(FTP服务器)
# i3 e" l/ B5 Yipkg install vsftpd
4 `/ m; r. Q& Z  y  z& J4 Y: J. O) w* J2 Y7 t
/opt/bin/passwd 用户名
' Q/ B' J* Q8 A! Q6 ?4 s+ @修改用户名登录目录
3 e( ?" i: m' x1 l! j2 q7 Z. _0 wvi /etc/passwd& U4 S1 d# D; j

/ Y/ h+ v0 p8 }添加可以登录FTP服务器的用户名5 T! |8 C, s& g* S7 n/ k# u) {
vi /opt/etc/vsftpd.user_list
: A: {" C% q8 x# X6 K& T添加要登录FTP的用户名称* i# b7 {2 D& L6 ~* K& ^
配置FTP服务7 B& |" ?# m7 Y4 k4 P$ v
vi /opt/etc/vsftpd.conf* X! A- {6 ]! p
在最后加上一行:  E# ?# P/ x1 W& @& Q
" O: x5 y: b& |
0 k+ w' q' T( G* i
/opt/etc中建立文件
6 E5 L" q. O% g! u  |mkdir vsftpd_user_config
7 J+ b# ^6 ^' b, f6 o. o2 H3 ^4 o: k进入该目录
& s) n3 N% C1 Acd vsftpd_user_config
. r' q4 ^# X8 }7 p建立两个和用户名相同的文件
3 @% A6 i0 v; s, r$ @9 Lvi 用户名
9 k& i+ U4 K' z, d3 c" f在只读权限用户里面添加
& U1 n( W, g! \# W
* G( W2 W+ c! N, t, a" ?3 E重新启动硬盘盒( M  q- c( ]. Y6 e7 i& n1 ?% I

! H9 Z: s) {# }4 N4 ]/ \十一、设置动态dns
. @$ w" D* x7 e/ D' x$ ?ipkg update
, U9 z- [5 b" t) r/ X8 `9 Y& Vipkg install inadyn! ^- E9 A  y% k- u5 Z0 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
5 v; ], R6 K, r# z( m + c" ]# N5 V* P' P1 g
十二、电驴1 ]' ~( M; G' s9 m
mlnet.rar内的optlib.tar.gz放到MSSPublic目录里- i& q, f6 d$ B8 p5 q, K  f3 {1 I' U
/opt/bin/tar zxvf /shares/mss-hdd/Public/optlib.tar.gz. c  T% H, I2 @0 e+ d. n8 Z
cp /shares/mss-hdd/Public/mlnet.lite /opt/bin
; V( ]# s+ V% J' I. ^+ ^  nchmod +x /opt/bin/mlnet.lite
6 j8 x3 ~' q/ w1 y3 h6 n* t5 F5 nvi /opt/etc/init.d/mlnet
& n1 b' s. m+ d: e9 r#!/bin/sh2 `% {/ t0 N4 j. N3 Q* o3 F
if [ -n "`pidof mlnet.lite`" ]; then+ g! r+ q) ~( q6 i! ~4 N2 i7 K
& R8 w# n% k6 ]6 v4 o" L- c( L
echo "Kill old program..."

2 i+ n: h" y! r, A1 |
" \; M1 z, j/ E% @, H. Rkillall mlnet.lite&
3 q, y( M! e0 N& M
4 K- r% o; h" l& B" N
sleep 10
# }7 ~+ @0 B, ^
fi# W/ b) t- o3 U
export HOME=/opt/root
8 H7 [- C3 j- N/ Iexport LC_ALL=zh_CN.UTF-83 @0 N; w& b( p; {8 ~  w% z
rm /opt/root/.mldonkey/*.tmp 2>/dev/null- Z9 w7 j; ^6 I5 q
rm /opt/root/.mldonkey/mlnet.log 2>/dev/null
' y& j: V9 f4 [; b* R1 Arm /opt/root/.mldonkey/*.pid 2>/dev/null; Y* O4 ~1 m8 W; c, @+ i
/opt/bin/mlnet.lite&
2 |% c$ k  K. R% b' V- q* ^   V# Z& K/ T: A3 v4 m+ ]
chmod +x /opt/etc/init.d/mlnet
1 K( X6 E0 e" H8 N/ u4 U ! t5 U( s- T2 x( J3 a
执行/opt/etc/init.d/mlnet
" {) [$ |+ @0 ^; p( w7 w命令killall mlnet.lite, _2 n) S; ?5 x) Y* d
" u) V6 ]$ J+ y2 o+ T
解压缩以后得到servers.inidownloads.ini Winscp扔到/opt/root/.mldonkey下面覆盖源文件7 p! ^9 x, D- ?; M) a& t! @
- ^+ L- F( h$ S0 A, p8 H
vi /opt/root/.mldonkey  ~4 q9 b0 O* ]9 Y8 z1 D" P: W" b
修改356408
* F8 d' a4 }# @9 ]# y1 B5 k  Ktemp_directory = temp2 @7 p% e* W, S0 h. r; F# h
记得加""双引号如 temp_directory = "/shares/mss-hdd/Public/mlnet/temp"5 l3 J9 {5 `! f* m) e' ^4 T
修改第408 dirname = "incoming/files"* q# ^: `) J$ O1 {+ u
dirname = "/shares/mss-hdd/Public/mlnet/files"
" C- O3 h- g( i3 H3 |& m7 W, f6 J运行/opt/etc/init.d/mlnet# _" X# R3 R* [) x

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:15:16 | 显示全部楼层
我的MSS-BT的CONF.doc$ K2 e4 f6 T* z% a/ z

9 |: N& [0 h2 r/opt/etc/rtorrent.conf0 |' R2 l. T9 J" e/ T+ t
/opt/root/.rtorrent.rc, k! V6 s% \0 k# ^. u! G

" a3 u' y9 T7 [$ p# Q' ]# This is an example resource file for rTorrent. Copy to
; j1 _  x/ }4 {3 C# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
6 p8 t# N) G' X3 `# uncomment the options you wish to enable.' ?) Z9 z6 s1 `0 w+ f) j; A
# ~4 _) q8 j' j3 [
# Minumum amount of peers to connect per torrent, if available.(最小种子)# c; ?. j9 ~) ?2 C& X! o
min_peers = 40
1 I+ n5 Z  o, f4 r; `" _, z
9 b. j1 q) P& V2 P9 R' Z# Minumum amount of peers to connect per torrent.(最大种子)) M$ D# x. Y+ G' M8 J
max_peers = 250
: L- s( s/ e! y6 H) I; h- |7 L
; S, P( D& ~; B' p- C. X" M# Same as above but for seeding completed torrents (-1 = same as downloading)
# \: {3 E  c1 W( D' E#min_peers_seed = 10/ i, |& J9 P* b5 r. F
#max_peers_seed = 50
0 [; G% r' u( u. R 5 {6 O* T! \3 {8 q0 V
# Maximum number of simultanious uploads per torrent.(最大上传种子)
1 |7 Z  s! L; d6 [$ Tmax_uploads = 15) F' B& d, K* W  H" W
6 y: T* f1 w, K$ t! N3 x# L/ \
# Global download rate in KiB. "0" for unlimited.(下载速率)3 @0 o1 g- R& \1 k0 Q* O- B# p
download_rate = 200( S# b( a- Z- @5 ^' V
2 P; d1 K# u! {* z# i1 M8 g3 H
# Global upload rate in KiB. "0" for unlimited.(上传速率)6 F! S- E! T8 l. A! Q, V6 N
upload_rate = 30
- E8 R$ X4 b# T4 t9 j% F # Z; @7 Y3 {- h/ x+ ?9 F
# Default directory to save downloaded files. Note it doesn't support( C" c: E, C; f7 D
# space yet.1 m+ Q" J4 k' {
directory = /shares/mss-hdd/down- E$ u1 a$ V1 X7 P9 {) m, l2 D( s
0 M3 t$ x# W8 k9 v6 x7 W, L* X3 Y
# Watch a directory for new torrents, and stop those that have been deleted.
$ B( S" G' v" H% D9 w' t
' L% K" v  B# @6 Q* h0 W. f: M3 V$ Wschedule = untied_directory,5,5,stop_untied=
+ `) q+ q9 v; f$ k  x; E, g/ M : W; J5 ]; f/ Y! r1 N2 J
# Close torrents when diskspace is low., e' Y8 v' O3 G/ _  ]# y5 V
#schedule = low_diskspace,5,60,close_low_diskspace=100M
' C, c. p  I' n" a & g; L) R. G7 P% J" h% K4 l
# Default session directory. Make sure you don't run multiple instance
/ ~% S, i: o1 o0 S. e* \: x# of rtorrent using the same session directory. Perhaps using a( V9 k: b3 h/ W5 T: D/ B: n" r
# relative path?# U4 S( J  q- q$ v0 X- k5 j; X5 f
session = /shares/mss-hdd/down/session: L( v8 |3 Z% y8 D
schedule = watch_directory,5,5,load_start=/shares/mss-hdd/down/torrent/*.torrent
6 G' J$ p5 P9 Y
) @% F9 ]  `8 Q# The ip address reported to the tracker.( R3 z' d* g9 U. Z8 f5 ]7 M* r, N
: i) c3 ~  R( Z6 m3 C/ z0 R5 p
#ip = rakshasa5 H7 u, n  `' N$ F  K* U
6 R/ \0 J' P; l
/ }1 `( p- X8 N$ e( x3 t7 r# K

) p' Y9 `" O' x0 k8 t9 k

" n' z  Y8 s1 I  U# The ip address the listening socket and outgoing connections is
3 i2 g4 V9 n5 S2 r* m$ ~5 d. k
6 a, o5 r- X4 P+ D. o
# bound to.
  x4 c, i( }* v+ [2 d: O0 K; T& x" L
, _0 M2 F4 l* y5 i( ?
#bind = rakshasa7 v' c  I7 K  H

: u" b2 Q  P2 X9 G
8 P. }0 ?1 Y# `" b2 H2 M
                                                                                
& C8 R; D7 m6 n% n: C: y; n$ z* A# Port range to use for listening.
" o& B, w7 {2 @0 N' @

- @' ^) t; O" y1 W5 {+ T% W. Wport_range = 51777-517801 ^) {  ~# S0 h' X7 G6 q1 R

2 k1 [$ h5 ?+ G; J
3 R. ^( L1 E8 Y4 V$ U1 j# H# ~; I$ i' @' W, e7 t! M

) b( N5 G" @- {9 J" G( F' A$ y& u0 _# Start opening ports at a random position within the port range./ Z9 }1 i6 Q" b
/ ]# Y% @5 Q% e- i- G5 K
#port_random = no
" c* G/ b; c6 W( K1 I
- o! l$ i) V. p: ]% ~8 R' M8 ^
8 P3 F9 a+ a1 S, C3 Y) }  H* |; |

" N; _' Z3 I' D3 A; S/ R

1 y1 C) T  v5 ~3 P0 D# Check hash for finished torrents. Might be usefull until the bug is
) Z! |( L+ x7 h2 }

0 x: p- z# O6 J2 f2 [" Y# fixed that causes lack of diskspace not to be properly reported.# M# q3 N( p  k8 [) E3 Z

) U6 b, ~( ^; b6 R9 B8 V  w, s#check_hash = no
. b6 W) q: _9 X
5 b+ c) ^  C; b  m
( x$ c" V+ X( ~& r; _
                                                                                - |7 W& G. Z2 V( l3 X& i
# Set whetever the client should try to connect to UDP trackers.+ a  e; K0 ~- ?5 G+ e

. I  b, _- j) A6 S0 u#use_udp_trackers = yes
# u9 d* v9 z( V4 }: J
5 P- e5 \7 X) j* O, ]2 `) v( l

, O& U1 h) K8 G* i" r                                                                     
  \% \+ N* n% T8 O# Alternative calls to bind and ip that should handle dynamic ip's.: O# e, W1 w  I: D
6 X- T, t) N% H( U& S
#schedule = ip_tick,0,1800,ip=rakshasa( Q/ x( Q! x1 \8 a+ z: x9 T) r

- d- M2 b5 Y, o  T: ^5 C#schedule = bind_tick,0,1800,bind=rakshasa
! S# A6 ]( N7 h# w

8 \! X4 [  J/ M) U" X                                                                                
1 q) ]3 q6 Z4 N0 ?4 N#. D# }+ g6 L5 G* `8 r
- }3 c" K0 y0 Z9 A
# Do not modify the following parameters unless you know what you're doing.
* C5 S( e, |- o$ b$ j

3 s/ C# \) Y" [5 L. b# k#
* k9 k3 C1 w  X( @+ w6 c  @3 k
9 V# Q  O, k$ Y$ B
                                                                            7 e9 T$ U" U- R9 n5 I
# Hash read-ahead controls how many MB to request the kernel to read5 J3 G  _7 M/ H5 z
# U# s. K$ P: @% s/ u
# ahead. If the value is too low the disk may not be fully utilized,
( X5 B/ {; v' A2 a. }
& Y* O. d+ u0 i/ @
# while if too high the kernel might not be able to keep the read
& a+ R5 u. o; i

: A% |( Z3 ]: ]( G0 J( \# pages in memory thus end up trashing.
: d; R7 p1 z/ l: v! t! p9 r2 Y6 Q7 Z
+ N' z+ P( _7 R, m# y" y
#hash_read_ahead = 10
8 R5 [9 V$ T5 S  c  G! B

7 Z% j1 p( I4 y; p2 k                                                                                
' `' G3 w( j6 U8 J# Interval between attempts to check the hash, in milliseconds.7 w. j5 b9 s, \% p) h- h6 T" t

  n8 A1 `/ o8 V/ n3 G' ]8 N#hash_interval = 100 6 ?- y% v. a/ P: `

0 o3 ?( y2 ~* V+ y, {; j6 ]4 }                                                                                
; C# [4 ~& K& v8 A7 l6 o' |3 j1 p# Number of attempts to check the hash while using the mincore status,: _' m$ @' \5 t
7 h; h9 w) J* A: C% f
# before forcing. Overworked systems might need lower values to get a
: z0 R! u$ ?6 T
  k" b& K5 v  ^/ B# ?  `
# decent hash checking rate.
) o7 j' d/ q0 T2 i

3 c, l# A  `6 F! F3 I) e#hash_max_tries = 10' _( X& B3 R3 w. ^! k* z

- p0 T  m. E- N6 X1 a8 L! R
( a4 \4 G% M# R7 y) M7 d$ T% k: r! }/ E. ?  G$ ^; z" }* a

6 [- z6 ^* ^7 O5 V) D" l# Max number of files to keep open simultaniously.
( w$ n+ |+ e; {7 q) Q

) o" _4 m# S+ G' M  a: n#max_open_files = 128
( m( c* P; F# h! Z# E5 x

8 F8 X. ~. ?0 v9 `4 l9 {( [. n+ S) L4 j- H
0 a9 G7 }/ d4 @* t. p7 a
* I' N5 D# h  [  q, q* @/ e0 }  J5 l1 `
# Number of sockets to simultaneously keep open.) U0 m4 Z4 [  \5 F: j7 [4 D

$ f5 b' ]0 }, [" [$ X" n#max_open_sockets = <no default>
- ~+ E. B% c$ A# a- m: q$ l
7 T" u* H' i* _8 l2 D$ L5 j
                                                                                
( P2 s' w; Q( f( C3 j
" y8 J8 ~6 W, @' A- _- f, `
6 u: _0 n6 x$ {8 T

" [/ z- x# P( z! w7 p4 L5 R# Example of scheduling commands: Switch between two ip's every 5- L1 [6 I- j+ O" t4 b% p' p  M( U
- i, \3 ~9 o- Y# }; e7 W9 k
# seconds.
* O& I8 g* `9 }6 J5 e

4 x$ m2 a) _% }% Y4 x; Z#schedule = "ip_tick1,5,10,ip=torretta"' i, o$ ~! ?# z# `8 R* g
: J! q" E9 H) r3 z6 D5 g# ~9 a
#schedule = "ip_tick2,10,10,ip=lampedusa"2 U& u6 U1 K* l, ~! D

' W1 U! }5 E, n/ l# n* X                                                                                $ |  u) I9 F6 ^- `' P' }5 l
# Remove a scheduled event.7 I' z$ F0 x) j# \* k: x
5 o5 X% g$ A, ^/ h: Y
  D6 u7 O0 M. b
#schedule_remove = "ip_tick1"$ x7 f: r/ F6 d: C" @: ]  K) Y
9 j% F7 f6 e1 F2 g% i4 W: W& |( t4 A) t
                                                                                . o8 f$ M; V& i4 v  S
# Stop torrents when reaching upload ratio in percent,
) U; P+ [3 g6 M1 I0 _9 `' L5 {3 G2 |' V. K& k5 Z

" N6 {$ c+ F5 l4 P' g0 I, q# when also reaching total upload in bytes, or when8 U8 z0 Z/ _( {" @5 H

. w/ p/ }6 z  c+ A" ^7 |! `7 N6 g# reaching final upload ratio in percent.
5 A3 I+ C( w  L
/ E/ s' \' F1 j
# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
/ I. w, u) S* M$ H* I
; i; J/ e6 l$ P2 [( j9 r
#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"; p/ f4 e) M( M+ n

" ?* \  `1 G- qschedule = ratio,30,60,stop_on_ratio=200
. E6 l# I* K, S/ H% }  U$ s9 q
$ k3 W  O6 q4 _( g
                                                                                5 F  k% M/ L  W- f" C- M

: B3 \) B- o; w$ O" P8 t4 R) r% D
  E1 X/ L9 z: t/ o2 Z0 X1 X
3 s! B' G/ k% Y6 m. H! r, h
# Encryption options, set to none (default) or any combination of the following:
* M3 g* _1 ]+ t8 t0 e4 F; L/ l6 x
6 U+ ?  f+ Y# c) ?' U, H
# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext" b) W: F2 F# q. U4 o
#. N/ c& m1 t, G+ z

. f0 g- K9 N/ V

0 u* L! [) n! ?0 T0 Z6 J9 M# The example value allows incoming encrypted connections, starts unencrypted
# F( G& N% ~/ u( f) }
/ \! v% H/ R8 B
# outgoing connections but retries with encryption if they fail, preferring
1 n/ l3 Y% \8 t( f3 Q% f( z
, T% D& u* W% [8 N0 d7 j
# plaintext to RC4 encryption after the encrypted handshake$ J; K0 T: I0 _# k& g# H2 X  g

1 m) C, M6 C- ]+ k8 e* _#
* Y1 B; O, [+ P4 _
2 X- @* Z1 g6 x4 x) ]+ h3 ]
# encryption = allow_incoming,enable_retry,prefer_plaintext
0 G5 f- M. n$ {) o  a7 M
8 B( [6 y' o; K; H2 ?
& I0 Y5 Y" u6 ~

' h3 l8 R% [+ K
* d, Q& o, a$ Z/ W. Q
# Enable DHT support for trackerless torrents or when all trackers are down.1 `" I0 V& v$ ~2 Z' U' c3 v( s' i
$ ]7 G# u! ^% y# E% E4 W
# May be set to "disable" (completely disable DHT), "off" (do not start DHT),' G  D9 N' P% ^+ ^4 z' n& R

  S4 o# e& |( f6 C3 O# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
; [" `. H3 x# y" e$ A- }/ T

$ B" x( P! H' H2 j: _* N% u# decent hash checking rate.
1 u+ X; z6 r, U) j+ s1 \5 y

/ Z7 o+ Z. f& z: l2 S5 \#hash_max_tries = 10
7 U3 M$ V( Y7 b1 n+ Q- T* d
/ F% n$ P2 {5 K; |' v: z' }

- Y2 C" O5 Q& h7 ^& P; a% \9 O* C$ [9 ?7 K2 @( Y

: T& v2 \. e3 v, V# w& }# Max number of files to keep open simultaniously.' R$ }' s4 n# @7 s

) X& E' i. i, z/ M5 J) e1 V- z#max_open_files = 128
  H% l0 g6 L' @' q

2 N) ]5 ?6 f+ m& C8 b" E+ d
* G$ a8 |% c  b" U" a/ O# ^* w5 p, P6 Z" S

* H! S' x# A3 i7 b$ ^# Number of sockets to simultaneously keep open.
+ K+ R4 b, r1 H

/ C% o  j0 i( ^5 M#max_open_sockets = <no default>
/ A4 r8 [* P$ P2 j$ V' O

+ _/ H; ~" ^' p
& X$ s* a+ l/ ]+ o( v
4 M2 H% ~9 m) e6 ]# ^# l2 b
- Q; F& {! w0 P9 M! a
                                                                             
5 ?( Z0 {8 [# ]- Q$ B$ i# Example of scheduling commands: Switch between two ip's every 5
9 `* H* y  i- F; t! D

' C2 b- I+ W  z( X# seconds./ W0 t/ m! J2 C! P
, ^& u- [$ q& U4 x* `1 ?+ f0 V8 e9 p
#schedule = "ip_tick1,5,10,ip=torretta"
# z. ~% |' M! B

, C3 u/ m# S6 @' h, G2 f#schedule = "ip_tick2,10,10,ip=lampedusa"6 o! Q! ~" y2 |* x" g7 `
0 J. ?2 }3 i7 v2 \
                                                                                . ^9 {. [  e1 W) n' b
# Remove a scheduled event.
7 K" E( |( O) Q2 X, M. f& [% y+ u, s$ y# Y3 }+ }
+ ^7 U4 c1 c6 |) H2 s
#schedule_remove = "ip_tick1"
5 z9 r! \; q: ^
. N8 |, d4 L* E
                                                                                5 Q# G2 w% `  N
# Stop torrents when reaching upload ratio in percent,( v( ]/ ~2 D0 W) G; I$ W
7 A; t, X  V# b7 ^
# when also reaching total upload in bytes, or when
, N' @, L* ^3 j+ Y
3 p5 ^# T& B# Q2 n8 j1 u& S) ^, q
# reaching final upload ratio in percent.
0 I) a3 t4 d! N

+ _3 @8 E. J) G. ]! q) B$ V3 s# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.00 u1 [, G4 J+ |
$ }2 r! a" t% w0 M% x4 v; a+ j
#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"9 J3 d, W" q" r* Y- K

3 k- b  V0 i" @1 {- a. Kschedule = ratio,30,60,stop_on_ratio=200& \- S' @, A3 x* k, |! c

* A+ G% G5 l( L                                                                                ! p& ^: P* e' l* V  u# ~% V! V! m, p

  S2 J3 A6 T5 r
2 I( X5 A- C. L& h& q/ m: x; c5 u7 w. {
9 I$ z  u2 F8 Z4 z7 K% g
# Encryption options, set to none (default) or any combination of the following:
2 j/ U2 w6 v3 Q" \. {; F# c  {

* ]8 q, q; U) W8 T# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext5 B& b5 h6 O4 S, _+ J1 \. ?5 ^
#/ D+ o5 S+ V$ b! a' r

* ~) n, N6 Z3 a- j( {  E6 E: e
' e% S% m+ \; h
# The example value allows incoming encrypted connections, starts unencrypted& O/ O$ h. K) f* p

& P+ j% a8 H% @( p* N- t& s  Q$ |0 ?# outgoing connections but retries with encryption if they fail, preferring
) T- [2 J' B  h  C9 Q6 h9 a1 m

6 M$ h. D0 a3 o# plaintext to RC4 encryption after the encrypted handshake6 ^, q2 j3 C5 [& J( y- m
! u' A) t7 l% p& x; g
#
5 w) L* e6 r" G: P: e0 ~
6 f& V: U6 f; c& |: |. u
# encryption = allow_incoming,enable_retry,prefer_plaintext
5 ?0 K1 J3 w' Z& A
) T* X$ @# P* I; F- @" L% G

* p+ A  P! @8 T- Y1 i& H! @6 P0 @; ]3 X/ S; [/ f* x" i
4 Q6 r+ T: N' P' ?' m
# Enable DHT support for trackerless torrents or when all trackers are down.
  l9 o6 \& s, n4 G: b4 l8 ]) v
6 F( c* ~- W% Z
# May be set to "disable" (completely disable DHT), "off" (do not start DHT),
' \. K# \( \; J0 r6 b9 F. w3 O
- ^, }$ f$ _4 F3 R) W: d5 v1 v
# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
! {& X! o( {0 Y. y/ }& r* I
% _0 V6 |' k' I3 O" v8 R
# The default is "off". For DHT to work, a session directory must be defined.
8 }( V$ L: k) C6 u! {8 g; P; v

! ], H) M3 X$ i$ V$ D" i: j$ B## u; `( R! d6 y, \0 b1 E
" e+ v5 `; V1 k1 _! P" `4 K
# dht = auto$ Y8 l- M0 a  q
# }6 L5 v5 l4 Y; D2 K
6 J$ _$ s/ W9 D3 b
use_udp_trackers=yes(???)! K. \" \! ?$ w0 J6 q# X
encoding_list=UTF-8(设置中文)1 P( z& O) T6 L7 r+ S9 b) E6 V( }
umask=0000(设置权限): p# @- N( J% A- e
dht=on(设置监听on
2 Z! ^8 N: K) z- _  b: h7 y4 A2 ldht_port=6778(监听端口)
. J7 r# P7 Y9 ipeer_exchange=yes(种子交换)
" u* g" p4 S+ t/ r" V2 w0 U#scgi_port = :50000 k! B/ v( o# K* W# E' d& Z6 c" s
& j5 s5 W/ U, m/ L! |# s& v" O& O8 U
# UDP port to use for DHT.) `" Q3 T  S$ z, E

" N+ D* c2 {1 m( K
& |, N; ?! D) R1 I7 ]- ^/ W
#. n1 u- [, Y% V
( o+ C" U' M& T+ a- z
# dht_port = 6881" h) O; F- m, ^% J) s0 z
# V9 v. i# r) z# q. u# r

) N7 s9 Q$ J# A+ \" G% \6 F2 L5 N+ Y0 W* R6 A. e0 F/ W
! F* G: }/ v- K4 P
# Enable peer exchange (for torrents not marked private)
$ l+ Z' T5 {7 ~* r) I4 p
( l$ E2 c& o8 w" k' z0 v8 b
#
" F9 Z# Z( {4 ]& ^: l0 s
; H6 {, c1 e$ |& ^
# peer_exchange = yes+ o& S6 N' \* j- |/ @& G' P) C( \

, f% x: t1 X( q, z4 R5 F; n- P5 D  C/ e

& w+ v* L% Y& t                                                                                    
+ S: c! m% ]" b( l#/ e/ ?2 M5 b& F; N. k3 `

, ?( V9 Q3 G! g; g# Do not modify the following parameters unless you know what you're doing./ A' A: \8 r9 x6 k
  G( i3 Q/ U& Q, j: N

; e* B6 Z8 U! J9 a#
3 n, |# a7 ]% h4 m
; p* |$ S8 ^2 ]4 ~% K3 D2 V8 N
scgi_port = 127.0.0.1:5000
4 Z0 I$ i1 h, w" C
(设置GUI

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:16:30 | 显示全部楼层
/opt/etc/init.d/S99local
  ?" A# @2 R. N. q 5 K( X, m1 s; @  D
#!/bin/sh
' }; u/ D( o7 F; Z/ B' {

! Z' |3 i6 I" W8 a3 b% z7 r4 a. z% \9 k  k

7 z' _$ E( K8 t1 Y3 b2 [

$ x8 f3 Q  S0 [4 ~) {! B4 Hexport PATH=/opt/bin:/opt/sbin:${PATH}; k9 a4 E* F8 T1 n; Y9 ?

+ }. W( h& N( f+ @, K3 ~. kexport LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}: o1 [  d6 X/ W4 U4 Y* l3 w

; b/ u& Z3 N/ d
$ l" Y3 n& i4 t5 n; h' Q9 n
export HOME=/opt/root
5 ]5 ]  c2 A+ r0 P
+ l2 B+ K2 n* {4 w
export LC_ALL=zh_CN.UTF-8
. U- H% j) X( b: ?( M7 D/ m' E3 b5 D+ `

& F6 D  m/ G* }" [$ futelnetd -p 2323 &" s) e! N2 S# D: h; ^2 u3 r

* O  U0 v; n5 V: t' W/opt/bin/screen -d -m /opt/bin/rtorrent -n -o import=/opt/root/.rtorrent.rc6 B) N, ?; k  a# [9 ~4 F5 n

  q  e) ^3 G! w! e) v( q% xvsftpd( H* p- M( x" _2 h/ ~% N
(必须放在最后一行)  ]0 S4 G& K+ `4 M8 U+ z

" s* N  u8 x' J: S. k; i$ E: L
( S: A2 w/ z4 z3 l$ O
回复

使用道具 举报

发表于 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-6-28 13:42

Powered by Discuz! X3.5 Licensed

© 2001-2026 Discuz! Team.

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