Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1309504
  • 博文数量: 268
  • 博客积分: 10698
  • 博客等级: 上将
  • 技术积分: 2867
  • 用 户 组: 普通用户
  • 注册时间: 2007-07-14 22:21
文章分类

全部博文(268)

文章存档

2012年(19)

2011年(13)

2010年(29)

2009年(26)

2008年(99)

2007年(82)

我的朋友

分类: LINUX

2008-05-07 03:47:51

amulecmd是aMule的命令行操作与管理程序。首先,为了拥有amuled 与 amulecmd 两个可执行文件,要在编译的时候指定:
# ./configure --enable-amulecmd --enable-amule-daemon

必须把一个用md5加密过的密码写在配置文件中,实际上本地执行amulecmd的时候不需要密码验证,但如果amulecmd问密码,那么一定是没有设置。
# echo -n "password" | md5sum
填上 ~/.aMule/amule.conf 中的下面两行:
AcceptExternalConnections=1
ECPassword=xxxxxxxxxxxxxxxxxxxxxxxxxxxx

产生remote.conf文件:
# amulecmd --create-config-from=~/.aMule/amule.conf

运行守护进程:
# amuled -f
运行管理程序:
# amulecmd
This is amulecmd SVN Sun Apr 27 07:01:42 CEST 2008
Creating client...
Succeeded! Connection established to aMule SVN
---------------------------------------
| aMule text client |
---------------------------------------
Use 'Help' for command list
aMulecmd$

出现了提示符aMulecmd$ ,下面添加服务器:
aMulecmd$ add ed2k://|server|85.17.52.124|5000|
> Operation was successful.
aMulecmd$ add ed2k://|server|85.17.52.92|5000|
> Operation was successful.

连接:
aMulecmd$ connect
> Connecting to ED2K...
> Connecting to Kad...

查看状态:
aMulecmd$ status
> ED2K: Connected to 85.17.52.124 [85.17.52.124:5000] with HighID
> Kad: Not connected
> Download: 0 bytes/sec
> Upload: 13 bytes/sec
> Clients in queue: 0
> Total sources: 0

已经连接成功。可以象添加服务器那样用add来添加ed2k文件了。

查看下载情况: aMulecmd$ show dl
查看上传情况: aMulecmd$ show ul
查看服务器:aMulecmd$ show servers
限置上传带宽:aMulecmd$ set bwlimit up 30
阅读(2976) | 评论(0) | 转发(0) |
0

上一篇:ettercap之数据包嗅探

下一篇:Perl 与 Python

给主人留下些什么吧!~~