Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2008-10-27
4
1,031 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
ID: 22817878
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
ID: 22830070
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
ID: 22860506
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
ID: 22874244
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Healthcare organizations in the United States must adhere to the guidance of both the HIPAA (Health Insurance Portability and Accountability Act) and HITECH (Health Information Technology for Economic and Clinical Health Act) for securing and protec…
In this article, you will read about the trends across the human resources departments for the upcoming year. Some of them include improving employee experience, adopting new technologies, using HR software to its full extent, and integrating artifi…
Using Adobe Premiere Pro, the viewer will learn how to set up a sequence with proper settings, importing pictures, rendering, and exporting the finished product.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

861 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