Ana içeriğe geç

Remote Access

Problems connecting to aMule remotely via amulecmd or amuleweb. For an overview of the remote-control tools, see the Remote Access FAQ.

amulecmd

I cannot connect to amuled — it doesn't seem to be listening. What's wrong?

You have probably not enabled External Connections. Open aMule (or amulegui), go to Preferences → Remote Controls, check Accept External Connections, and set a password. The setting is stored in the [ExternalConnect] section of ~/.aMule/amule.conf.

You can also generate the ECPassword hash manually:

echo -n 'yourpassword' | md5sum | cut -d ' ' -f 1

Paste the resulting MD5 hash as the value of ECPassword in ~/.aMule/amule.conf. See amulecmd → Configuration for the full setup.

Connecting from another machine? By default aMule listens for EC connections on all interfaces (ECAddress empty). If ECAddress is set to 127.0.0.1, only local tools can connect — leave it empty for remote access. Also make sure the EC port (4712 by default) is reachable: see Ports used by aMule and the Firewall guide.

amuleweb

Why is amuleweb failing to connect?

Verify that the amuleweb binary and the amuled/amule binary come from the same release. amuleweb and aMule binaries from different releases negotiate the EC protocol version on connect, and a mismatch is rejected with "Invalid protocol version."

If both binaries match, the failure is usually a wrong EC password, host, or port, or External Connections not being enabled on the aMule side — check the amulecmd connection answer above and follow the amuleweb step-by-step setup.

Why do I always get "No password specified, login will not be allowed."?

This message means the web interface has no admin password and no guest password set — it is about the web server login, not the EC password used to reach amuled. Without at least one password, amuleweb refuses every login.

To fix it, set the web interface admin password:

After saving, check the [WebServer] section of ~/.aMule/remote.conf and verify that AdminPassword (and GuestPassword, if you allow guest access) contain a hashed 32-character hexadecimal string, not a plaintext password and not an empty value.

Why does the web interface keep going back to the login page?

Try deleting the cookies for the amuleweb domain in your browser. amuleweb tracks logins with an amuleweb_session_id session cookie, and a stale or corrupted cookie from a previous session can cause this loop.

If clearing cookies does not help and the loop happens from the very first login attempt, the cause is usually a missing web interface password rather than the cookie — see the answer above. Refer to the amuleweb documentation for full setup details.