找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1012|回复: 9

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

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

本帖子中包含更多资源

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

×
回复

使用道具 举报

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

使用道具 举报

 楼主| 发表于 2008-4-28 05:13:31 | 显示全部楼层
留点备用查询2 ?/ l0 _+ u5 o; u
1 b0 O  t4 p# W( H" V& f9 C
一、硬盘重新写0
, O4 u! e2 W5 o/ P5 q1、如果MSS正常,则执行3 j# q0 O6 `2 l
dd if=/dev/zero of=/dev/ide/host2/bus0/target0/lun0/disc;
+ |' {1 ?+ H* p0 W( ^, n0 \2、如果硬盘刚启用,则插盘清除分区后,用winhex0" P% Q! U3 b# M, N
二、改本地连接
  C/ K' `5 i0 P- s+ L3 ]" zip 192.168.1.2 网关192.168.1.1' C: L( w6 X- A( m2 T- C" D- h
三、执行nasload.exe
1 [$ H# ?( M( ]5 A  @& q9 @& D# ?7 e" e4 W/ d7 q2 a
用户名admin,密码空
3 m" h# g6 @- F  J) F/ ^% M四、设置机器名称,用户组名称,IP# M/ G4 f# ]& {, ~7 w1 @
五、刷新2.6.5
+ n1 d' ~8 R  Q+ P六、建立一个down文件夹2 s: @* ^1 h2 Z$ z, Z$ @
七、telnet 192.168.0.88
) u& V. E' @" k2 s% \ipkg update$ T  ~9 o2 J8 ^, F" a8 o
ipkg list
4 N% x7 p, v- O! R1 Z: r: cipkg install dropbear6 S5 [1 G% O5 Z6 @
ipkg install busybox% l" }! u+ e: L, ]
修改root 密码. o2 I  z, ]# R: a( o; }' w$ L
/opt/bin/passwd root( X" T5 `+ |+ M3 t7 Z; a  `
1 m8 e& z- ~; L) w& D8 K
八、使用  进入
" j5 M2 e: i0 Ecp /opt/bin/busybox /opt/
3 K. q. W8 R. Z# b9 Q5 e6 y% N(将busybox/opt/bin文件中复制到/opt/
3 {  y, S; E0 k : l# k. V0 [3 y
安装oleg
) O' c8 d2 X5 S(1).将下载的opt.tar.gz放在mss的共享目录中(通过网上邻居进入,放在Public文件中)
3 G1 b8 l7 q0 w9 a5 D  z# N  s3 q0 K(2).在根目录下执行/opt/bin/busybox tar zxvf /shares/mss-hdd/Public/opt.tar.gz8 F# P- A5 |, a' `( H0 E
(3).执行下面两条命令2 I3 C& a) H8 P9 n! I
export PATH=/opt/bin:${PATH}
& k, F, p) D, q1 ?4 ?0 o, wexport LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}
4 n* n, [/ ]( d7 [2 R4)将busybox恢复到/opt/bin目录下
% Y+ D, d1 [& K) B& y8 ]* c1 vcp /opt/busybox /opt/bin/
" B8 z, B# X& }+ z6 d* }
# n- ]& p8 G( u+ q: Z1 N. K$ ?9 z九、5. 安装和配置rtorrent(bt客户端)
/ Q7 O( ^& Y7 ^; p& d1)安装
0 }# l8 |" F" n, _3 o& m! iipkg update, e& s6 u( V& p% f2 H, Z! _
ipkg install rtorrent
- y: t+ _( f2 ~  F7 f2 p% o# S; K3 ~  W4 W4 A

  w0 |. l* a3 p2 l+ P$ G+ q& j2)设置' L( p% d5 o& H  ^9 ~3 N
3
+ Q$ `6 }. _. vmkdir /opt/root
' L+ E$ h( x( m( E& S" Jcp /opt/etc/rtorrent.conf /opt/root/.rtorrent.rc) m: ~) X! |0 _3 m1 o2 y$ {, G
export HOME=/opt/root' q; N' u8 Q6 y% b) m! J
rtorrent
. y5 }8 V( Y( z" N+ ^$ b. w! h看是否成功
; P, F9 ^) L5 \+ {2 l9 e2 X/ _. O1 E- y4 C" D4 G! K
ipkg install screen
+ i# D  h8 s7 j2 X! x" P$ z' Z8 i! g7 m: G+ p

4 ]( R, p) e) c" Xscreen% V2 d# @; M* X0 p+ q" Q  E
然后回车
( i) [$ W( ?) r' l. |rtorrent' C# t% i8 L* Q4 g. O! [
ctrl+a然后+d,隐藏界面
% A7 v; F" o% u十、安装配置vsftpd(FTP服务器)3 n& \: G# B0 ?4 g& }$ g
ipkg install vsftpd
2 h( w, x: o' k$ P  P& j3 i* {# k2 f& [) h  O
/opt/bin/passwd 用户名9 Z0 f5 R2 {" L6 ^
修改用户名登录目录
: U! k0 ~7 n: z3 e, avi /etc/passwd
0 H; \  \+ X* B7 B1 ?4 s& c8 Z
6 [, {0 W: U7 [添加可以登录FTP服务器的用户名4 m  r9 f% V0 {+ l1 z! l
vi /opt/etc/vsftpd.user_list
6 y; q  J$ r2 U/ X  ^添加要登录FTP的用户名称2 }8 l2 h. v5 @* b1 y2 ~: X
配置FTP服务4 c" {2 k6 o) M! R
vi /opt/etc/vsftpd.conf* l' m' u2 Y; V& b  C1 x! i
在最后加上一行:+ p! N. d! h" f0 H/ E( P+ Z
! C; o) l& y$ x4 S  B' p

' s% n* @9 ^( N/ f' l( w) z1 e/opt/etc中建立文件
/ |% L% q( E0 m" J; zmkdir vsftpd_user_config
9 q8 h& |/ ~' S+ [1 D9 o$ o进入该目录' M) l' l+ M9 o3 S4 Q0 j
cd vsftpd_user_config  c9 A. n6 T0 p3 J3 K% ~) T
建立两个和用户名相同的文件
( G$ `) j4 I) d/ I. E. Pvi 用户名
6 B  ~2 b+ {: Y5 ~8 D0 m: T( U/ h在只读权限用户里面添加
9 [9 B8 [7 K6 ~+ S1 Z( ?3 p2 M) o; ?' c+ M+ g* g) ]# V% I' p
重新启动硬盘盒' W6 x- m& |! \. K0 L3 V  i

3 r" I! ]* k4 F; K4 ^0 a( c十一、设置动态dns
2 K. W# Y! r+ }ipkg update
: R$ ]8 C$ }" Z% K8 U/ qipkg install inadyn7 d, o, l  b$ f" F' E
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 7 N2 N2 {. `- c( S3 h2 ?6 B
& J* C- P4 S# r3 M) D3 @3 F: m$ I9 p  ]
十二、电驴( }. y0 l, Y; j, Z5 b7 o+ F: n
mlnet.rar内的optlib.tar.gz放到MSSPublic目录里. g# Z! d6 G+ @/ g
/opt/bin/tar zxvf /shares/mss-hdd/Public/optlib.tar.gz. M. X" z4 P( }7 K4 M  @# X2 M
cp /shares/mss-hdd/Public/mlnet.lite /opt/bin
: V  u4 \, Q! Dchmod +x /opt/bin/mlnet.lite# u: R- b  [/ N: ^/ ]0 ?
vi /opt/etc/init.d/mlnet
& a) }6 Q$ i3 A+ F4 T. z. m#!/bin/sh
  @7 y' x) F& Q4 m7 `6 F7 xif [ -n "`pidof mlnet.lite`" ]; then
0 t6 j2 O. f# s
1 h8 k! Q) c) [+ j1 becho "Kill old program..."
9 ~0 F# m8 {0 [6 l7 F

. d! Q$ o1 ~# c3 y6 H* h/ t; u' hkillall mlnet.lite&
+ t% A2 ~/ _/ v2 \

# t: z7 h, Z" O# A7 bsleep 10
% M' e9 G1 _( I) \" L# L
fi- p) l8 x" b8 D, R/ j& r5 P. y
export HOME=/opt/root5 \. B7 y! j" y  E( R
export LC_ALL=zh_CN.UTF-8
* L$ O. y- Q: e/ j- B" m- r5 Erm /opt/root/.mldonkey/*.tmp 2>/dev/null
! k- G: y) R+ z$ Srm /opt/root/.mldonkey/mlnet.log 2>/dev/null2 }" j" k5 E4 L' L7 H
rm /opt/root/.mldonkey/*.pid 2>/dev/null
* @; b! O6 [2 Q. i, r+ S' ~  m/opt/bin/mlnet.lite&7 Y8 B' A0 F5 R+ }% A

7 m% ^# L) ^( B7 ^9 F+ Ochmod +x /opt/etc/init.d/mlnet
3 q2 g# f7 k- X5 y
# @4 W7 M  V( Z% ~! P4 w执行/opt/etc/init.d/mlnet# |. V, L! a) I' {: g- F# U
命令killall mlnet.lite* ]  J: W7 P8 I& I, Z0 \2 k
3 m# I  g/ R# I3 A' |  k
解压缩以后得到servers.inidownloads.ini Winscp扔到/opt/root/.mldonkey下面覆盖源文件7 B, C- C3 x. b$ k5 b

) d& ]/ H( k- l6 \: U! ^6 t" dvi /opt/root/.mldonkey
7 O# X, w; G/ M: K: E5 X, X修改356408& B) n& E+ K" N# a4 b/ P$ K
temp_directory = temp
5 h8 q2 T- v& \; k+ P8 \记得加""双引号如 temp_directory = "/shares/mss-hdd/Public/mlnet/temp"9 R! o, f: Q" E- e' Z5 Y. B0 M
修改第408 dirname = "incoming/files"
9 f7 j! Y0 Q" k' Q3 b% p3 y7 a: @/ H dirname = "/shares/mss-hdd/Public/mlnet/files"- [* ?& P5 f% q8 ^
运行/opt/etc/init.d/mlnet) t+ z4 G6 _: o5 ^( ~' h" `: S

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:15:16 | 显示全部楼层
我的MSS-BT的CONF.doc
4 X" \9 D8 Z) J" u0 O( R" g2 U- d. i' i  ^; j6 W9 K3 p
/opt/etc/rtorrent.conf
( i, ?6 H6 U+ p8 E+ |. ~/opt/root/.rtorrent.rc( h' V! A5 O$ H
: r! t1 q' q8 B5 T7 L( W) P9 J
# This is an example resource file for rTorrent. Copy to( c" ~* s2 `- u/ u
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to) j7 O$ ~& K# B" x
# uncomment the options you wish to enable.% @# F2 L, G0 e2 I+ q

8 i* J/ M9 O0 W5 u# Minumum amount of peers to connect per torrent, if available.(最小种子)6 X! H0 S, L4 s* V
min_peers = 40
+ o- K4 ^* I+ W# W7 u; g
: m3 J4 Z+ n; R7 @- i# Minumum amount of peers to connect per torrent.(最大种子)
. }# ~! n/ k/ I1 R) @max_peers = 250
9 Z' t5 D, ]8 Q# s/ i : \( }. |' d$ h7 N  @. Z) G" a+ ^
# Same as above but for seeding completed torrents (-1 = same as downloading)& C# P; ^2 K) H7 i$ X
#min_peers_seed = 10
8 k% T6 w: D1 v) Y- f#max_peers_seed = 50$ `- M5 z& t  e% _% \* R) ^8 y

: l0 S9 @7 G: U1 @/ ]9 K& X# Maximum number of simultanious uploads per torrent.(最大上传种子)* f3 b" o+ j0 ~9 |- v
max_uploads = 15- l3 K! J# L9 L1 K

+ C. t5 y9 b0 V# Global download rate in KiB. "0" for unlimited.(下载速率)
- I5 n9 b( q, V* `% L( C% V$ Bdownload_rate = 200
+ e) k% I( A" ]; j# z/ Q' d2 y ! r' {, P: v2 ~1 r6 k& t# }
# Global upload rate in KiB. "0" for unlimited.(上传速率)- q  c0 q" x2 x5 b6 ?' Y
upload_rate = 30) Q& |( c. H8 Y3 M) e- _  A' Y
9 C3 P' n  Z' l( ?
# Default directory to save downloaded files. Note it doesn't support
0 Y/ y3 M5 |5 ~0 o/ K4 x# space yet.
/ @0 t. y3 D  V* i6 f* i: edirectory = /shares/mss-hdd/down
5 ]3 ~4 g+ l7 a+ j ' o/ ?, j. z9 Y9 E3 S
# Watch a directory for new torrents, and stop those that have been deleted.# [' K, z* v  ^5 e. k9 U2 K% N

0 J6 Q9 m, d2 a. z  Bschedule = untied_directory,5,5,stop_untied=
6 f2 f/ u5 t1 ?7 Y
9 V) S6 f. C% f$ @# Close torrents when diskspace is low." a; `/ e& E9 I8 e$ n8 T0 Y% U
#schedule = low_diskspace,5,60,close_low_diskspace=100M! {( a6 w: ~  X% F# F
/ }/ ^) W6 M) l! c. a
# Default session directory. Make sure you don't run multiple instance6 x, a1 W5 r: Y1 a+ Y
# of rtorrent using the same session directory. Perhaps using a
, A( ?" g7 J, g1 c# relative path?6 v$ p2 r5 W8 w, g
session = /shares/mss-hdd/down/session
; S. W, v! L; V5 zschedule = watch_directory,5,5,load_start=/shares/mss-hdd/down/torrent/*.torrent( D+ [2 r1 Z9 q3 {% h

. k3 x: O/ _/ t( b& f8 B# The ip address reported to the tracker.) k2 ~& @2 m+ [$ P

* ]1 N4 `8 q) J- t% T- B' {#ip = rakshasa
* {' T8 w3 o: _8 ~4 T$ F

) F, _: x" R$ e4 R/ Y6 a3 E2 Z5 v
& b2 A: E* I. X
6 ~* g6 Q/ W# |0 m$ B+ _
7 j% _8 g9 }* j2 |4 O
# The ip address the listening socket and outgoing connections is/ G& s8 I: V+ N: V! I9 W

; e0 P3 c6 L5 W6 M# bound to.0 t5 ?) n: X8 B, j; M3 L5 l# x: P

9 N' m% Z# `/ O0 y/ B#bind = rakshasa7 W; G9 L- m* ]& d- |) _, U6 u; v
# H: i% E9 G, v( _

8 Y/ Z) u) K! B5 |% I9 W5 X                                                                                3 z8 o) ]4 U# |/ M$ M
# Port range to use for listening.
9 x( V0 d* v, D- P- N
) |# x6 Q; N8 Q$ ~( ?  h
port_range = 51777-517805 e# m* k4 `0 Y4 `' Z
9 ]2 B4 J/ r) \$ G+ ]9 O' n5 ~
: `% w8 ^- k- E# X
6 |& h+ L; U. p8 m6 |' F
- E$ E3 h; \; b; K/ d8 q
# Start opening ports at a random position within the port range.8 K& |  c* y5 @" b1 L* y& x  @
; O/ l9 J  B' c
#port_random = no
1 \% G# i. x! a  B% P
+ W. b. \# Z- ?; X- m9 g+ J

% [4 @/ w0 d; `- ]7 U" ?" v- f- k3 m
2 l6 _0 H, X: B, |) G# Y# j& Z
# Check hash for finished torrents. Might be usefull until the bug is" U' P$ ]# U( g- X

( o% B# k. E; @$ i% m# fixed that causes lack of diskspace not to be properly reported.
9 f& l8 n) t1 g" i

. P2 P1 {$ {) l6 F6 P8 E8 c#check_hash = no/ b7 `: j8 ?, @! ?2 I

" }7 k( l; ?# {* S6 ?
0 g$ z; Q8 A0 c; @8 j6 V  I6 g  A
                                                                                $ l$ u4 b/ K- H" c
# Set whetever the client should try to connect to UDP trackers.- q9 v% p, p1 y1 g  k
, U% u7 ^1 E( h
#use_udp_trackers = yes1 l" r8 ~  J; a% c' ^% C' D$ |
1 X8 Z- b7 e, m- ]2 n- E/ A
% E0 z% A# e" L! m
                                                                      . i% _% v" y7 y# K5 ]$ U" ~; N1 j
# Alternative calls to bind and ip that should handle dynamic ip's.5 Y6 t# T( a) o& S& ^: z

3 F/ T8 S1 b8 o* g#schedule = ip_tick,0,1800,ip=rakshasa9 s( E$ {/ ~; @; T$ Y9 d; h$ F2 \
3 A# d) _2 m& a5 d# O6 Q" r0 W
#schedule = bind_tick,0,1800,bind=rakshasa. P0 E, s, L5 }, I2 b) i
5 s: [1 Z, C# n8 b2 ]
                                                                                
& g& a, X3 E# W; U8 ?#" t6 _" a! v; ^* f3 o" C/ V% v

3 I3 ~0 O. S6 b; R( H# Do not modify the following parameters unless you know what you're doing.
# t7 J. a( u/ y% O% c

4 u9 U: X3 A: V6 F. i; P#5 z4 E2 N, D! Q6 _, x/ C$ g0 ?
$ M! G2 Q% Z3 B! ~  }7 k2 r
                                                                           
! n* Y7 g/ q  M# Hash read-ahead controls how many MB to request the kernel to read
, l( {+ w5 ]% s  B

9 p6 M. ~. I- x# ahead. If the value is too low the disk may not be fully utilized,
" C9 ~0 O+ S) V/ o) `# f; [
3 O0 V8 ]+ \1 J( E5 q- W
# while if too high the kernel might not be able to keep the read
5 D/ N: t; L- `

1 @8 S3 D4 \9 T+ r5 a. ^# pages in memory thus end up trashing.
% f$ e7 [5 c9 F! I1 r8 V1 O
8 p$ A  n0 s2 U# P
#hash_read_ahead = 10
# M# n' H5 ]4 B6 C/ \  f3 a- P
. ?6 @" A* p9 z; g0 B
                                                                                
+ g, L4 U# ^9 j6 A2 D# Interval between attempts to check the hash, in milliseconds.* ?9 F* l# r! S/ Y! s) z! r/ f4 P9 r3 B
) i8 L" T6 W# j; j4 t3 h
#hash_interval = 100
  J" Z3 f. N7 v5 Z# u
+ O0 q1 a9 @, b/ b7 A6 W
                                                                                
) L  s/ }' c+ L6 n3 o: O: w! n# Number of attempts to check the hash while using the mincore status,8 U- [! a# C5 [' b3 u1 o# u. o

, R5 {% u+ @/ j& E+ k( U# before forcing. Overworked systems might need lower values to get a' h2 ]9 @/ G" B0 J; N; o- ^

+ J1 X' U) c0 \8 C4 B& [% _8 p# decent hash checking rate.
& p* @) l9 K# B; @6 N6 _

0 F6 M+ {! F2 F! G" R" i#hash_max_tries = 10  d* |: Q5 A. r! d4 |( ?# Z* V! n

, I, }1 |+ L2 `& O! w
- d2 l2 }' z: Q! V3 J+ X) w+ O# y

- [4 a+ ^& n5 g7 y( x; {* M+ q; v# Max number of files to keep open simultaniously.
7 }& L+ ^/ U4 Q/ A& x/ |, K  }9 R" x, M# J

, ~+ j+ x) G  ^0 N#max_open_files = 128( `( w2 t6 l1 d# P

. p3 Z+ S8 S* A9 s5 _; Y
# Q4 ^0 M/ k) l' c, H% a
4 Z  G9 H* n( y# u7 M2 R5 r, n' l8 e3 ?

0 k0 z! f# ^6 \, ?; m- `( G9 E& W/ r# Number of sockets to simultaneously keep open.0 I3 X; c" A+ O! u

0 F+ E, N0 ]3 o7 d* B5 y! _5 S#max_open_sockets = <no default>
3 c  {* L4 q1 U) z; L
. h3 E  |9 J" s$ e- Q# w: s& d
                                                                                , |" \7 A4 Q( N# e; t

$ N. q: d/ [3 K+ E5 p% d2 C' }- U& Z1 r8 o
5 [3 j- S1 u5 |8 `& J
# Example of scheduling commands: Switch between two ip's every 55 c& s8 _) V$ I7 @3 F0 }& e

- e. W& C/ k9 B9 j, m# seconds.7 t% ~1 s" Q8 E5 ~0 J1 ]

1 M0 |4 e$ ~1 Y) ^5 h0 k% @#schedule = "ip_tick1,5,10,ip=torretta"
8 x; p3 e# ?* x# Q8 A# W' n. j

8 b$ u- M' r# F+ V* n/ J8 }#schedule = "ip_tick2,10,10,ip=lampedusa"
' U" m1 K5 Q2 }8 b! d7 O

) H/ }" D! [1 h' ?; x( R- i                                                                                : l# }3 A% s' T; I
# Remove a scheduled event.. v/ c) I  O: c. E3 `6 q7 a
& m& L6 r: @% \7 P" _4 |* z$ A

8 S3 J' T5 L6 w#schedule_remove = "ip_tick1"4 s  ^+ Z, n. Z+ g( q# O; I

. H/ s0 C# M5 n; _) {3 {& A$ U                                                                                
5 N6 u5 u2 {5 ~% O$ M# D1 U) Y# Stop torrents when reaching upload ratio in percent,2 _( }+ K2 o5 q3 Y

' g: O! `6 M: r! Z5 L8 \* H
& `. o2 ?4 t  [( I3 o$ U( z' I
# when also reaching total upload in bytes, or when
# @3 h: L# R1 L# M

  |4 y; p% T& c0 n' e# reaching final upload ratio in percent.& q2 v" A' s6 `8 z% j; K: @+ F& ]

; ]  E9 ?1 o" @1 Z) \8 U8 X# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
; Z9 H! K& v* [1 [

5 K( `! \' D& b#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"' t; J& @1 X8 X. h4 D- ~1 a
4 n# f9 d' P, ]* M" d; y
schedule = ratio,30,60,stop_on_ratio=200
  H1 _" k! F9 p- I9 K: E3 E

1 z4 ~0 ]% D% L3 R8 u6 T8 k  ]9 D                                                                                / t! g) q9 X, a. n* ]  \  ]
3 I5 V9 `, E- W$ F$ H
  J/ K% Z) }5 n4 o# _/ R& p
5 m( i( ^* m" @, j( m5 q
# Encryption options, set to none (default) or any combination of the following:
% J9 n3 W: H9 q; @- M

5 R( t/ H6 s9 O% o# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
% a$ D6 S( I5 A! @#, L2 s# F+ r( _6 M( X* F+ N" r

# I8 ]8 I7 y3 p+ T: w

+ e; k( }$ k2 j" y' k9 t' V# The example value allows incoming encrypted connections, starts unencrypted: Q; n( L, D0 o& h! e

8 A& R, P( N: ?# outgoing connections but retries with encryption if they fail, preferring- ?- I; U# |; r

4 ]$ B0 G$ u6 m9 N. |# plaintext to RC4 encryption after the encrypted handshake
: q! X; A( S  Q* V2 |. S" ~

/ I" {7 _0 M9 g1 u. h% b) H#
0 V3 v# p" H" l  W
2 o  W9 J6 O* f$ a
# encryption = allow_incoming,enable_retry,prefer_plaintext* q4 w9 h% y! ^  J7 P7 c

) \  K  e' M& V% s" r0 p1 N1 @" ?7 a5 d- ?; k

5 H5 p, `: f( G
4 Q" Z# G7 P! ^/ M% R6 H
# Enable DHT support for trackerless torrents or when all trackers are down.: v. Q  F. w  r. v5 J$ u) Z% s* I
' {  b# ~2 e& Q- a: n! V" H
# May be set to "disable" (completely disable DHT), "off" (do not start DHT),
& |  S/ L$ I2 B" _% Q

; g0 z7 R+ a- E4 F# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
7 Q: q& N& m. H
# ?, H8 y0 g. J
# decent hash checking rate.
# `% ?% ?3 Z9 o- ]7 G1 M

4 @7 J6 U2 M3 u, p. T) y' ^#hash_max_tries = 107 C8 ^# _5 e( h
4 V+ r( V3 G' G5 i( ?  W! T& l" W

4 B% D0 ?! N* k# _9 Q; q' P4 [6 E% u8 p  \
2 k$ r: Q  @3 j9 B; A( v4 U" |
# Max number of files to keep open simultaniously.
7 x8 V% Q: w- Q0 {4 o

: ]- P: o6 {8 m5 j% C#max_open_files = 128' p- W+ R. v. w6 O+ t

7 i9 a% I# @6 _& c4 Y! s
7 A2 C" d+ S1 c# ]2 a
% X/ ~# m5 P1 y! P; E

3 R! j* y5 P( a+ v2 a# Number of sockets to simultaneously keep open.( z, \3 E* z( D; H

: f  l! m! N9 e#max_open_sockets = <no default>
% O7 |* Q/ m+ c2 U& I# u+ C
! v6 B6 S1 b9 Q0 x* t
" k# D; o: B( y, U: S4 n
& J% k+ Z3 l- O. r) C
2 f  i5 {# n$ T4 T8 \9 h
                                                                             
3 b* X3 E' g2 A5 `% ]. X! `# Example of scheduling commands: Switch between two ip's every 5
8 e1 k/ K; |- D( O7 q
# C9 b7 }  z' ^, M* x% r: U
# seconds.
$ L% J7 F1 z( m1 @: S' [' S1 ]& T! v
/ [1 b8 s0 j# _6 |
#schedule = "ip_tick1,5,10,ip=torretta"
, |5 s  q3 W. }

0 u: v5 B( a9 c7 r$ d#schedule = "ip_tick2,10,10,ip=lampedusa". W( W7 s& h4 @% b4 L: f7 Q+ P
* }7 ]7 f" d1 {+ r; U9 o
                                                                                5 @0 t. O9 d. O4 N/ F! t4 B7 B2 g
# Remove a scheduled event.
( r$ X3 P. S/ y- ?1 e2 d4 V. |9 G3 b5 s

! S- j5 P5 ^8 h/ c( P& b  N% q#schedule_remove = "ip_tick1"
! b; R  l- D" w5 s# M, _5 i, u& i; m
5 N- x! ?  ~- P
                                                                                  D# S6 n  {) }1 I
# Stop torrents when reaching upload ratio in percent,
5 k! Q& v; V& s/ G0 L, }  T* d: e/ r

, t0 s# c1 ^$ L# when also reaching total upload in bytes, or when- J5 F! y2 i" d- X( q9 K$ A

7 u. B$ [/ D' p3 \# S; f* c7 X8 V# reaching final upload ratio in percent.; u# L, D4 X0 q0 n, Y; l

: l! ]% k# y# f! i3 i# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
0 P! K9 Q+ L+ ]: Y! s0 P* E; R8 }; D

  g* B$ l) X- l% ^: Y- p- r0 f2 C#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"2 d* l: O! D& Y. n/ j! W6 P6 P

& A; u" n4 G- jschedule = ratio,30,60,stop_on_ratio=200! K. ?( C" a) Z$ \( L
  J* C& ~/ I8 w5 Q9 Z/ Z  o( H
                                                                                " R! {- {4 A3 n9 Y: A; ]! ]* d

3 U! r# |+ h; W4 h% J* y( Y+ [1 j2 z! O; Z5 J; o( D1 }: W
7 _% O# O; I. \& u( b  ]$ z3 \$ ?: ?
# Encryption options, set to none (default) or any combination of the following:
9 P4 R2 n2 T3 m& i% I; L; H* m" t$ X
0 D' n0 M7 ?3 ^, M7 r' ?
# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext" f) o; A9 K3 f0 v8 W
#5 k. i% o1 A; h

1 W/ z$ G% H5 c7 W: @% q: m

2 B/ t, Q* g  Z5 W/ F# The example value allows incoming encrypted connections, starts unencrypted
, @1 h" Y: M) r6 k) y# \
: o* M" h2 p; D  n9 |
# outgoing connections but retries with encryption if they fail, preferring
" f0 `+ w" G! T4 B$ x$ E3 W3 s

: B& W1 p2 c# L0 m% i. \# plaintext to RC4 encryption after the encrypted handshake4 \( k: w! E  w" L. t. S+ ^/ g

: g0 A' ]  t3 \8 h#
+ Y- Z0 G4 O- q

; w% W/ P) M/ t6 v# encryption = allow_incoming,enable_retry,prefer_plaintext6 {1 J  h% J. e1 J; H# B

; L& o5 w2 d) I2 _, Q+ W$ U- H- L
( M: {% J) Y/ v( a% M8 p

& C+ o' q% Q- g, U# Enable DHT support for trackerless torrents or when all trackers are down.. y; `( Y: y$ E
2 J4 v1 w+ {3 C6 x, w" n
# May be set to "disable" (completely disable DHT), "off" (do not start DHT),
8 g+ C0 o, z- m, f1 m

6 Z" {) H! b0 r# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
  P, ^/ L- a3 C. d9 q3 v

+ g$ l! D% u% P8 \# F. g# The default is "off". For DHT to work, a session directory must be defined.
+ v; d3 z# G, y' x4 n3 q
7 _/ B" N( S: A4 K. w
#
# n& m; P* m* t. H. ]7 G: h
/ `% B! |. _9 h
# dht = auto
9 {+ m0 L. ?2 e. ?8 z2 B& M) ~& S

: }) o# {# u# s7 o4 Z8 u9 W9 @3 G3 ]use_udp_trackers=yes(???)
7 X6 s+ y- w# e3 o, }encoding_list=UTF-8(设置中文)4 C( c5 s5 W0 Z; t4 W! b4 r
umask=0000(设置权限)
2 m  r! `( d( o' b% Rdht=on(设置监听on0 ~# Q: ?" g0 {
dht_port=6778(监听端口)
2 ^1 l* y5 i0 c" v5 S2 ]" speer_exchange=yes(种子交换)
4 L0 w6 y& U" A; f& a! T  Y#scgi_port = :5000
8 i% ~/ o. F' w' O+ w- ]
5 Q2 ]( ^: ?' o( h; Z6 X
# UDP port to use for DHT.' l: `- R0 p5 m5 }9 w: w; F
9 u% U3 _# C" P! x3 L( A& P$ D
- \; {0 N7 {8 U2 R0 s. Q
#
; Z( q+ \' n  l+ [' y7 M
* X1 Z* q+ O; o$ c3 d
# dht_port = 6881
* Y& K7 h$ i( v3 a. \7 w/ s

8 A6 B1 ^$ G# K. L( ~; E' t
# j9 Y6 w# @/ J$ c' ]8 b- w0 R  n1 T" g# n( `

/ k, v& M9 V; m# k! d# Enable peer exchange (for torrents not marked private)  v9 J; L' b; d) [* v/ N# F3 ]2 C

. `% _$ u; G' @' @8 ?#
0 C/ X, D/ _# K" h- d$ ~7 ?; |

4 m! ~; ^4 k2 }: y# peer_exchange = yes
: R. ], a8 q2 u  ]% S" h8 {% |
0 w6 P" ?7 }9 W/ W
! d% a1 l  a( w. D/ u! n( e
                                                                                    
4 ~, R/ v: }1 }" F6 T* X#' g0 t+ ?, {- {9 _4 ]% X
/ |/ O! X# z2 j0 V6 ~8 |% v* f
# Do not modify the following parameters unless you know what you're doing.3 B8 Q1 T$ b  Q% |7 ^( p
+ B, [, W8 a* K" l* h$ l: |
- `6 t/ Q5 b% O9 L% V9 l& s
#6 H, A# I/ j2 W; \" \2 l; S/ r$ k' u
4 x2 f. v1 F  q" O8 y8 [
scgi_port = 127.0.0.1:50006 z8 ^' K5 U6 D  [
(设置GUI

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:16:30 | 显示全部楼层
/opt/etc/init.d/S99local
8 p( M3 {0 X0 j4 v2 s
$ i3 w- e+ n& B6 m+ V* e7 B#!/bin/sh' h2 D+ y5 ]; C- p2 c9 T
' |7 x2 ^. B: d- i* P5 [0 v
% {# T1 p( C# B' w# D: Q
: w# g6 a; E; [3 u; c

6 M3 P5 a2 }* W3 D, [. _export PATH=/opt/bin:/opt/sbin:${PATH}! `& E) j2 F. }! c' Q" ^

" F5 Y) \- Z* O$ [- U2 Dexport LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}
* k! G( S+ E) u% V" b- b) _& S, W) f6 a9 Z

6 A1 j, u+ M9 s; V% Dexport HOME=/opt/root% x) Y* i! k  |$ z+ h, I- ~/ V2 u

6 w* M& ?( j8 C8 r5 R6 P) {export LC_ALL=zh_CN.UTF-8+ L+ t" N7 S) {: h$ I! \

" n% m4 l; r) ]( `  h7 s. }+ Q8 ^
5 z5 k4 F$ I7 Q& l0 i! {
utelnetd -p 2323 &
. ~2 z, o  a9 R1 {+ G

( u; F9 l' c2 s" q* I' c/opt/bin/screen -d -m /opt/bin/rtorrent -n -o import=/opt/root/.rtorrent.rc
5 Q# r5 B! W+ ?) o5 k" S% y
5 q" p' g% \* P/ Q7 g8 C, G6 q
vsftpd8 x$ T  m6 F9 h8 ]% I  f6 ?
(必须放在最后一行)
# p" v& z+ U  @# ~7 f7 d  E
, }" u2 T8 s# j; J
( V  }* y+ ~: {0 O& M9 ^
回复

使用道具 举报

发表于 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-3-12 02:20

Powered by Discuz! X3.5 Licensed

© 2001-2026 Discuz! Team.

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