Visit:
https://wiki.amule.org/wiki/AMuleCMD
https://rootsudo.wordpress.com/2016/06/05/amule-en-servidor-amuled-amulecmd-y-amuleweb-en-raspberry-pi/
https://unbrutocondebian.blogspot.com/2011/03/amuled-el-demonio-de-amule.html
Baya is a graphic interface for amulecmd.
Baya this develops in java 1.8 so you need a jvm 1.8 or higher.
What is amulecmd? An Amule control program by console.
Every many generations, the stars align and collide with wxwidget, Xorg and the Linux kernel,
causing aMule to stop working and shut down or collapse at will.
That's at least what's happening to me, and my aMule is shutting down or making the equipment unbearable.
The solution seems to be to compile the latest version of Wxwidget, but so far,
I have been unable to, so I have looked for an alternative to aMule. It is amuled, the devil
which handles the downloads and is operated from the command line.
But of course, handling it from the command line is quite cumbersome,
my solution was to create a very basic graphical interface for amulecmd called 'Baya'.
The first thing is to install amuled either from Synaptic or with aptitude.
Both applications are in the repositories and do not offer any problem to install, so so far, everything is easy.
sudo apt-get update
sudo apt-get install amule
sudo apt-get install amule-daemon
Now we open the terminal, and run for the first time amuled,
which will surely give us an error because of the external connections.
No problem. Let's assume that until now we used aMule, so we opened it,
we go to "Options" and "Remote Control" options.
Here we check the box "Accept external connections" and put a password.
Save the changes and close aMule.
Manual configuration of amulecmd.
On a console or terminal write
cd .aMule
Here is the configuration file amule.conf.
Please note that this is the general configuration file of the aMule.
In my case, as I already had installed the normal aMule, with its GUI, because it is already configured
with all port data open on the router, download folder paths, etc.
Maybe a good trick to easily configure all that if you don't want to do it directly in the amule.conf
is to open the normal aMule and configure it.
We return to the terminal, and launch amuled again, which will now take the options that we had previously configured in aMule,
including remote control access.
The point is that here I will only add the changes we need to make it work amuled. These would be these:
first you have to create a security password to work with the amuled, it's done like this:
echo -n contraseña | md5sum
Where "password" is the one you put. The console will answer you with an alphanumeric key that is best copied into a document
separate text. Something like "d41d8cd98f00b204e9800998ecf8427e -"
we edit the amule.conf file
nano amule.conf
Now, let's find the text“AcceptExternalConnections=”
We changed accepting external connections from 0 to 1.
AcceptExternalConnections=1
We look for "ECPassword=" that's where we have to copy the code from before, like this:
ECPassword=d41d8cd98f00b204e9800998ecf8427e
(attention, DO NOT copy the space or the script that the console gave us before)
one more field to change is "Password="
Password=Password (here the normal password we put when creating the alphanumeric code)
Baya (which was the name of a mule my uncles had) is just a graphic interpreter of amulecmd
Remember in an interpreter when you throw a command you can't throw another one until it finishes responding to you.
1-Start amuled
I like to launch it from a console, I don't have it installed as a service (I know when it shuts down)
>amuled
Testing amulecmd
>amulecmd -h xxx.xxx.x.xxx -P password
Where xxx.xxx.x.xxx is the ip of your host.
2 - The client is launched, from a console, like this:
> java -jar baya.swing.jar
Here you will get a small window write 'mulecmd -h xxx.xxx.xxx.xxx -P password
And to work.
To configure a static ip in the Raspberry pi I help me this link;
ttps://raspberrypi.stackexchange.com/questions/37920/how-do-i-set-up-networking-wifi-static-ip-address/74428#74428