aMule Forum
English => aMule Help => Topic started by: Urbanus on January 25, 2004, 08:52:46 PM
-
Hi,
I just replaced my xmule with amule and do like it a lot (although the cpu usage is a little bit higher). One feature I really like is the remote control via amulecmd. Unfortunately the documentation seems to be improvable ;-)
I jsut tried to connect to the computer running amule from another pc using amulecmd (Debian unstable) and it doesn't work. I searched for some options to activate connections to amule but I didn't found anything?!
Does somebody know which options I have to enable so that connecting from another machine works?
-
deltaHF@deltahf:~/file/amule-cvs/src> ./amulecmd
This is amulecmd (TextClient)
Enter password for mule connection (return if no pass defined):
Creating client...
Now, doing connection....
Using host localhost port /home/deltaHF/.aMule/muleconn
---------------------------------
| aMule text client |
---------------------------------
Use 'Help' for command list
aMule$ help
->Help: Avalaible commands :
Quit: Exits Textclient. Syns: quit, Exit, exit
Help: Shows this help. Syns: help
Stats: Shows statistics. Syns: stats
Show DL: Shows Download queue
Resume n: Resume file number n. Syns: resume
Pause n: Pauses file number n. Syns: pause
ServerStatus: Tell us if connected/not connected. Syns: serverstatus
Connect: Tries to connect to any server. Syns: connect
WARNING: Doesn't warn if failed
.Disconnect: Disconnect from server. Syns: disconnect
->End of listing
aMule$ stats
Statistics:
Downloading files: 2
Found sources: 588
Active downloads: 3
Active Uploads: 8
Users on upload queue: 793
aMule$
i hope it w'll help you ;)
..and u can try webserver too (actually, it works in cvs only)
greets
-
Mmh, think I wasn't clear enough :rolleyes:. Connecting with amule from the machine that runs amule is working. But if I try to connect from another machine on my local network I get the following error:
cpblu01@beutelsend:~/.aMule$ amulecmd --remote-host=minasmorgul --port=4713
This is amulecmd (TextClient)
Enter password for mule connection (return if no pass defined):
Creating client...
Now, doing connection....
Using host minasmorgul port 4713
aMule is not running, not accepting connections or wrong password supplied
cpblu01@beutelsend:~/.aMule$
If I try it with amulecmdDLG I get the same error.
So far there seems to be no password (does it work the same way as for the webserver?). Now the following questions:
- is the feature to connect from another machine already implemented?
- if yes, do I have to twak the config file so that it works (like for the webserver)?
Thanks for answers of any kind!
-
for webserver see my sig (and don't forget to compile cvs for it)..
well, i dunno how to use amulecmd from remote machine cos i never needed it.. sorry :(
i guess u'll have to wait for Kry ..
-
OK, thanks so far. Especially for the very fast response! Webserver takes too much resources on my little machine (P1 MMX@166), so I am more interested in the command line version :P
-
on .eMule
[ExternalConnect]
AcceptExternalConnections=1
ECUseTCPPort=1
ECPort=whatever port you want
ECPassword=whateveryoumakeusingmd5sum
-
Thanks, that helped a lot!
-
We're here for help :)
-
Hi there,
may I also ask a question about amulecmd(DLG)
Amule is running on another pc in my network.
When trying to connect the following error occurs:
using host 192.168.0.1 (my internal IP) port 4712
aMule is not running...
The .emule-File contains the following section:
[ExternalConnect]
AcceptExternalConnections=1
ECUseTCPPort=0
ECPort=4712
ECPassword=
DlgTabsOnTop=0
IpFilterOn=1
UseSrcSeeds=0
ShowProgressBar=1
ShowPercent=0
ExtractMetaDataTags=0
UseSecIdent=1
what do i have to change that amulecmd is running? (btw: the network is doing fine, th ip's are correct)
Thanks a lot
greetings
-
ECUseTCPPort=0
:P
-
that could be the shortest answer i've ever received :D but I couldn't really handle it...
When I try to connect with port 0, amulecmdDLG freezes (or wasn't I patient enopugh?)
I tried to set this port on 1, but also there was no connection available.
At time I'm using a quickanddirty-solution: setting up an ssh-Konsole ans starting amulecmd, that works. but the graphic interface is also not working.
I#ve got another idea how to use amule from the remote computer, but I don't now how to (linux-newbie :)) )
It is possible to start amule with an x11-forwarding, but it is alos possible, to start amule without forwarding and, when i want to change anything, bring it on the remote x11-display? The background is to use the "main" pc for everything, especialy playing and for that I don't want to abort my downloads. Could someone give me a hint, how to do this? (or just give me the keywords to google for :])
bye
-
ECUseTCPPort=0
ECPort=4712
That was what I was pointing out.
You have ECUseTCPPort=0, and it should be 1 if you want to use the TCP port ;)
so set it to 1 and ECPort leave at 4712, and retry.
-
I hope this fits somehow into this thread ...
If I understand the previous posts correctly, there are 3 possibilities to connect to the machine running aMule:
* use VNC and let aMule run in a VNC-Session (this is the way I'm using it at the moment). This is pretty uncomfortable because VNC doesn't support Copy & Paste with Windows-clients (and it doesn't work so good with *nix clients too).
* use the web-interface (not my favourite, too)
* use amulecmd (I didn't try that yet)
What I want to achieve is a behaviour similar to eMule on Windows: I open a page in my browser and just click on the ed2k:// links. Then these links should be send to the aMule running on another machine in the local network.
The important thing is: This should work with windows browsers and with *nix browsers too, so one should implement it for Netscape/Mozilla.
I have seen this working with mldonkey via a mldonkey protocol handler for Mozilla.
I would very much like to put some work into that as I think it could be useful for many people; is there a short description of the commands available one must send to aMule to start a download like the amulecmd does?
Greetz,
sleeper
-
I swear EC documentation will exist.
Just wait, plese. or look at code or ask shakraw on #amule at irc.freenode.net
-
I swear EC documentation will exist.
:-) writing docs is a problem I just know too good...
could you point to the right direction where to look for the command list in the code (module/file) ?