找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1102|回复: 9

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

[复制链接]
发表于 2008-4-28 05:11:14 | 显示全部楼层 |阅读模式
功能强大的离谱,正在研究,该机可以实现BT下载(任意大小,支持中英文),FTP下载(暂时不知道如何设置权限),电驴下载(只能一个一个输入,且单文件无法超过4G,),花生壳,无论你在哪,都能找到自己家电脑;网上邻居,网络打印机(支持USB打印机,也就是每台机都能通过网络打印) : `+ h$ b; V. k3 F1 f# i2 P; P0 I非常小,非常省电,还有一个很好的优点:你开了BT+电驴,其他电脑上网和QQ都非常流畅,不像现在的BITCOMET、迅雷和EMULE,一开了就别想上网。 * O1 S) g7 _+ F$ r8 P大小长25,宽15,高5CM左右,和一个3.5寸硬盘盒一样大小,接路由器和电源就能用。安装完毕后所有操作基于TELNET和网页。2 o& w! X6 u C+ s4 c 还能构建HTTP和SQL论坛,这项我还没头绪。5 Y' {; p. N* k) M! M 上个图。" I! S' w- p7 z0 Z6 ~; y ' D! Y! x3 o/ R) O3 ~- d9 R

本帖子中包含更多资源

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

×
回复

使用道具 举报

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

使用道具 举报

 楼主| 发表于 2008-4-28 05:13:31 | 显示全部楼层
留点备用查询
8 o( L* R7 Q! H  F2 L5 G
  ^# d1 ?# a4 U一、硬盘重新写0
& l5 {7 U% l3 H5 f/ W5 ^0 b5 |7 Y1、如果MSS正常,则执行6 R2 U6 `1 f- w, O/ |' _6 |
dd if=/dev/zero of=/dev/ide/host2/bus0/target0/lun0/disc;
! _6 u7 @" K% u8 I3 h  T2、如果硬盘刚启用,则插盘清除分区后,用winhex清0。8 G# _, M/ e# X4 Z
二、改本地连接- x2 y# _8 I! @: [# M
ip 192.168.1.2 网关192.168.1.1
/ s9 _$ l# t1 Q' e$ {( Y三、执行nasload.exe1 z' f$ t( x1 ?* ?8 f- w6 j
4 L0 j6 X* ~5 z' D7 ?0 h
用户名admin,密码空8 D1 M+ y* `% F) W  [9 O6 O, {
四、设置机器名称,用户组名称,IP
3 L) v$ l% k; v3 u. d( [0 w五、刷新2.6.5
5 g$ [1 a: O# n- {( f6 @& D8 K六、建立一个down文件夹
# q: u- U3 K" i- d+ w七、telnet 192.168.0.883 P0 _* m& r5 J( m8 i% y2 H2 ?
ipkg update! w. d. J/ r3 [: G/ Q' W
ipkg list
2 F$ ]4 F4 Y- C  x) Oipkg install dropbear
, ?! S4 g9 E# `6 ?  b0 ]+ qipkg install busybox5 h* p/ Z% o' I) m# e
修改root 密码
6 U: i  l2 F* u9 D& p/opt/bin/passwd root% h2 R* K- p* I
# O' i6 ]' D! X; x7 e7 Z9 C
八、使用  进入
# s" `9 M1 [3 X- G( ~! p3 |$ w3 s2 wcp /opt/bin/busybox /opt/ 4 N+ f7 s  ^3 ]' L" J0 F) V
(将busybox从/opt/bin文件中复制到/opt/)
- F3 Y) h# U3 e  _( c4 A5 {) ?
% J1 ]2 |9 G9 }5 a( @) y安装oleg
. U6 v) K  x9 f6 w4 U$ U( a(1).将下载的opt.tar.gz放在mss的共享目录中(通过网上邻居进入,放在Public文件中)$ L; a5 O! P( }$ a$ n1 H! q
(2).在根目录下执行/opt/bin/busybox tar zxvf /shares/mss-hdd/Public/opt.tar.gz
3 J; ^* ?6 S2 L" V1 n, [(3).执行下面两条命令$ z6 k0 h$ W% \% J0 @, R& Q
export PATH=/opt/bin:${PATH}, J. r5 r. ~$ x# I3 n9 K$ O
export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}1 F5 K7 N" Y3 [1 r* I, s# K6 N
(4)将busybox恢复到/opt/bin目录下
+ D! M$ a, K% T  pcp /opt/busybox /opt/bin/; y6 k; q+ [! t4 r3 b3 |1 {

* f2 [: w2 Q! d! p" D! O九、5. 安装和配置rtorrent(bt客户端)( D: m9 t0 A6 V& D: ~, Z
(1)安装" E* f$ h8 s: ^* f
ipkg update
5 G6 Y& Z+ S; S. b, ?ipkg install rtorrent
2 \$ @2 f& `+ {( v. P; Z1 V! J, G- T5 O
3 `, @1 Q' w( f( N2 f; t
(2)设置7 T. q/ C: h: s4 E
(3)
1 R6 D3 k: S* y# T, w2 `mkdir /opt/root
: H5 V# y- `: x$ \! ucp /opt/etc/rtorrent.conf /opt/root/.rtorrent.rc) Q+ c1 |7 ?; T' Z3 M
export HOME=/opt/root" X8 \: t7 _4 u+ W* q: y+ I
rtorrent
$ m4 Q: Y0 a  N  T; A/ @7 w看是否成功
& k) P4 m8 v+ [7 N+ C
4 G! V1 e: L: |* zipkg install screen
) T# L. [, @6 e; j0 G2 k2 P- i7 m  A4 A" w" [; Z( C
" u6 d, j4 _7 g/ a
screen
& S6 q8 ^8 `6 {/ G! c然后回车
4 z0 [  V0 z" }) R; Brtorrent8 u4 k% r' O8 t( |& R/ B
ctrl+a然后+d,隐藏界面- l# @, b- [9 Y% `/ ?
十、安装配置vsftpd(FTP服务器)
4 O( C; |- @, s6 u+ a+ S/ Uipkg install vsftpd& g! k. f7 m* n4 O3 c) L0 h
9 K- p/ ?0 g+ N' i
/opt/bin/passwd 用户名1 f& Y0 r, L1 B3 A+ C# n6 D
修改用户名登录目录
4 S0 d- t1 w" J7 d9 w* p3 f% Hvi /etc/passwd5 _1 P- ?- F5 z8 u
1 K' L7 u6 z( X/ e0 Z' Y8 C* D
添加可以登录FTP服务器的用户名
1 j8 Q) J' a* {0 t# zvi /opt/etc/vsftpd.user_list' ~/ s1 a- `& w& v, f! d
添加要登录FTP的用户名称
# i0 g7 m: w) e% h配置FTP服务$ k( n2 s; m! u' t, X* q- ]
vi /opt/etc/vsftpd.conf3 P! S9 x8 Q9 ^! }# O
在最后加上一行:
4 i" H3 b+ O$ M4 T" P5 o: y% K% c! X" N4 T7 D7 f. P& h9 q
9 q: @3 h% H/ Y) {$ J' G
在/opt/etc中建立文件
) ?/ L' t7 d  f1 z8 Hmkdir vsftpd_user_config
# t" H& d; r* f# S- R' e9 D  W进入该目录7 E1 Y  m1 {/ M; @$ Z
cd vsftpd_user_config+ O+ [% z6 `: @7 @2 _5 ~6 N
建立两个和用户名相同的文件) @( Z1 _% W* ^% e) T* v7 D8 N8 @! H
vi 用户名, Z/ W1 y  i/ s8 t5 ^
在只读权限用户里面添加
5 j$ P& ^' M$ `3 `8 y3 I$ p1 t) R! e$ Y, h9 v- o, Z: Z0 |
重新启动硬盘盒
; i7 ]7 ]! p. h0 g" Q" I) z5 j
% Z- T9 ?3 C6 X( V8 s十一、设置动态dns% Y& F" t- {% X: t
ipkg update
9 B1 @# l: e; Jipkg install inadyn
9 F* i6 @8 h/ g! q! S( Zinadyn --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 ; S$ l1 t+ a: `4 b/ D

  d' _) t; z# C  |% h0 \& o" Z4 W4 \十二、电驴
/ [7 K& x0 B7 N2 w" t( T; F6 A" c将mlnet.rar内的optlib.tar.gz放到MSS的Public目录里
$ L! Q& b/ [6 S6 d6 p1 J: Z$ N/opt/bin/tar zxvf /shares/mss-hdd/Public/optlib.tar.gz
5 g. O4 O4 d0 ~8 r% fcp /shares/mss-hdd/Public/mlnet.lite /opt/bin
- {% {' W$ m& C9 p7 Bchmod +x /opt/bin/mlnet.lite
# W8 s! I+ V, ivi /opt/etc/init.d/mlnet
- v& u4 j* v/ d! Z6 {#!/bin/sh
+ D( T+ @5 {! G0 Mif [ -n "`pidof mlnet.lite`" ]; then
2 {, o% T) O3 o4 ?; ?7 x* t
( X: z, Y+ K0 g/ n; Q/ y0 qecho "Kill old program..."

0 ]1 j' o  x* T3 t) }
; Y1 [9 @4 T! @' s' skillall mlnet.lite&
, N9 P% W" M7 W2 f9 y; O

- J6 `7 Z6 q" V1 `9 X# l  [sleep 10

$ T+ u3 {8 u, d8 n- o; e& N/ jfi
$ X3 Z1 }+ {7 R$ z1 Jexport HOME=/opt/root
7 C2 S8 Z* m$ aexport LC_ALL=zh_CN.UTF-8
; S" o0 b  x; o; u, xrm /opt/root/.mldonkey/*.tmp 2>/dev/null
( y$ j. s7 A3 Z% d$ h% [rm /opt/root/.mldonkey/mlnet.log 2>/dev/null+ c6 k& G% p2 ~. f! @2 c# Z0 P
rm /opt/root/.mldonkey/*.pid 2>/dev/null
+ u! a+ y. z4 [# |/opt/bin/mlnet.lite&
8 R$ ~1 t/ y6 [! O 5 H+ e9 V8 J/ P! ^4 V# \
chmod +x /opt/etc/init.d/mlnet: a' F) `2 Q4 G# F  D2 |

6 C/ q6 Z' K+ C5 @执行/opt/etc/init.d/mlnet# ^/ l1 k7 Q7 F6 u, ]! U
命令killall mlnet.lite
3 K$ v! S) c4 _/ g& }0 E  P2 m
3 d/ t) b& o! p. V9 k9 U4 |  K解压缩以后得到servers.ini和downloads.ini用 Winscp扔到/opt/root/.mldonkey下面覆盖源文件" u- l0 Z: j8 ^- Q& A: Y' T

) S" j$ S- a0 z. \( x# n) \vi /opt/root/.mldonkey' E0 C# [" n: N1 G
修改356和408行! a1 R7 x! J2 R! s( V
temp_directory = temp
2 A7 Z3 I( i) Y0 B  ^- i$ r5 X, `7 Y记得加""双引号如 temp_directory = "/shares/mss-hdd/Public/mlnet/temp"
! V; e% k8 t) @3 f0 [# [: s& r修改第408行 dirname = "incoming/files"
0 D  X- M4 X: P$ |6 V如 dirname = "/shares/mss-hdd/Public/mlnet/files"
- o7 m9 j. A) n4 _& S运行/opt/etc/init.d/mlnet
" n; M( v+ V0 o+ k+ k1 ^+ F

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:15:16 | 显示全部楼层
我的MSS-BT的CONF.doc
( ^/ ?# C3 {/ u  ]! j+ f) V- M2 x" o  D8 @9 e0 [, H
/opt/etc/rtorrent.conf
* U  g( ?8 n# {) t; ?* `5 w6 A/opt/root/.rtorrent.rc
: Y0 w4 W. M$ J+ x+ p; E
5 g7 F* w6 L6 F5 S& D. d# This is an example resource file for rTorrent. Copy to+ l6 X! ^- t& b3 i$ a" K
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
+ a1 N  c; e7 V# uncomment the options you wish to enable.
. A# ?! ?, c: d- `- { ' O4 H4 j; I" p, e$ h' O1 \, k
# Minumum amount of peers to connect per torrent, if available.(最小种子)! W: L* p0 @) }6 T
min_peers = 40
. U7 j+ X8 q: b * r5 p- L; Q: \3 C: R
# Minumum amount of peers to connect per torrent.(最大种子)9 c& {5 _, o3 B( v- x; x& P
max_peers = 250
3 [' j) a& Q; }6 K9 a0 @+ l 1 H! K) D& \, v
# Same as above but for seeding completed torrents (-1 = same as downloading)
6 G. K; ^: _0 z4 A( f4 d- p#min_peers_seed = 10
2 |! f9 A' }" z' j% W#max_peers_seed = 507 J: x6 I+ V' ^! d* Z

/ h% U4 ?% w1 }8 p6 z* t# Maximum number of simultanious uploads per torrent.(最大上传种子). z# T) |' l3 w% }
max_uploads = 150 k% [7 J6 X6 z- d2 W
7 j+ z4 I. b' M( G# R
# Global download rate in KiB. "0" for unlimited.(下载速率)
9 T6 h2 @6 O7 m6 [download_rate = 200
" m+ z; i" H6 E+ A6 s
" O0 o) E( U( T# Global upload rate in KiB. "0" for unlimited.(上传速率)% j# y8 S4 u7 Y' n
upload_rate = 30
1 [$ Z" }) _% x. v$ w
1 B7 ^! F6 u" D$ ?# Default directory to save downloaded files. Note it doesn't support
( x3 r' J" a0 }+ @2 ~8 C# space yet.1 @0 h2 @2 J$ K& _+ k
directory = /shares/mss-hdd/down
& e: j% n. w) w3 j& W
  P4 _9 b( t% {: Q# Watch a directory for new torrents, and stop those that have been deleted.
+ ~% o7 M1 B5 x, w- N
1 N9 m8 V$ w+ D3 ischedule = untied_directory,5,5,stop_untied=7 d9 r( N3 J3 z  ^

, w$ P5 e& \) n2 M; z3 Q" A5 V6 t0 S# Close torrents when diskspace is low.
' t# S+ I( F8 v1 t; G#schedule = low_diskspace,5,60,close_low_diskspace=100M$ {6 I0 ^* N  Q( b1 l# b: ]. s. @

# P! y: E0 b6 L3 {# Default session directory. Make sure you don't run multiple instance* ]2 P+ o1 W# o6 _' Z$ a$ F
# of rtorrent using the same session directory. Perhaps using a
5 B' J! k8 w, o. D" y# relative path?4 L2 G; c. y& t, F* o8 [
session = /shares/mss-hdd/down/session
; T* B2 Z) Q& O' S" Nschedule = watch_directory,5,5,load_start=/shares/mss-hdd/down/torrent/*.torrent
2 X4 d! n' {9 m, ^2 x) s 3 J' {8 u& @: g* W
# The ip address reported to the tracker.
2 L* R, T9 K! P, T2 `! N0 x1 I" B
% h  P, ~" L8 i  H4 H* l1 K. N
#ip = rakshasa  o) T& j" `; N. k9 I

, G9 x4 M, b+ L- Z+ X8 t" ?! o; w( y2 N& G6 A9 |, G
. m& a$ f. K8 i( G+ K( _
- w# M  t2 K) d2 B# _. I0 g
# The ip address the listening socket and outgoing connections is5 H3 ~6 {, X* \! G/ ?

. [( w  r9 Q- B7 D! u$ \# bound to.0 ?; z2 ~; w8 ^2 X8 s- F7 a0 P
: _4 T  z! U% ?: {* u& w$ |& B+ o
#bind = rakshasa' i( U6 i& ]3 Z" R2 @2 R+ n% x

8 |/ P/ ]0 m0 T2 k5 j$ i" M

. v+ g% I7 b; r/ i3 T                                                                                
3 p5 y% c; V. x! Z# Z# Port range to use for listening.
" ^* `0 ]6 \  o2 z7 s( h
5 I  K" s, Q: Y* `2 k8 K$ G  u. h
port_range = 51777-51780
$ D+ F0 f. F: Q1 B$ C3 }! i/ Q
: N; G0 r1 t1 c3 I
0 ~5 i: N6 _, }5 E9 p% Q# c
* I; E* P3 y" s

/ N( u! D, `+ R  r' l+ f8 w# Start opening ports at a random position within the port range.
4 d' ~- b, s  U6 j

" D% |7 a! E; C6 X0 [#port_random = no
* H& G. n# k* ~0 D1 U- w7 l
( w+ I# y7 B' \7 \

7 ~! @0 x2 Q9 y1 F4 u
8 K# \& g: R  d% x" [8 o2 S9 U5 A
1 `% S/ \. _5 T8 v6 }: }
# Check hash for finished torrents. Might be usefull until the bug is
7 ]+ K: s5 [) h$ Z$ n) c# L! b

, l) F$ @. V1 D( c# fixed that causes lack of diskspace not to be properly reported.
2 o8 \5 X" ^" x9 i

" T6 i$ }) @, y0 T#check_hash = no, J1 E+ @, P8 C& [9 S. ^$ V! v! W

$ q2 w; x) P: ]3 S  \7 H

% q5 c- ^8 Z% F1 L                                                                                ( ~/ Y3 q' ]. \
# Set whetever the client should try to connect to UDP trackers." v. a; o5 K0 }8 d. R# T

8 _" k' a! Q3 U* K#use_udp_trackers = yes6 b+ r4 O: v/ Y* z5 j

1 C( ]( ]2 m% V+ T9 S
  H9 H7 {1 t% X
                                                                      ' `7 N0 y* D% U/ o8 B
# Alternative calls to bind and ip that should handle dynamic ip's.
. F! W( f# E  r

! m% c3 T* y- g0 D" o#schedule = ip_tick,0,1800,ip=rakshasa
+ l6 f' Q" S- q' i
5 d; l2 K6 x$ c5 _5 ?6 p" @
#schedule = bind_tick,0,1800,bind=rakshasa3 L) O  u/ S3 t' g
( \+ j5 {+ @, V9 Q
                                                                                
: d  T: L+ s3 R: ^+ C5 V#" D: k7 J( C: B+ F0 j9 x
# |* Q  n9 ^0 R1 y) ~1 u
# Do not modify the following parameters unless you know what you're doing.
. W9 C1 S5 _5 P" C0 N: p; u8 \& @
* @! ]' Y& [9 j/ y0 i
#
% f: E% @1 z+ O# E" e
+ e6 s8 I" G$ q3 @3 }8 f
                                                                            # D) L3 i. R# V, E. E1 Q4 d* {0 I
# Hash read-ahead controls how many MB to request the kernel to read
% l2 A; R( y% P2 g

2 T# C5 `* ]6 K# ahead. If the value is too low the disk may not be fully utilized,6 `0 P3 W$ t$ w( Y; D5 g

6 d4 z1 {+ ]8 G9 W9 i# while if too high the kernel might not be able to keep the read7 W3 c3 ^% I# Z6 F9 ?. R3 [
8 @: w: {) b4 p2 w4 M. d
# pages in memory thus end up trashing.; c* K& @7 ]6 |1 D9 ?* ?( X

, q. H5 H+ T+ @8 ?0 y* b#hash_read_ahead = 106 a2 Z$ n. p8 X7 V
' H5 _$ d0 s: g6 y
                                                                                
* P  Y# \3 i' ^; @' E( z# Interval between attempts to check the hash, in milliseconds.4 h" P: h% t2 V! X$ F5 `* m
8 b( y$ [4 R  e, d
#hash_interval = 100
+ I3 r0 J, \+ N* U" P
1 l. _" P8 Q( t8 v, j, I
                                                                                3 V0 Q3 U0 B* ?) h- F* F7 Y" V: w5 D) i
# Number of attempts to check the hash while using the mincore status,1 o5 I, `* H+ h9 W3 B) H# d

0 `# _" A& ^$ o6 n3 q0 y% a2 }* {# before forcing. Overworked systems might need lower values to get a# k% `1 Z- E% W/ U' j# q6 T- j: T
% [6 [0 z! z) V3 ~. L# h
# decent hash checking rate.
% ?) ~, a1 _# u' `7 z
+ {, Y0 n% x, l$ N, p2 c
#hash_max_tries = 101 W: c+ V: V+ M4 W$ g9 S8 l

$ c1 Y* Y$ ^& w7 I3 n1 }
4 f& v3 s$ c9 _' }* d# w. X( L  R' X' ^" n$ _2 y' O" |

6 F, ^  y# z/ |3 m/ G# Max number of files to keep open simultaniously.; h6 o4 J: \9 i

1 `% U1 F9 c& \! Z1 G#max_open_files = 128% l0 u* q1 C* g4 N" c; p' J
3 F3 g9 T2 l- X' ]8 d- g8 l" I

, x$ b. E, S/ x
, a4 o) y$ @) s% H( j# [8 j6 j

- E: ?$ C' k; e& h' |. r# Number of sockets to simultaneously keep open.% w% {0 R' v. j5 O$ _6 M9 ~
! J3 q- C6 E. L: {$ l8 @
#max_open_sockets = <no default>5 v: @5 q# t0 L0 h; G$ Y1 Z) W/ {
2 B2 B6 U  H$ r/ P+ k
                                                                                
  E" w! y, u' J. @8 E! X, ~- X: B2 ?, M- |& A

" h5 v+ H* [# x$ B6 o! b

# F1 I+ P+ i2 }4 ^) J: F# Example of scheduling commands: Switch between two ip's every 5* o1 p/ j8 \; c# `7 Q
! a# l# x+ u. s: O; N
# seconds.
9 o# M4 v8 A3 @9 Q: D% v( u
$ S7 a5 m5 u$ G9 o; U$ D, C
#schedule = "ip_tick1,5,10,ip=torretta"" e* e$ h- p, g2 u  ]# V2 z
! L! R; |% H, [+ d1 Q* _% B1 K: C
#schedule = "ip_tick2,10,10,ip=lampedusa"
, o! O4 V3 r( V$ F. }' {; G) k" H

; v6 }$ _3 K+ W! E1 U                                                                                5 v- q# u1 z! u. w
# Remove a scheduled event.
/ ^* E: Q' [7 j( o' h# U7 ~. W( q- G3 G, ]0 b$ e; c. K  ?

' K, P9 B* ]6 H$ x, A#schedule_remove = "ip_tick1"- B' S0 f5 w; G, @; ^3 T6 g1 P

) {2 N* u# {- k6 w+ _                                                                                
) Z9 I0 I1 z* O* c9 W2 r' M5 y4 v* A: M# Stop torrents when reaching upload ratio in percent,0 i: t$ Y  c7 S

; ?& H% g! [) X* y. y4 g$ `" Y& W* k- r

) f( p% O) k' j+ u1 M# when also reaching total upload in bytes, or when0 w2 F: r2 o: ]3 t4 t9 I
7 w2 }; k! b% |+ L
# reaching final upload ratio in percent.
. ~) d0 O* j5 I" [6 S

, x6 i. g7 M1 E0 \  Z- D; l# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
- t( x, r' L6 C) }4 j3 i# B

, J4 p# X) O6 K" u, {2 n#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"& ^7 P9 h: m3 [/ J) _/ ^! t3 B3 L

6 D  }" [- N3 J+ Nschedule = ratio,30,60,stop_on_ratio=200
* S" k# U$ x6 |/ t$ h

* @! n& B5 @5 v) k8 |4 ^, C                                                                                $ t2 ?6 Y! w' W) h/ |: K

7 O/ D1 i- L# O8 O% M# h3 e) A, W% Q1 c1 [6 d6 W$ t4 f
# @5 x* @1 f" s
# Encryption options, set to none (default) or any combination of the following:
" A$ j  J& S) K  G( W& N
' H( p" z: ~7 n8 F2 a' Y, l
# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
6 `% s& M* g( A3 `; I#' @8 u( i0 ~1 E3 Q
: L! n# H( o2 [+ p
. y+ t* E' S: R( Z9 ]$ M1 E
# The example value allows incoming encrypted connections, starts unencrypted
; l( |$ v9 C. i: i9 Y# o) A& Q9 m2 k

: s2 u' b+ V5 x, ~2 e$ \" c/ e# outgoing connections but retries with encryption if they fail, preferring: N' b4 t% k  P3 U( x6 y

9 F$ E: {. C$ R# plaintext to RC4 encryption after the encrypted handshake$ @) j1 w7 R- F; P6 h' _3 x
# T  ]1 f/ x$ B9 b
#5 Z* c* W: _. k2 c! K4 W& c/ N
9 I) k/ I/ I1 w8 A- ~! r8 S
# encryption = allow_incoming,enable_retry,prefer_plaintext
' ?4 m# L0 S( o/ W
4 ]0 F6 z! g  @/ H6 v, w  O+ B
0 p# Z- c  P% E. W& K# \

6 `( w/ N2 F3 E8 Z) T2 S: }. l; O
6 p& D! x9 |+ z' y: [3 k( M
# Enable DHT support for trackerless torrents or when all trackers are down.
( O/ y" G: i" J9 }) d

8 Z! l$ e8 q6 J  Y, R, C# May be set to "disable" (completely disable DHT), "off" (do not start DHT),
1 d1 {5 v; I( n! w/ u2 ?& ^! U5 V

  c9 {0 l! b$ K  T2 Q# "auto" (start and stop DHT as needed), or "on" (start DHT immediately)., I, i( A- d9 }! h7 {

, I" [* i0 w# a1 s6 J5 O- O4 |# decent hash checking rate.9 y# h' ?: o7 J- N% f  `. _
6 X2 q1 `. U  R& l# ~
#hash_max_tries = 10
8 f) G, A1 S) D& H) h

' x1 j# m6 q: W( v9 C+ B
6 g8 `3 F4 q9 |& k
3 g8 G- E- z" r( ?+ `, S/ \# E
: K" o0 t9 U/ O
# Max number of files to keep open simultaniously.
7 {' |3 H! |8 h3 R3 M7 p6 t. [8 ~
3 ^6 m3 v: l! y, K9 _7 r, j" _
#max_open_files = 128% x$ W) y. y- U' C1 g$ f1 v; K

- f& B  u8 z% }; U( k, o; L4 k$ p" ~7 Z1 F2 X7 a2 j
; ^$ |1 x8 I& p8 T

! ~3 H& S1 V& L: q/ A. O# Number of sockets to simultaneously keep open.) n) T5 ?- S' u
2 ^) {; B- b% o) |2 o
#max_open_sockets = <no default>1 o/ S; G- R/ v- t* s! G) I
. h7 l4 I  \# ~+ S. b* H% g1 \
; a5 m5 o5 g3 d, p

5 _; v7 s% l" y4 F! J
( |4 f; L+ k) h+ m
                                                                             8 F0 F, S' B1 G" b# J: c
# Example of scheduling commands: Switch between two ip's every 5
/ B& Y- l9 S7 M! ]
) U! I% p; G) C# ^4 Y: m
# seconds.
2 a& O. ]/ ?, ^; y/ P8 N0 Y' C( f

4 O! V4 @: R% A#schedule = "ip_tick1,5,10,ip=torretta"
3 F5 k! d7 E2 W1 P; |/ T
% t, S/ r2 E/ c( N- `2 V$ x2 p
#schedule = "ip_tick2,10,10,ip=lampedusa"6 o  O$ p1 }4 g  d" j) l% h$ B$ F/ X: Q
* I& [7 t7 C' f/ N& P- J
                                                                                
4 _. ?) g8 B& r! j; R. `2 V# Remove a scheduled event.! @  n& O& Z* V; g$ {! F) B. @( N

1 l8 L5 a* _0 B2 e( z9 t
/ B2 e' Z4 K. h( z6 J/ y9 U8 }
#schedule_remove = "ip_tick1"
5 o; j* Q4 M* I8 r1 G
  n7 Q: k& E5 K
                                                                                9 Z3 |9 g, k' H0 U* B
# Stop torrents when reaching upload ratio in percent,$ v# m. K: j! I! j6 F" P

! Y. y1 \* e+ Q# when also reaching total upload in bytes, or when/ |5 r! w: X' @. s+ g; W

( n* S0 f3 l  g: t# reaching final upload ratio in percent.! U0 a- v+ i  O4 u4 w3 Z* x5 S- }

. w- d: B4 z  u/ ^. |# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
8 R6 c* l  f4 y/ S

( G/ S8 E% W5 O* p! o. v0 {7 i2 Y#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"
  i, a9 L6 \6 Y& \; C8 o( \9 E
" \4 p! U! }$ z! o% g
schedule = ratio,30,60,stop_on_ratio=200
1 K" H: X% @* `+ T
1 m& [, Q  v8 ^1 g1 T; l% g
                                                                                  N7 V/ F1 D0 V' }6 g) Z6 K
9 z6 f+ o4 Y' [3 B, x
7 g/ i  P0 I) U

9 ?/ w/ M0 r( L8 H/ z) m# Encryption options, set to none (default) or any combination of the following:. K: }# a' X) g

" A- w$ ^! s1 v! \( ~' M0 @! t+ L6 h# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
  S% o- z/ ?' u, O9 c#
, {$ g/ v9 _: \: t- Q/ o% A: _. i9 T  s6 L' N4 g
% m( i  y1 Q! w+ r: C/ i1 A0 I, Y
# The example value allows incoming encrypted connections, starts unencrypted
& j) [) p8 Z. x8 @/ l* Y& l' m
' B. b+ y* x* O  W& ~& U. z+ D# U% j
# outgoing connections but retries with encryption if they fail, preferring
7 T* C, Z7 n; p+ S) m; V' a: n
0 Q5 n- n, o7 g1 ^! l
# plaintext to RC4 encryption after the encrypted handshake
+ l$ j  o; {2 E6 o8 n

$ c& v9 H3 V/ A#7 a+ t( H( f" D8 r5 _2 j+ g, {

7 w; Q' a/ I8 N/ @# encryption = allow_incoming,enable_retry,prefer_plaintext3 A& Q* U& D/ {

) D1 |" i5 u* }/ X6 E1 ^4 E. B* m4 F2 K
( y9 K( m$ v* }/ H  I6 d+ ~+ v

* W! P: c% i" e# Enable DHT support for trackerless torrents or when all trackers are down./ r! O9 L* d( m; B) z' R6 X

" g3 e! R3 c* z' T% V( a# May be set to "disable" (completely disable DHT), "off" (do not start DHT),8 _/ G! \2 `: Q1 L1 \
7 }  r  {+ p. O- m) o/ K
# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
) E" Z8 ^- r0 F' F7 o
' M! \  G# ]9 x! h2 s
# The default is "off". For DHT to work, a session directory must be defined.
/ p& k# Y- R1 n/ r0 d
  W, R7 L* x8 F/ N, {' d
#* b: f% N  w/ |7 N! D+ ?0 ]8 M& W* u

9 s3 n, E4 A- x# dht = auto
* f5 u& y5 H# _) R6 w: X
* ]+ o" H8 R. j" e/ K/ v2 z
. X! r  U  b) z& u! |# P! X
use_udp_trackers=yes(???)
* _& b) l: f0 v! L5 q4 @) c8 d+ m& sencoding_list=UTF-8(设置中文)+ O  G, s7 b9 o! x
umask=0000(设置权限)( K) e3 J1 q3 o; W6 G
dht=on(设置监听on)
" `+ p; m* {3 n; wdht_port=6778(监听端口)3 h, u  ]9 N3 q
peer_exchange=yes(种子交换)0 U6 B. q0 h. Z" Q7 W" T
#scgi_port = :5000% q- V6 X7 l' e

6 L" t$ H; a* ?% \3 U; S7 [! f# UDP port to use for DHT.* N# \8 M9 S: P- }
$ v0 e8 d+ p1 g) m
- i1 E; X$ {! H. P
#7 r( s% i3 M6 J+ |9 j9 U; c

. k; p; q% m3 m* R1 M! q# dht_port = 6881+ w4 z7 @2 W8 \7 b
& e6 ?) i# M' x' U7 G! \' x" _
: B- ]0 ?3 D6 S

" D! k- k$ u: \( Y
* ~; }  T) k7 V/ W7 D
# Enable peer exchange (for torrents not marked private)8 T9 P) m' L! U9 q% [' [  K$ T  W

; l* k% ]" p+ F4 u#
! |5 n+ N0 }: e, j, U

; b) Y% n1 D0 v! {4 e# peer_exchange = yes, D8 {, A" c# i: J$ W5 M( j9 |
% D# Z  ]- E3 ]1 p0 Y

8 l  _0 k5 {2 a: R3 K                                                                                    . b' I# _" ~9 y9 J
#  ?- h' ]) L, T3 p4 z2 f' `* M0 y

' _9 y9 u% F' n. ]0 w* s: W# Do not modify the following parameters unless you know what you're doing.
4 z: B) c0 ]+ I9 S' U/ a* ^! T5 v0 }0 {2 [+ j
- M! N+ ?9 r- G7 x
#
; z9 R; G; a4 w" K- T) F
9 A, C3 {  W; W8 u
scgi_port = 127.0.0.1:50006 s  j( o3 q9 S$ u" E* ~3 v* G5 }
(设置GUI)

本帖子中包含更多资源

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

×
回复

使用道具 举报

 楼主| 发表于 2008-4-28 05:16:30 | 显示全部楼层
/opt/etc/init.d/S99local
: n! i8 w" e9 V' l- c$ Z
* l1 s" D0 l, t: U5 [#!/bin/sh* F8 b' F4 b. N! x# @

% r) z0 e7 T$ W4 ?. y
% S) |5 S" x8 k2 @( Y0 P7 V
2 [+ a# l$ p1 K4 Q7 |. B/ u+ B
8 v, t8 d9 C: j
export PATH=/opt/bin:/opt/sbin:${PATH}  q9 u; Y9 Q6 h+ o! ?) Q3 ^

, Q: o, o) A7 v/ J  L, N) R8 v# f1 dexport LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}4 {+ g) n/ T: W7 x9 o
: K! G) |5 v2 v) `+ r

0 ~  h; ^! y+ k# B$ ]# Y; d0 }export HOME=/opt/root* _- [/ V0 d3 T0 N9 q# m6 E0 D
! s  n) B9 b0 s$ f
export LC_ALL=zh_CN.UTF-8% H, E  h( a2 L) N

4 j! p! y' x! i

2 l  c8 P1 S+ `' Putelnetd -p 2323 &' E0 ?2 x) q1 b

! V, I$ o5 v; F/opt/bin/screen -d -m /opt/bin/rtorrent -n -o import=/opt/root/.rtorrent.rc
- f1 y$ [9 X0 Y4 C' [
( v7 t' P9 u- n6 z9 D
vsftpd
! b+ X" X+ X1 R
(必须放在最后一行)$ M0 h% W0 G- |

# _. ~9 J, H9 k, Q8 s) c
( m% a$ {% }* a! y& b) O/ 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-10-2 12:50

Powered by Discuz! X5.0 Licensed

© 2001-2026 Discuz! Team.

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