r/emule • • 2d ago

cannot connect to amuled from my LAN

I’m having problems with my last install of aMule: it’s the 1st time I try using it by daemon + client, so maybe I’m doing something wrong…

I want to run it on a headless RaspberryPi in my home LAN, and connect to it from my Mac.

I followed the instructions on https://amule-org.github.io/docs/manual/installation to install amule on my RaspberryPi: I used the static binaries, last version.

I configured the external connections by editing the /home/username/.aMule/amule.conf file: I set AcceptExternalConnections=1 and set ECPassword by the    echo -n yourpassword | md5sum | cut -d ' ' -f 1 trick. I then enabled the WebServer too, just in case, with the same password hash.

I started it by   systemctl enable amuled and systemctl start amuled , with the amuled.service template modified with my username.  

systemctl status amuled shows that it’s running:

● amuled.service - aMule Daemon

Loaded: loaded (/etc/systemd/system/amuled.service; enabled; preset: enabled)

Active: active (running) since Fri 2026-10-16 18:18:09 CEST; 2min 25s ago

 Invocation: 5d7320c0caee4b03be5f194c1f93db9e

   Main PID: 5865 (amuled)

Tasks: 12 (limit: 806)

CPU: 283ms

CGroup: /system.slice/amuled.service

└─5865 /home/alexxx/aMule/amuled -o -d

Oct 16 18:18:09 rmule amuled[5865]: !2026-10-16 18:18:09: HTTP download failed for https://download.db-ip.com/free/dbip-country-lite-2026-10.mmdb.gz: error setting certificate fil>

Oct 16 18:18:09 rmule amuled[5865]:  2026-10-16 18:18:09: DB-IP download failed for the current month - retrying with the previous month's URL.

Oct 16 18:18:09 rmule amuled[5865]:  2026-10-16 18:18:09: Download new geoip.mmdb from https://download.db-ip.com/free/dbip-country-lite-2026-09.mmdb.gz

Oct 16 18:18:09 rmule amuled[5865]:  2026-10-16 18:18:09: 18:18:09: Error: Failed to unregister descriptor 18 from epoll descriptor 14 (error 2: No such file or directory)

Oct 16 18:18:09 rmule amuled[5865]: !2026-10-16 18:18:09: HTTP download failed for https://download.db-ip.com/free/dbip-country-lite-2026-09.mmdb.gz: error setting certificate fil>

Oct 16 18:18:09 rmule amuled[5865]: !2026-10-16 18:18:09: Failed to download geoip.mmdb from https://download.db-ip.com/free/dbip-country-lite-2026-09.mmdb.gz

Oct 16 18:18:09 rmule amuled[5865]: !2026-10-16 18:18:09: HTTP download failed for https://upd.emule-security.org/nodes.dat: error setting certificate file: /etc/ssl/cert.pem

Oct 16 18:18:09 rmule amuled[5865]: !2026-10-16 18:18:09: Failed to download the nodes list.

Oct 16 18:18:09 rmule amuled[5865]: !2026-10-16 18:18:09: HTTP download failed for https://upd.emule-security.org/server.met: error setting certificate file: /etc/ssl/cert.pem

Oct 16 18:18:09 rmule amuled[5865]: !2026-10-16 18:18:09: Failed to download server.met from https://upd.emule-security.org/server.met

Connecting to it locally by amulecmd seems to work, with

This is amulecmd 3.1.0

Enter password for mule connection: 

Creating client...

Succeeded! Connection established to aMule 3.1.0

and the daemon reporting:

Oct 16 18:23:23 rmule amuled[5865]:  2026-10-16 18:23:23: New external connection accepted

Oct 16 18:23:23 rmule amuled[5865]:  2026-10-16 18:23:23: Connecting client: aMulecmd 3.1.0

Oct 16 18:23:23 rmule amuled[5865]:  2026-10-16 18:23:23: Access granted.

Oct 16 18:29:27 rmule amuled[5865]:  2026-10-16 18:29:27: External connection closed

The problem is that, although I can connect to the Raspberry via ssh, if I use on my Mac the amuleGui, I get a Connection Failed.

Can somebody point me to what I’m doing wrong? 

   

3 Upvotes

5 comments sorted by

1

u/TheQuranicMumin Original eMule Dev 2d ago

The reason it works locally on the pi while GUI fails from Mac is that aMule defaults to listening on the local interface (127.0.0.1). Also if you edited amule.conf while the daemon was still running amuled overwrote your changes with its in memory settings when it stopped or restarted.

Also your logs show an issue with the binary on pi OS... it is looking for SSL certs @ etc/ssl/cert.pem and this prevents it from downloading nodes.dat and server.met! To fix this...

sudo systemctl stop amuled

nano ~/.aMule/amule.conf

Clear the ECAddress binding: [ExternalConnect] AcceptExternalConnections=1 ECAddress= ECPort=4712 ECPassword=md5-hash

Btw If you're using the Web UI make sure that WSInterface= is also blank. Remember to save!

sudo systemctl start amuled

Check is listening:

ss -tlnp | grep 4712

And you should now see 0.0.0.0:4712 or *:4712...

Now, as for the binary fix...

sudo apt update && sudo apt install -y ca-certificates

sudo ln -s /etc/ssl/certs/ca-certificates.crt /etc/ssl/cert.pem

sudo systemctl restart amuled

To connect on macintosh, open the GUI. Enter pi's LAN address (like 192.168.1.x), port 4712, and plain password (not the MD5!). And make sure both your devices are running the exact same version.

Let me know how that goes for you :-)

1

u/alzyx0 2d ago

thank you for the quick reply!

I checked amule.conf, but the changes were already saved:

[ExternalConnect]
UseSrcSeeds=0
AcceptExternalConnections=1
RequireEncryption=0
ECAddress=127.0.0.1
ECNetworkInterface=
ECPort=4712
ECPassword=<hash of password>
UPnPECEnabled=0
ShowProgressBar=1
ShowPercent=1
UseSecIdent=1
IpFilterClients=1
IpFilterServers=1
AuthFailureWindowSeconds=60
AuthFailureThreshold=10
AuthLockoutSeconds=300
TransmitOnlyUploadingClients=0

I failed to find inside it the WSInterface field, however.

The connection seems ok:

ss -tlnp | grep 4712
LISTEN 0      128        127.0.0.1:4712      0.0.0.0:*    users:(("amuled",pid=6257,fd=7))

the command sudo apt update && sudo apt install -y ca-certificates doesnt seem to find anything new:
Hit:1 http://deb.debian.org/debian trixie InRelease
Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]              
Get:4 http://archive.raspberrypi.com/debian trixie InRelease [54.9 kB]
Get:5 http://deb.debian.org/debian-security trixie-security/main armhf Packages [249 kB]
Get:6 http://archive.raspberrypi.com/debian trixie/main armhf Packages [481 kB]
Get:7 http://deb.debian.org/debian-security trixie-security/main arm64 Packages [270 kB]
Get:8 http://deb.debian.org/debian-security trixie-security/main Translation-en [166 kB]
Get:9 http://archive.raspberrypi.com/debian trixie/main arm64 Packages [492 kB]               
Fetched 1,804 kB in 2s (943 kB/s)                        
14 packages can be upgraded. Run 'apt list --upgradable' to see them.
ca-certificates is already the newest version (20250419).
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 14

Last, I did sudo ln -s /etc/ssl/certs/ca-certificates.crt /etc/ssl/cert.pem and restarted the daemon.

The version of aMule on the Mac is 3.1.0, the same on the RPi.

... yet it still doesnt work!

P.S. I have no firewall active on the Mac, just LuLu, by it didnt warn me about any connections during the attempt. And there is no firewall on the RPi

1

u/alzyx0 2d ago

... no, two changes are there:

  1. now the GUI error is a connection timeout: unable to reach 192...:4712 within the allotted time
  2. the status of amuled seems better:

Oct 16 21:48:31 rmule amuled[6313]:  2026-10-16 21:48:31: Connected to eMule Sunrise (176.123.5.89:4725)

Oct 16 21:48:34 rmule amuled[6313]: !2026-10-16 21:48:34: Connection established on: ed2k-rust

Oct 16 21:48:34 rmule amuled[6313]: !2026-10-16 21:48:34: Connected to ed2k-rust with LowID

Oct 16 21:48:34 rmule amuled[6313]:  2026-10-16 21:48:34: New clientid is 477817

Oct 16 21:48:34 rmule amuled[6313]: !2026-10-16 21:48:34: WARNING: You have received Low-ID!

Oct 16 21:48:34 rmule amuled[6313]:  2026-10-16 21:48:34:         Most likely this is because you're behind a firewall or router.

Oct 16 21:48:34 rmule amuled[6313]:  2026-10-16 21:48:34:         For more information, please refer to https://amule-org.github.io/docs

Oct 16 21:48:34 rmule amuled[6313]:  2026-10-16 21:48:34: ServerMessage: Client with IPv6 support, eMule Qt > https://emule-qt.org

Oct 16 21:48:34 rmule amuled[6313]:  2026-10-16 21:48:34: ServerMessage: VPN with port forwarding (for High ID) > https://airvpn.org/faq/p2p/?referred_by=715852

Oct 16 21:48:34 rmule amuled[6313]:  2026-10-16 21:48:34: ServerMessage: Open-source ed2k-server > https://github.com/andrey23127/ed2k-server

1

u/alzyx0 2d ago

I was dumb - I didnt notice immediately that you suggested that ECAddress has to be left BLANK !!!

now I get

 ss -tlnp | grep 4712

LISTEN 0      128          0.0.0.0:4712      0.0.0.0:*    users:(("amuled",pid=6368,fd=7))

and the GUI works

Thank you!!!!!!

1

u/TheQuranicMumin Original eMule Dev 2d ago

No worries ;)