Chinaunix首页 | 论坛 | 博客
  • 博客访问: 92651576
  • 博文数量: 19283
  • 博客积分: 9968
  • 博客等级: 上将
  • 技术积分: 196062
  • 用 户 组: 普通用户
  • 注册时间: 2007-02-07 14:28
文章分类

全部博文(19283)

文章存档

2011年(1)

2009年(125)

2008年(19094)

2007年(63)

分类: LINUX

2008-05-08 13:12:22

作者: tvnet  出自:
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
阅读(328) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~