=|HERO|=PowerDe 发表于 2008-4-28 05:11:14

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

功能强大的离谱,正在研究,该机可以实现BT下载(任意大小,支持中英文),FTP下载(暂时不知道如何设置权限),电驴下载(只能一个一个输入,且单文件无法超过4G,),花生壳,无论你在哪,都能找到自己家电脑;网上邻居,网络打印机(支持USB打印机,也就是每台机都能通过网络打印)
非常小,非常省电,还有一个很好的优点:你开了BT+电驴,其他电脑上网和QQ都非常流畅,不像现在的BITCOMET、迅雷和EMULE,一开了就别想上网。
大小长25,宽15,高5CM左右,和一个3.5寸硬盘盒一样大小,接路由器和电源就能用。安装完毕后所有操作基于TELNET和网页。
还能构建HTTP和SQL论坛,这项我还没头绪。
上个图。

=|HERO|=Archer 发表于 2008-4-28 05:12:24

皮蛋不用睡觉

=|HERO|=PowerDe 发表于 2008-4-28 05:13:31

留点备用查询

一、硬盘重新写0
1、如果MSS正常,则执行
dd if=/dev/zero of=/dev/ide/host2/bus0/target0/lun0/disc;
2、如果硬盘刚启用,则插盘清除分区后,用winhex清0。
二、改本地连接
ip 192.168.1.2 网关192.168.1.1
三、执行nasload.exe

用户名admin,密码空
四、设置机器名称,用户组名称,IP
五、刷新2.6.5
六、建立一个down文件夹
七、telnet 192.168.0.88
ipkg update
ipkg list
ipkg install dropbear
ipkg install busybox
修改root 密码
/opt/bin/passwd root

八、使用进入
cp /opt/bin/busybox /opt/
(将busybox从/opt/bin文件中复制到/opt/)

安装oleg
(1).将下载的opt.tar.gz放在mss的共享目录中(通过网上邻居进入,放在Public文件中)
(2).在根目录下执行/opt/bin/busybox tar zxvf /shares/mss-hdd/Public/opt.tar.gz
(3).执行下面两条命令
export PATH=/opt/bin:${PATH}
export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}
(4)将busybox恢复到/opt/bin目录下
cp /opt/busybox /opt/bin/

九、5. 安装和配置rtorrent(bt客户端)
(1)安装
ipkg update
ipkg install rtorrent


(2)设置
(3)
mkdir /opt/root
cp /opt/etc/rtorrent.conf /opt/root/.rtorrent.rc
export HOME=/opt/root
rtorrent
看是否成功

ipkg install screen


screen
然后回车
rtorrent
ctrl+a然后+d,隐藏界面
十、安装配置vsftpd(FTP服务器)
ipkg install vsftpd

/opt/bin/passwd 用户名
修改用户名登录目录
vi /etc/passwd

添加可以登录FTP服务器的用户名
vi /opt/etc/vsftpd.user_list
添加要登录FTP的用户名称
配置FTP服务
vi /opt/etc/vsftpd.conf
在最后加上一行:


在/opt/etc中建立文件
mkdir vsftpd_user_config
进入该目录
cd vsftpd_user_config
建立两个和用户名相同的文件
vi 用户名
在只读权限用户里面添加

重新启动硬盘盒

十一、设置动态dns
ipkg update
ipkg install inadyn
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

十二、电驴
将mlnet.rar内的optlib.tar.gz放到MSS的Public目录里
/opt/bin/tar zxvf /shares/mss-hdd/Public/optlib.tar.gz
cp /shares/mss-hdd/Public/mlnet.lite /opt/bin
chmod +x /opt/bin/mlnet.lite
vi /opt/etc/init.d/mlnet
#!/bin/sh
if [ -n "`pidof mlnet.lite`" ]; then

echo "Kill old program..."

killall mlnet.lite&

sleep 10
fi
export HOME=/opt/root
export LC_ALL=zh_CN.UTF-8
rm /opt/root/.mldonkey/*.tmp 2>/dev/null
rm /opt/root/.mldonkey/mlnet.log 2>/dev/null
rm /opt/root/.mldonkey/*.pid 2>/dev/null
/opt/bin/mlnet.lite&

chmod +x /opt/etc/init.d/mlnet

执行/opt/etc/init.d/mlnet
命令killall mlnet.lite

解压缩以后得到servers.ini和downloads.ini用 Winscp扔到/opt/root/.mldonkey下面覆盖源文件

vi /opt/root/.mldonkey
修改356和408行
temp_directory = temp
记得加""双引号如 temp_directory = "/shares/mss-hdd/Public/mlnet/temp"
修改第408行 dirname = "incoming/files"
如 dirname = "/shares/mss-hdd/Public/mlnet/files"
运行/opt/etc/init.d/mlnet

=|HERO|=PowerDe 发表于 2008-4-28 05:15:16

我的MSS-BT的CONF.doc

/opt/etc/rtorrent.conf
/opt/root/.rtorrent.rc

# This is an example resource file for rTorrent. Copy to
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
# uncomment the options you wish to enable.

# Minumum amount of peers to connect per torrent, if available.(最小种子)
min_peers = 40

# Minumum amount of peers to connect per torrent.(最大种子)
max_peers = 250

# Same as above but for seeding completed torrents (-1 = same as downloading)
#min_peers_seed = 10
#max_peers_seed = 50

# Maximum number of simultanious uploads per torrent.(最大上传种子)
max_uploads = 15

# Global download rate in KiB. "0" for unlimited.(下载速率)
download_rate = 200

# Global upload rate in KiB. "0" for unlimited.(上传速率)
upload_rate = 30

# Default directory to save downloaded files. Note it doesn't support
# space yet.
directory = /shares/mss-hdd/down

# Watch a directory for new torrents, and stop those that have been deleted.

schedule = untied_directory,5,5,stop_untied=

# Close torrents when diskspace is low.
#schedule = low_diskspace,5,60,close_low_diskspace=100M

# Default session directory. Make sure you don't run multiple instance
# of rtorrent using the same session directory. Perhaps using a
# relative path?
session = /shares/mss-hdd/down/session
schedule = watch_directory,5,5,load_start=/shares/mss-hdd/down/torrent/*.torrent

# The ip address reported to the tracker.

#ip = rakshasa




# The ip address the listening socket and outgoing connections is

# bound to.

#bind = rakshasa


                                                                              
# Port range to use for listening.

port_range = 51777-51780




# Start opening ports at a random position within the port range.

#port_random = no




# Check hash for finished torrents. Might be usefull until the bug is

# fixed that causes lack of diskspace not to be properly reported.

#check_hash = no


                                                                              
# Set whetever the client should try to connect to UDP trackers.

#use_udp_trackers = yes


                                                                     
# Alternative calls to bind and ip that should handle dynamic ip's.

#schedule = ip_tick,0,1800,ip=rakshasa

#schedule = bind_tick,0,1800,bind=rakshasa

                                                                              
#

# Do not modify the following parameters unless you know what you're doing.

#

                                                                           
# Hash read-ahead controls how many MB to request the kernel to read

# ahead. If the value is too low the disk may not be fully utilized,

# while if too high the kernel might not be able to keep the read

# pages in memory thus end up trashing.

#hash_read_ahead = 10

                                                                              
# Interval between attempts to check the hash, in milliseconds.

#hash_interval = 100

                                                                              
# Number of attempts to check the hash while using the mincore status,

# before forcing. Overworked systems might need lower values to get a

# decent hash checking rate.

#hash_max_tries = 10




# Max number of files to keep open simultaniously.

#max_open_files = 128




# Number of sockets to simultaneously keep open.

#max_open_sockets = <no default>

                                                                              



# Example of scheduling commands: Switch between two ip's every 5

# seconds.

#schedule = "ip_tick1,5,10,ip=torretta"

#schedule = "ip_tick2,10,10,ip=lampedusa"

                                                                              
# Remove a scheduled event.


#schedule_remove = "ip_tick1"

                                                                              
# Stop torrents when reaching upload ratio in percent,


# when also reaching total upload in bytes, or when

# reaching final upload ratio in percent.

# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0

#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"

schedule = ratio,30,60,stop_on_ratio=200

                                                                              



# Encryption options, set to none (default) or any combination of the following:

# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
#


# The example value allows incoming encrypted connections, starts unencrypted

# outgoing connections but retries with encryption if they fail, preferring

# plaintext to RC4 encryption after the encrypted handshake

#

# encryption = allow_incoming,enable_retry,prefer_plaintext




# Enable DHT support for trackerless torrents or when all trackers are down.

# May be set to "disable" (completely disable DHT), "off" (do not start DHT),

# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).

# decent hash checking rate.

#hash_max_tries = 10




# Max number of files to keep open simultaniously.

#max_open_files = 128




# Number of sockets to simultaneously keep open.

#max_open_sockets = <no default>




                                                                           
# Example of scheduling commands: Switch between two ip's every 5

# seconds.

#schedule = "ip_tick1,5,10,ip=torretta"

#schedule = "ip_tick2,10,10,ip=lampedusa"

                                                                              
# Remove a scheduled event.


#schedule_remove = "ip_tick1"

                                                                              
# Stop torrents when reaching upload ratio in percent,

# when also reaching total upload in bytes, or when

# reaching final upload ratio in percent.

# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0

#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"

schedule = ratio,30,60,stop_on_ratio=200

                                                                              



# Encryption options, set to none (default) or any combination of the following:

# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
#


# The example value allows incoming encrypted connections, starts unencrypted

# outgoing connections but retries with encryption if they fail, preferring

# plaintext to RC4 encryption after the encrypted handshake

#

# encryption = allow_incoming,enable_retry,prefer_plaintext




# Enable DHT support for trackerless torrents or when all trackers are down.

# May be set to "disable" (completely disable DHT), "off" (do not start DHT),

# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).

# The default is "off". For DHT to work, a session directory must be defined.

#

# dht = auto


use_udp_trackers=yes(???)
encoding_list=UTF-8(设置中文)
umask=0000(设置权限)
dht=on(设置监听on)
dht_port=6778(监听端口)
peer_exchange=yes(种子交换)
#scgi_port = :5000

# UDP port to use for DHT.


#

# dht_port = 6881




# Enable peer exchange (for torrents not marked private)

#

# peer_exchange = yes


                                                                                    
#

# Do not modify the following parameters unless you know what you're doing.


#

scgi_port = 127.0.0.1:5000
(设置GUI)

=|HERO|=PowerDe 发表于 2008-4-28 05:16:30

/opt/etc/init.d/S99local

#!/bin/sh




export PATH=/opt/bin:/opt/sbin:${PATH}

export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}


export HOME=/opt/root

export LC_ALL=zh_CN.UTF-8


utelnetd -p 2323 &

/opt/bin/screen -d -m /opt/bin/rtorrent -n -o import=/opt/root/.rtorrent.rc

vsftpd
(必须放在最后一行)


=|HERO|=Nia56 发表于 2008-4-28 08:09:20

电脑?

=|HERO|=Toxican 发表于 2008-4-28 10:14:04

什么情况?

=|HERO|=panda 发表于 2008-4-28 16:09:45

鸟人,我在搞华硕的500gd,openwrt。。。

=|HERO|=PowerDe 发表于 2008-4-29 11:47:38

主要我这个内存太小,搞到128就差不多。

stephenli 发表于 2008-4-30 11:05:44

网络存储器
页: [1]
查看完整版本: MSS资料备查,要买的联系我,可以单机BT+FTP+电驴+花生壳+网上邻居+网络打印机