找回密码
 注册

QQ登录

只需一步,快速开始

查看: 905|回复: 9

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

[复制链接]
发表于 2008-4-28 05:11:14 | 显示全部楼层 |阅读模式
功能强大的离谱,正在研究,该机可以实现BT下载(任意大小,支持中英文),FTP下载(暂时不知道如何设置权限),电驴下载(只能一个一个输入,且单文件无法超过4G,),花生壳,无论你在哪,都能找到自己家电脑;网上邻居,网络打印机(支持USB打印机,也就是每台机都能通过网络打印) " ?% I6 W6 T! y, b4 ^9 A) J非常小,非常省电,还有一个很好的优点:你开了BT+电驴,其他电脑上网和QQ都非常流畅,不像现在的BITCOMET、迅雷和EMULE,一开了就别想上网。 % ^+ H2 ^- L4 C3 a' O9 ~. t0 i+ x大小长25,宽15,高5CM左右,和一个3.5寸硬盘盒一样大小,接路由器和电源就能用。安装完毕后所有操作基于TELNET和网页。 R M& A! c: N5 T: V 还能构建HTTP和SQL论坛,这项我还没头绪。& s# t0 Z* F- |& p0 o7 z+ h0 a+ ` 上个图。2 O- a/ s3 f# c D9 ]' ]$ v" n: L$ s. Q5 [

本帖子中包含更多资源

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

×
回复

使用道具 举报

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

使用道具 举报

 楼主| 发表于 2008-4-28 05:13:31 | 显示全部楼层
留点备用查询
9 u" T) `0 p+ Y$ X3 x; O+ ~: _
) X$ ]  M" T, F$ c一、硬盘重新写0
  g% @& c% E( I' R1、如果MSS正常,则执行, y/ \6 u: O; N( e: `
dd if=/dev/zero of=/dev/ide/host2/bus0/target0/lun0/disc; ' y0 `1 |. ^+ X1 M4 f
2、如果硬盘刚启用,则插盘清除分区后,用winhex06 B2 G& t) e, l) h
二、改本地连接
! o. X# h' B# Z* b# y6 r: u2 Jip 192.168.1.2 网关192.168.1.1
: Q8 W6 y1 F- \% I+ [5 W6 J三、执行nasload.exe$ \; e1 |! }$ k9 c0 z7 m/ b

7 m; K, A# k& t) }用户名admin,密码空8 G" F1 N" A# {- F& Z  a
四、设置机器名称,用户组名称,IP& J2 p1 ~; k  S$ A
五、刷新2.6.5
' [$ I/ g6 J; G' T六、建立一个down文件夹  |4 L( Y; P$ ?( i) z' S
七、telnet 192.168.0.882 b5 t& V% f9 [) u* @' S' J
ipkg update
2 a) e) p$ G5 ?, s4 F5 ?ipkg list, m5 N6 [" X: I3 i" |
ipkg install dropbear
, p/ T. X: U) g8 yipkg install busybox1 \% m% J1 r1 ]# r# w, Z
修改root 密码6 a/ d& ]) V( Q+ `7 F/ o, S6 U# u
/opt/bin/passwd root
; m3 Q9 b1 Q: f
" c3 |' B. X. z. G7 [, k. }八、使用  进入1 @" k) o3 I4 }  P. i$ ~
cp /opt/bin/busybox /opt/
. R+ w1 r: P1 \( O2 O8 E(将busybox/opt/bin文件中复制到/opt/" V& @; [& q! W4 e! E

: X( p9 V" j' g; R0 z1 N9 e安装oleg( h. L5 \/ N6 x' H
(1).将下载的opt.tar.gz放在mss的共享目录中(通过网上邻居进入,放在Public文件中)6 `' B; v% s8 J
(2).在根目录下执行/opt/bin/busybox tar zxvf /shares/mss-hdd/Public/opt.tar.gz
3 q1 R8 n% `. |  a+ I(3).执行下面两条命令/ a; p7 b, H0 G6 r8 P. z
export PATH=/opt/bin:${PATH}; X' U$ E, K8 P* _) y
export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}; W* j6 D  G3 F6 x3 ]* ^7 w
4)将busybox恢复到/opt/bin目录下
* ~/ I, P6 u% K% |* G  u  {cp /opt/busybox /opt/bin/1 e. T+ b/ K1 I5 B: `1 h% M9 ~
7 P3 ~+ o" P4 u" {' X
九、5. 安装和配置rtorrent(bt客户端)
7 z# F5 |" K% ]3 {1)安装
  X& P2 _2 ?" b0 w  ~ipkg update
: J8 J8 [1 c5 Q2 [ipkg install rtorrent
( p5 X) t1 B' N: g5 c
% {, T3 {$ T, k" f7 a% V8 c% `: h/ P' W' o# k+ i
2)设置. ^' m6 y$ r: _+ h$ s
3, Z' ^4 [" C6 r" @# r
mkdir /opt/root3 A$ r5 V* }. |! b
cp /opt/etc/rtorrent.conf /opt/root/.rtorrent.rc
3 |% q( J# \; G1 Bexport HOME=/opt/root8 k7 M4 j% t. f4 V9 r
rtorrent1 d/ l. C. z+ e7 N) ?" _" V
看是否成功- R/ E/ j$ h( \& j, a1 Z
: Z# d0 C' g5 K' R. q% `" W0 f
ipkg install screen
4 S/ t8 V2 y( g4 P$ B. f
) K% e, p: |; p % {9 N& L( S0 ~! T; [* j
screen9 @8 b- P/ n0 N% y5 e
然后回车
+ U3 V" d5 _0 @7 K4 G  F& Trtorrent' Z* N  E6 \4 m  y8 V
ctrl+a然后+d,隐藏界面
; K5 r$ u  A. ?( a. s十、安装配置vsftpd(FTP服务器)9 }/ h5 z; q! O* }+ q
ipkg install vsftpd( C+ X1 t& z' q7 O7 f

# V7 L1 i* L2 A/opt/bin/passwd 用户名5 t6 a* C) C) h
修改用户名登录目录
! i& y1 M! d- Z" [* s# yvi /etc/passwd
+ x1 F+ h! d- R! N" M+ O
/ I9 m# ~& Q3 _9 K: ?1 `添加可以登录FTP服务器的用户名
! j1 E6 ^3 s1 i3 U, o- zvi /opt/etc/vsftpd.user_list' H  w4 N; f+ Y' O$ P5 h
添加要登录FTP的用户名称: K8 o  `" Y3 }1 y1 Z, S( a
配置FTP服务
# y" l8 P# T! t8 C$ dvi /opt/etc/vsftpd.conf, Y4 S1 z8 L! g  u- v* }% P! h
在最后加上一行:( R5 Y1 B8 x0 o9 ]$ F% W

8 A. z6 s* y$ T0 S/ E
" p1 Y7 p& c$ g# M/ [* l, [% Q! `/opt/etc中建立文件
- Q% F7 I6 l3 t# K* }mkdir vsftpd_user_config
/ U! B4 l- `( G) u9 D; m$ n& q进入该目录
- r7 }8 g. \- {2 y) x1 lcd vsftpd_user_config9 m2 _# X  s) F8 F& H9 y- T
建立两个和用户名相同的文件
; C( J, z0 B1 Hvi 用户名2 \2 h' T5 T$ Z" R# v" p7 }. R
在只读权限用户里面添加3 f3 g$ G0 \! S4 H2 Q9 g: f% o

  ?0 z& a7 V, O  C5 L重新启动硬盘盒: H! o- W! p1 n! p

! J( e: `/ x6 R- T5 Y8 J十一、设置动态dns
' l  e7 i& H% U' |1 Kipkg update% |7 T' D, J0 q' N5 F
ipkg install inadyn
, \8 T! e0 ~4 Q9 F5 `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
* H8 I" ~+ U2 V" q; {
. k6 V7 [" C1 M  d十二、电驴5 t; ?, ^( R- w. y) h8 m
mlnet.rar内的optlib.tar.gz放到MSSPublic目录里+ M( Q& B- \" C2 M7 d
/opt/bin/tar zxvf /shares/mss-hdd/Public/optlib.tar.gz
' x2 {! S7 ]+ S* Vcp /shares/mss-hdd/Public/mlnet.lite /opt/bin9 O0 _; Z3 J1 d2 M; s: q3 x
chmod +x /opt/bin/mlnet.lite* E' I  B3 n- [8 ~- a$ _
vi /opt/etc/init.d/mlnet
6 H* M7 n$ r% P4 |#!/bin/sh( ^+ Y, V* E; c/ f
if [ -n "`pidof mlnet.lite`" ]; then2 }( Z( i/ [4 G" d0 p( T
6 V7 ?9 M3 q4 Z5 W* I
echo "Kill old program..."
5 [4 N7 ^1 U# v9 E9 V+ y
6 a* }' t$ E1 h4 p0 z
killall mlnet.lite&

' g  Q7 E% }4 h  |2 \9 l( m8 }# E1 g7 R$ a) R$ V% }8 p
sleep 10
! l4 c+ x- E9 D
fi
% F' t) \  P4 Fexport HOME=/opt/root
; b, S, G* f8 \* a* W3 r7 Yexport LC_ALL=zh_CN.UTF-8
& @' d$ E) W/ trm /opt/root/.mldonkey/*.tmp 2>/dev/null4 ~) @4 U, N5 J1 t, r" F
rm /opt/root/.mldonkey/mlnet.log 2>/dev/null8 J2 ^5 `) ?  S
rm /opt/root/.mldonkey/*.pid 2>/dev/null5 ~$ @2 P; k# _' }* Y. x2 \6 _
/opt/bin/mlnet.lite&
9 W! N- m8 d' J+ P3 c; |
2 _" ?# V; z7 Z0 A$ Dchmod +x /opt/etc/init.d/mlnet
5 a- f! H% ^. o/ @4 {$ U: l) z - U1 _# P- f6 x6 {1 n2 R
执行/opt/etc/init.d/mlnet
" {) W- U, T- v! r+ f+ u命令killall mlnet.lite
' w' v; N3 A4 B; y # i6 z+ g$ d; Q& A% n0 a
解压缩以后得到servers.inidownloads.ini Winscp扔到/opt/root/.mldonkey下面覆盖源文件9 E9 l, I2 e" ?- `0 x& c& K4 G( Z
' W; _5 u( H4 ]$ u
vi /opt/root/.mldonkey
/ \# R9 [' }& x修改356408
" A7 D. L$ V6 T4 Ttemp_directory = temp
, V! _  x4 `/ p* u- M* z" v记得加""双引号如 temp_directory = "/shares/mss-hdd/Public/mlnet/temp"
% S4 g- A/ o& L修改第408 dirname = "incoming/files"
6 v* ]+ b( w7 v- ?0 ^3 m# T dirname = "/shares/mss-hdd/Public/mlnet/files"
7 P6 A  {) m# E# D% j运行/opt/etc/init.d/mlnet
9 D# w$ L6 A) Y7 L% H) H1 B( V( |

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:15:16 | 显示全部楼层
我的MSS-BT的CONF.doc
3 b+ a9 n4 ^( G
) {$ E2 p1 a& q+ {/opt/etc/rtorrent.conf' f8 `" Q- ^3 P  Q
/opt/root/.rtorrent.rc, V% F+ V! S* F3 T/ z& Z' l

- H! G+ I  p4 s0 c7 j/ h( C- ~# This is an example resource file for rTorrent. Copy to" r. ^, m0 S/ M* @0 X
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
+ W! q0 V% X. t$ v( c# uncomment the options you wish to enable.: H2 d8 f" E4 m& ?

+ q0 _7 h  @) O  m5 ~- D# Minumum amount of peers to connect per torrent, if available.(最小种子)
6 G1 T) B7 o4 m$ `7 rmin_peers = 40
9 F2 n3 y. |3 Q$ i" b) A
' }" Q  Y0 S/ Y# Minumum amount of peers to connect per torrent.(最大种子)$ n4 N0 I) ]3 p% H
max_peers = 2508 C2 G! [; F7 z0 A  H# R3 p

6 ~8 G  z. I: I7 a8 H3 P# Same as above but for seeding completed torrents (-1 = same as downloading)
: o# q: M9 R- W) S7 t! E, A' k#min_peers_seed = 10
% r) L. M$ k4 n( p' l' G#max_peers_seed = 50. D+ [# c. R/ g

, [% u1 |, T* `& B# L# Maximum number of simultanious uploads per torrent.(最大上传种子)8 |; \7 r- Z, |5 I
max_uploads = 15: l( b$ F' c% Z' c1 y) r9 K  I

4 X* w$ Y: n! _! f# Global download rate in KiB. "0" for unlimited.(下载速率)2 b( \5 J2 Z6 a9 R9 c; c
download_rate = 200: S5 ^9 R# V# K. X5 t
4 _; X5 F9 ^1 A6 `( t; g5 x  \
# Global upload rate in KiB. "0" for unlimited.(上传速率)
9 r, o8 p, Q8 V. A; pupload_rate = 300 Z! J/ W3 \8 Y) ?4 ^
; p9 J3 S$ `) {, R" |4 j; {
# Default directory to save downloaded files. Note it doesn't support
* \, S. c2 |- Q* a; E9 n# space yet.
9 e- ~8 Y7 G; W0 f* |3 ?; U0 ?; @directory = /shares/mss-hdd/down
, [  ~, g$ X* t$ k8 Q* z
  |" q* J6 }4 a5 ?. H0 J# Watch a directory for new torrents, and stop those that have been deleted.
  u' q8 u. a% P$ i' I* H: P/ N
9 W: r: m7 ?6 [2 w5 N' ^schedule = untied_directory,5,5,stop_untied=
0 i) F( l: O  c2 i) a- Z) |' h, w " j- u# n: I$ j1 F! p5 W
# Close torrents when diskspace is low.6 U+ _* f0 ?% h
#schedule = low_diskspace,5,60,close_low_diskspace=100M
* y) w, L. [$ t" q3 i
! I% r. B' d6 C, i  T: Y9 C# Default session directory. Make sure you don't run multiple instance
; \& [: `' N" p) V% M# of rtorrent using the same session directory. Perhaps using a
2 C, Q8 R1 u: p' W- X) V* y# relative path?
- v4 J4 A8 `! M9 }/ x9 |# F- xsession = /shares/mss-hdd/down/session8 [: x! m! }# ]+ ]
schedule = watch_directory,5,5,load_start=/shares/mss-hdd/down/torrent/*.torrent& A3 f+ [0 A( ^7 u# v

* V. W# i6 T- L- Q( O) z& e2 x# The ip address reported to the tracker.
; _, {7 L9 x: D
+ x: A! V6 B, O
#ip = rakshasa  D2 C# k  W6 o; Y$ }

: |4 M% i& p9 ~/ y4 h7 n4 r6 k: j6 z, p2 n4 c; }; U7 v
" f. s9 p2 n, q6 U* ^7 z

  w3 ?. B! v: Q( B2 Q" X3 r0 D4 C# The ip address the listening socket and outgoing connections is
1 S. S' w' w" D' l, S( {

, ^  g" s* m  Q( _" v0 }# bound to.& B" Z5 l5 ?0 {. t3 n
2 y# @  Q1 M- s3 q. u
#bind = rakshasa
* y0 V3 x; I3 T+ [* F8 X! t9 q8 O3 L
+ F5 v& s9 Z& @4 k" b6 \
                                                                                9 u# x# g2 I' ^$ _* F
# Port range to use for listening.
( [/ |3 i7 d& n1 K0 ]- x! n" ^  _! Q
3 h- i9 m" ?, A" {$ ~
port_range = 51777-51780
) u8 h" G5 L6 h- g- n  {9 p) z1 z

- @( Q" `- l; V  l
) j! C2 h' y! ~( E5 |/ O) ^. P$ W  C) f/ r7 B# z3 r
2 K1 X# y% E! |! c2 N
# Start opening ports at a random position within the port range.
  G* B' `4 ]5 ]5 |' s* l
9 I/ s& Q  E4 J% f* T! P! J
#port_random = no8 [+ `" G) a# X$ v; s- i; l6 v; q
4 t9 {; g$ b, L4 ^

+ C6 w* n; ?" \& B3 u7 }9 |: g
7 h2 i+ e  ]: p1 \! i, n. l, G
2 I, q# j: A% O7 \6 L
# Check hash for finished torrents. Might be usefull until the bug is" I  B1 B& H( `' a) a% I8 u+ E
+ W( d2 H6 n/ j) L- N* g
# fixed that causes lack of diskspace not to be properly reported.5 |- f2 g8 ]0 w( q/ ~" j" i
/ a  X1 t: H% l) b# `5 ^" w. P
#check_hash = no& a3 H7 H- I- L9 n( A0 K. r
' P7 B* y/ @; f7 a

  I# l5 d$ b2 i4 s9 ^, d: S* X                                                                                - X& V3 _8 E- ]' z% }+ r
# Set whetever the client should try to connect to UDP trackers.
9 A! Z1 R9 r- X3 b6 ?6 W6 X# c
4 D) ?1 R! q  |1 v9 s, [" ]
#use_udp_trackers = yes0 p7 \% u' K* M& [! y

1 x* m  D, l, p( A1 Z" |0 n* j
7 O$ K) H3 f5 R( T  Y+ @- l2 t
                                                                      # M$ ~3 ~  z7 c6 C* {7 ?) z
# Alternative calls to bind and ip that should handle dynamic ip's.' v1 J( M$ B$ p0 L8 x: r
. o9 J1 p2 u/ b8 P
#schedule = ip_tick,0,1800,ip=rakshasa( B  l7 U; N  I4 q% ~6 f
& K2 S' c! ^4 ]$ R
#schedule = bind_tick,0,1800,bind=rakshasa
5 d) F& {1 j4 k# z& p8 S

! [5 H$ j% v2 I                                                                                2 W4 ?0 }: N9 Q8 K! e" Z
#  O& B( ?& ~" z. l5 M

4 C5 g9 Y9 i  v$ M# Do not modify the following parameters unless you know what you're doing.8 d& S6 I! I9 x/ n

: n, n1 j' _( `( B9 n" Q: z! i#
  y" ]" S: k( {8 ^8 w6 C

2 \/ ]: x! U( e, E4 o0 X) A# h- _2 o, A                                                                           
# [* a$ u7 H1 `: @$ M1 P( c# Hash read-ahead controls how many MB to request the kernel to read0 B: i( _3 K0 e

/ B1 a4 m% E, @. @/ d# ahead. If the value is too low the disk may not be fully utilized,
7 o$ T" Z9 M5 ~/ h3 x& ~

# E0 b6 _1 I+ S$ U; N# while if too high the kernel might not be able to keep the read
. r1 @! K( T1 K' C5 b9 J% i
: @, O( Z0 f8 J( r8 F: w% z" \+ P2 h
# pages in memory thus end up trashing.
8 b: @. M" a5 I7 [6 C4 O! U0 K% ?
7 E/ r0 S7 B3 \8 |7 W7 ^
#hash_read_ahead = 10
0 s% W1 C" w6 l) `( e5 {& d

. s3 @5 v1 W& c3 K  {                                                                                
6 G% L( A9 P/ G7 T/ m$ D# Interval between attempts to check the hash, in milliseconds.; n% d! }. D6 m0 I; q9 f8 g3 l
6 {# i/ \, E" R% N$ o8 |; d: Y
#hash_interval = 100
# Q/ n) l; {; J, V/ Z, A: k3 }; g3 i
" F' J) i" b3 Y& ]0 ?; k
                                                                                
5 C: x7 S- n+ d4 x% ?# Number of attempts to check the hash while using the mincore status,6 @5 \" T# T, f- o

4 C2 f/ j* X& D& i# before forcing. Overworked systems might need lower values to get a
; ]  e, Q& C3 v- D8 q+ l

/ B: b* W5 K, G# decent hash checking rate.9 i. ~# J  x$ }' T! R* o1 a) v
3 O9 i# x5 X( Q( |* z+ {, b, X
#hash_max_tries = 10  r! D0 P' w' O
3 g+ w- E- E- e; W( v
: U7 j- d, @- g1 y1 B: K

$ r3 M" ?. h1 M  Z" ^9 p- q

; {* m1 ?; A; V# Max number of files to keep open simultaniously." C! n0 y8 ~/ c0 i0 G1 c+ E" G
2 @/ F8 M9 E! Q* r0 G: T3 U) P
#max_open_files = 128
( f- @2 {; a, s0 T! Z# _- Q  I
- n$ o, w& N. p& y5 ~
, I" S. R1 s8 P/ D

7 T; |7 w3 M) P4 u: ?. a
) H3 q7 [- \: Q8 Y( w4 H
# Number of sockets to simultaneously keep open.
$ w9 F7 v+ t, q2 G+ t' |9 C
# o* E; ^- @2 }$ o. q
#max_open_sockets = <no default>1 V( P6 V8 |, f7 o4 b
' G& x  _8 P( P
                                                                                ' o8 ^' K$ a2 _0 ~% \; e' q* B- N* O. s
/ o1 m1 v( f$ t" j2 j0 [. b

# d- u0 j# h1 W/ D2 d1 t; l5 @

3 c  u$ L! n3 M# v! Z# u5 `# Example of scheduling commands: Switch between two ip's every 5) ^/ `- F* S" f3 R6 G# c
9 ~! D: F- q3 Z& {
# seconds./ ?+ T; a- s; |, H0 D$ u
$ R5 S0 B/ ^. |
#schedule = "ip_tick1,5,10,ip=torretta"  G2 |) y( K# ]. E- I& d* {
5 M, a1 Z) [7 l6 w
#schedule = "ip_tick2,10,10,ip=lampedusa"$ z" ~. A) c- b% P1 a

5 u/ k2 V, C7 i  H9 ?& Z8 r                                                                                7 {9 W+ V6 w4 ]7 L
# Remove a scheduled event.
  B4 m; _1 `3 O/ {: ~2 m  ^0 B, P5 A, ?: z# M
7 \  ^2 U- H) A+ a9 @; T9 z0 a
#schedule_remove = "ip_tick1"
5 y: d* K# V% V1 I8 e0 h4 y

2 A+ Q; K) U4 A. _) Z+ `                                                                                ' P8 D" v& O% @3 b0 H4 j  s
# Stop torrents when reaching upload ratio in percent,/ r4 N- j1 ?; H5 |
2 L* Q6 S9 d* X1 m  l) }5 L6 v" K

2 V  U5 i: }( k1 D) I3 B) i: A2 x/ o# when also reaching total upload in bytes, or when0 d3 a5 h2 c1 D. @1 U) F
1 ~% T/ t1 q3 S; [% W7 C
# reaching final upload ratio in percent.5 {" e$ c1 z( j( a6 r" P# ], N

5 c4 C/ {8 n) ?$ ]# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0$ I8 J5 C8 `3 i1 q  N: Z
5 O  u4 T; J7 t: G$ d7 E( _
#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"( H2 {( F% y& z; @: |' z7 ^: x

6 C  e+ g9 w0 y" `) Gschedule = ratio,30,60,stop_on_ratio=200! \- ~6 ]2 P( g

- q. p7 _: ^2 s3 R& H- K                                                                                
! l1 O) H* I3 ^) _# c5 Z7 A8 i- C* v9 @" `# b, m* y
, u; u; p  L( p. h
! r% M% j, _# L! J2 E: k
# Encryption options, set to none (default) or any combination of the following:
# d$ u' |3 k6 m) Z) J# r7 d

# C9 c" J/ T( G. C! s' e: _# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext/ |- S8 _1 E8 k+ z
## Y8 E( N- D% A2 [9 g7 d6 i! x
! f' d* [- ~: P: [' r3 A( T. e
0 h7 Y1 ]& j3 Z- F
# The example value allows incoming encrypted connections, starts unencrypted! {) P* H% J1 P& J
: l8 \+ S& F/ w$ K& I
# outgoing connections but retries with encryption if they fail, preferring2 ^9 }8 q. a- F5 i, G+ t: i0 z( K1 K% t4 ]

# ]% h( {, b+ b# plaintext to RC4 encryption after the encrypted handshake! s/ v% Z( V$ I& w+ B6 n

( }$ |0 E* e. v& r- x#1 r7 G+ c% \  r. v+ O- }. Q, Y" W! c1 R

$ g' w. f  V! }' E" S$ q# encryption = allow_incoming,enable_retry,prefer_plaintext% `' X' n+ E( e3 ]  F& u9 F4 c# z

( H2 h% R7 I& o' f  }% A  L# \# {+ f2 n
3 G$ o8 P! {$ J+ p

: `* }. V! F3 |4 d, s' d* t# Enable DHT support for trackerless torrents or when all trackers are down.
; H: D+ h! m2 f( [* W. ]0 G" O
' a0 J7 o+ i% B4 D! {% d4 A
# May be set to "disable" (completely disable DHT), "off" (do not start DHT),
% V. \. t6 [3 x& P5 L* y

+ z2 k5 t6 B% M: y  D. W' j$ y# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
! T) \+ `$ y7 c& R; x4 S$ s: N
7 m' C0 J3 a/ K! {/ Z
# decent hash checking rate.5 N  Y3 v0 m( z& T2 e# d
  P- z7 E9 ]9 ^0 E
#hash_max_tries = 10
  K% I' B8 m3 }+ h5 U4 K: ]
/ d1 h" U9 \6 `8 T5 m

4 X( h/ i4 Q3 t8 l5 T- d$ p" N9 Z3 u$ v7 n7 @8 ~( K
5 J+ L( r% N9 D0 O0 j9 @& m
# Max number of files to keep open simultaniously.! U5 ^" t6 J9 C2 S( E" K$ H1 |# M
  `1 c4 Q8 j0 w% b% Q* `
#max_open_files = 128
" E* h+ ^" k% T1 U* V7 l  X

. @4 u( z# y; S6 x
7 m' G5 R: C+ ?. X" F7 _# p
) n% ?1 m) i! L7 R( g  C; @% |
7 B* [' K7 M1 ]7 X  F3 ^
# Number of sockets to simultaneously keep open.
* H7 V+ f9 `  u- _9 ]
) p% E2 T9 ?' _$ Q+ u+ F* W
#max_open_sockets = <no default>
, }" k" [; l/ r% ~4 I# _
5 v6 ~1 ^% V( E) J
3 x- H/ D2 T* R1 }; m

4 D2 ?: L4 J$ A: i/ @6 O% ?& h8 R

) Z+ j2 z/ k) @$ [                                                                             - u) S" k  ]! e
# Example of scheduling commands: Switch between two ip's every 5
  m. g1 E$ l; T, \+ b/ K
5 b& m6 @4 B4 z4 H  o
# seconds.
" \; I8 ~- w4 m
$ U/ e) V7 u8 f+ f3 B
#schedule = "ip_tick1,5,10,ip=torretta"- q  I. B2 F0 E+ z

& }! C# G& E1 R! e* C6 N#schedule = "ip_tick2,10,10,ip=lampedusa"
. z6 d" W6 w! U9 w4 Z! O* S0 h' Q5 k

% l* Y9 M9 G, D2 ]8 D8 P3 b' Y                                                                                
9 e. o* M, j& t4 ]# J, J  g# Remove a scheduled event.
3 y6 l! k0 F0 w
$ A# B, S6 S7 e- M+ J
/ _4 P' i3 b# S* n
#schedule_remove = "ip_tick1") E0 H/ }- L2 H' L9 R
( L: ^  b$ d& D/ F& i8 h
                                                                                ' I4 Z7 c  N- W% N
# Stop torrents when reaching upload ratio in percent,
2 u- {' @; X3 y. u* S

- j3 q5 Z% @+ n2 L8 U; n5 V# when also reaching total upload in bytes, or when
/ v- Q* o8 \" Q- \& \8 {, N# U
: \; X: N( Q: d' h( H4 ~  y2 K
# reaching final upload ratio in percent.
% ]  W0 l7 ~1 H. @, f

. q% N. X; `% n+ i4 J3 B* ^# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.05 @' `' P) A4 z8 K0 k) f

1 r" t4 v; E, Q, W  |2 ~#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"
! b. ~% P- q$ L

5 ?+ N2 D% B4 R  Pschedule = ratio,30,60,stop_on_ratio=200
0 i( q/ B4 Z9 N8 _7 G9 c

( A! }% q% d% D, u( E2 ]                                                                                
3 @/ x8 s" m- P1 d1 {, |$ }
1 J6 J4 t0 M) y& V. O! _- F
- [' z1 c1 J2 a0 `
6 x& t9 j& F7 L! Z8 H& j+ e/ h
# Encryption options, set to none (default) or any combination of the following:
7 L2 M* `- u% h/ h- H) b
# B( r; z  Q0 R) @. P
# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
8 c" |& _  I' X* X#/ p; W! s1 A5 N) T/ Y$ S
/ B9 d5 i/ G0 a% Q$ @4 o! P

' C' I4 p+ N( n2 T  S) T6 t# The example value allows incoming encrypted connections, starts unencrypted1 C* Y4 [+ D$ u; D

1 p: f- H- _5 X# outgoing connections but retries with encryption if they fail, preferring
' _4 L7 a9 C8 H6 V7 {0 j* Z
7 k  S9 ]. Q# W8 c) C6 \: k7 S
# plaintext to RC4 encryption after the encrypted handshake
% m1 V9 y& Q6 i& B4 ?* T

, L6 z$ S. k( \1 \1 n8 M#/ K' q' H# x0 C. o0 R

1 y+ U, O! z# J2 G; \# encryption = allow_incoming,enable_retry,prefer_plaintext
8 S6 Z8 T" x4 ?: A; d' o( [: X/ T
6 |% m0 p& Y7 `- h5 l9 R- l3 |

2 O# u+ x2 U+ k$ P/ E/ x2 P# y
$ R) r; T4 H/ w& Y3 N& c

& Q6 B; w, G; C' f8 c3 |# Enable DHT support for trackerless torrents or when all trackers are down.8 q/ h  ^- X. K3 Z

- P- _6 k5 F6 s# May be set to "disable" (completely disable DHT), "off" (do not start DHT),
/ f3 {( E% N, H. _- [. N

( _3 X: c3 Z4 z8 H% Y# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).9 N( H5 [: S8 u+ X9 i
' y1 z7 k3 B; f
# The default is "off". For DHT to work, a session directory must be defined.
% f3 S3 j! ?; r; _  N8 ?. }

. l/ m; d/ L; D$ u#& c& r# f+ D  c% }1 V. [
% C" S# {& g0 g5 T9 d3 O+ ?
# dht = auto1 n$ R2 o- r: k; ~5 c) U
- ~9 e1 G+ f. R. l* f

8 Q  X6 v/ p: {. guse_udp_trackers=yes(???)
& c- x$ b9 y0 [8 _1 p" \encoding_list=UTF-8(设置中文)
  o( U* {6 k3 N# {5 iumask=0000(设置权限)
0 A" Q2 b, L: d9 @* K' hdht=on(设置监听on
5 T) P0 {( K2 ?( T/ t9 M9 o! }dht_port=6778(监听端口)
4 x* c$ z7 y. X( C1 Speer_exchange=yes(种子交换)) l0 O5 ^% p, k! i: w
#scgi_port = :50002 U, P; h. z9 F+ p1 _! A- J

' c" {8 f  [/ R0 W8 a3 X# UDP port to use for DHT.
# n( x/ [+ o! ?% W# B8 C! N- l( C3 M0 Q/ _* |

9 f) _6 d. e) [/ C' l9 g1 E#
4 f9 R5 c5 y( m  J, e7 U' T
% T3 N' ]/ a3 N* v* v. T/ M: y) x
# dht_port = 6881
9 M+ o1 S  h9 m0 u" k% S0 V

; ?; Y9 k2 v: v, |0 n& j0 A3 c8 x, c8 {( J

, _' Y# ^; Z' R; S. M% r
" |1 D4 j$ b! R  T( U
# Enable peer exchange (for torrents not marked private)* y/ S- S+ I- i4 y

) U3 s! b9 M) A4 x. ~  B#. ?  e* [# ~6 a

2 j1 b5 Z* }2 R! I% H# peer_exchange = yes+ c/ Y! D  N# g6 _4 q6 o: O

7 [9 c/ y/ r' q% |
; Q2 c0 f: N. E' J2 p
                                                                                    
8 z' g2 @( Y$ n#
% k9 m3 G0 B4 e

# z( Q4 y. D- f* a" \: |' h# Do not modify the following parameters unless you know what you're doing.
8 q0 W, k/ T# X. D" h' n4 m/ N
8 A, _2 O# K9 i7 o  w9 x7 k

" M% n% Z/ [7 {; r9 X8 J0 O## f( `7 k. R7 F1 q7 c

2 N/ W9 n# o/ b1 l  nscgi_port = 127.0.0.1:5000
0 m, q# W) @& ^" Q
(设置GUI

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:16:30 | 显示全部楼层
/opt/etc/init.d/S99local$ u+ q; C8 m' P7 n
' ?' g+ N( L$ }+ B; e
#!/bin/sh  B5 g& J( O! y& F

; R: n) G! f3 P3 H: c: f: j
! O& B0 F* T5 j8 f0 x! O% z5 Z0 k0 Y8 R: ~  p$ R5 m- W

: \3 H' w5 @' b4 i5 cexport PATH=/opt/bin:/opt/sbin:${PATH}
: D9 C3 h, |' C8 D1 Z/ e: {7 s

: ~8 o4 j2 M* z7 P  Xexport LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}0 ~3 S) C7 t8 n% H8 j" c! ]9 P; O

- j, I9 j2 Z& \( |% c( V% o

/ ]6 g9 `: `5 ~7 v2 W# L% S$ {: W! H7 @export HOME=/opt/root
; h/ `3 U2 A3 y& i

0 v) |( f* ^  Q% w- h# p' K* _+ Jexport LC_ALL=zh_CN.UTF-8" g- U0 z" w7 U7 h* [2 E$ I  q

" A- l; B. x; J
" ^" j! ~. J9 R$ B( _& ?. ~: B
utelnetd -p 2323 &2 J0 r1 J' [6 U# W/ o5 S9 B2 S

( ]6 z6 B  Y$ \; f/opt/bin/screen -d -m /opt/bin/rtorrent -n -o import=/opt/root/.rtorrent.rc
" b* `. Z+ n( @  W7 C6 M. ~) u0 |
) M! J/ O& b# Q1 A5 F+ X7 t& X
vsftpd7 y  t6 V" Y5 V( X. b8 M2 i; Q
(必须放在最后一行)
' ^! i: q% z  y5 X  e- ]8 s  `
+ P0 J9 @  G6 k% @7 E ' \  G% `+ L: \/ f8 A; n
回复

使用道具 举报

发表于 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-8-16 07:28

Powered by Discuz! X3.5 Licensed

© 2001-2025 Discuz! Team.

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