aMule Forum
English => aMule Help => Topic started by: antcasq on June 16, 2005, 11:50:12 PM
-
I'm trying to use amulecmd to change the bandwidth like stated in http://forum.amule.org/thread.php?threadid=4828&sid=&
The idea is the use the crontab to add a task that will reduce or increse the upload/download bandwidth based on time.
So I wish to increse from 3 am to 9 am an decrease between 9 am and 3 am.
I have 3 problems:
1 -Every time I run "amulecmd" from a terminal, it asks me for the host, port and password in a GUI!
I need the script to do the job, so I can schedule it, without showing a GUI and waiting for user input.
2- Even if I had to use a GUI I always get an error connecting:
Creating client...
Now, doing connection....
Using host 'localhost' port: 4712
Trying to connect (timeout = 10 sec)...
Connection Failed. Unable to connect to the specified host
I shutdown the firewall and I still wasn't able to connect.
3- When I execute amulecmd --help in the terminal, it does show any option to send a command to emule!?!?
How can I send the command 'amulecmd -c "setdownbwlimit 2"' if the option "-c" is not supported?
Thanks in advance
-
c&p:
amulecmd --version
-
./amulecmd --help
Usage: amulecmd [--help] [-h ] [-p ] [-P ] [-f ] [-q] [-v] [-l ] [-w] [--create-config-from ] [--version] [-c ]
--help Show this help text.
-h, --host= Host where aMule is running. (default: localhost)
-p, --port= aMule's port for External Connection. (default: 4712)
-P, --password= External Connection password.
-f, --config-file= Read configuration from file.
-q, --quiet Do not print any output to stdout.
-v, --verbose Be verbose - show also debug messages.
-l, --locale= Sets program locale (language).
-w, --write-config Write command line options to config file.
--create-config-from= Creates config file based on aMule's config file.
--version Print program version.
-c, --command= Execute and exit.
antcasq: I think you using so match old version
-
Sorry, when I created the thread I specified the amule version in the combobox, so I thought it was visible.
When I type "amulecmd --help":
=ยป amulecmd 2.0.2 using wxGTK2 v2.5.2
And the "-c" option doesn't show
The GUI always opens!?!? Is my version of amule cracked or something?
-
There are two versions of amulecmd: a command-line version called amulecmd, and a GUI version called amulecmdDLG. The -c option is only supported by the command-line version.
From the above, I think you only have the GUI version, renamed to amulecmd.
Did you install amule from a package or compiled yourself? In the first case which package?
-
I think I instaled Amule from: http://packman.iu-bremen.de/ but I'm not sure because I also instaled some software via Red Carpet.
After uninstaling amule 2.0.2 and installed 2.0.3 from Sourceforge, I worked OK.
Thanks
-
hi,
use always packages from our dl page. we don't support any other ;)
cheers