Solved

How does amulecmd works ? i can't connect to it.

Posted on 2008-10-27
4
1,001 Views
Last Modified: 2012-06-27
Hello all :)

I'm using linux fc9, i've installed amule, and i want to control it from the amulecmd command.
when i run the /usr/sbin/amulecmd It ask for a password - and i don't know how to define it in the running amule except the amule.conf file ( - and i also have a lot of fields for password....)

and then it just stuck on "Creating client..." and exit on Timeout ....

how to make it work ?

Thanks.


0
Comment
Question by:sysbezeqint
  • 3
4 Comments
 
LVL 23

Expert Comment

by:Mysidia
Comment Utility
See instructions for  configuring aMuleCMD on the wiki:
http://www.amule.org/wiki/index.php/AMuleCMD

Open amule.conf in a text editor and find the
[ExternalConnect]
section

Find the line that starts with
ECPassword=


and set  it accordingly.


Then generate a   remote.conf  file in your  .aMule directory if you have not
use the instructions at the above URL

but essentially the command line given is
''
    amulecmd --create-config-from=/home/username/.aMule/amule.conf
''
on a local system
or
''
    amulecmd -h hostname -p ECport -P ECpassword -w
''
on a remote system.
0
 

Author Comment

by:sysbezeqint
Comment Utility
that's what i did and it doesn't work ...

they're both on the same computer.
i'm loading one amule, in the X window.

and from ssh connection i want to run amulecmd, and it gave me the "Creating client..." line
and exit on Timeout ....
0
 

Author Comment

by:sysbezeqint
Comment Utility
I did strace to that command

connect(3, {sa_family=AF_INET, sin_port=htons(1234), sin_addr=inet_addr("82.81.25.39")}, 16) = -1 EINPROGRESS (Operation now in progress)

gettimeofday({1225610088, 207030}, NULL) = 0

open("/etc/localtime", O_RDONLY)        = 4

fstat64(4, {st_mode=S_IFREG|0644, st_size=2197, ...}) = 0

fstat64(4, {st_mode=S_IFREG|0644, st_size=2197, ...}) = 0

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f7b000

read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., 4096) = 2197

_llseek(4, -2, [2195], SEEK_CUR)        = 0

read(4, "\n\n", 4096)                   = 2

close(4)                                = 0

munmap(0xb7f7b000, 4096)                = 0

select(4, [3], [3], [3], {0, 50000})    = 0 (Timeout)

gettimeofday({1225610088, 261505}, NULL) = 0

select(4, [3], [3], [3], {0, 50000})    = 0 (Timeout)

gettimeofday({1225610088, 312712}, NULL) = 0

select(4, [3], [3], [3], {0, 50000})    = 0 (Timeout)

gettimeofday({1225610088, 364511}, NULL) = 0

select(4, [3], [3], [3], {0, 50000})    = 0 (Timeout)

gettimeofday({1225610088, 416843}, NULL) = 0

select(4, [3], [3], [3], {0, 50000})    = 0 (Timeout)

gettimeofday({1225610088, 468712}, NULL) = 0

Open in new window

0
 

Accepted Solution

by:
sysbezeqint earned 0 total points
Comment Utility
Sorry, found the probelm ....

in the amule.conf file - i need to put MD5 password
and run amulecmd -P <my password> when some amule is up (either amule with GUI / amuled)
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article describes how to use the timestamp of existing data in a database to allow Tableau to calculate the prior work day instead of relying on case statements or if statements to calculate the days of the week.
If your app took Google’s lash recently, here are the 5 most likely reasons.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now