Solved

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

Posted on 2008-10-27
4
1,027 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
Fine Tune your automatic Updates for Ubuntu / Debian
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…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

773 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