Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Howto: Use the Edonkey Network with Amule Daemon And AmuleWeb

  1. #1
    Join Date
    Dec 2006
    Location
    Netyireland. Come visit!
    Beans
    Hidden!
    Distro
    Ubuntu 9.10 Karmic Koala

    Post Howto: Use the Edonkey Network with Amule Daemon And AmuleWeb

    Formalities: (Due to forum regulations)

    This guide was written with information based upon the Amule wiki and the Ubuntu forum. Thanks to the people who wrote the stuff. This guide was tested on Ubuntu Edgy Eft 6.10. And, (because of regulations) and the fact that I do not want to be exploited, I have to state that I will not be able to guarantee support. (Not that I will not, I can try to help, but no promises OK?).

    To cut this all short, what I want to say is: Thanks to those who helped, and I hope this helps you!

    Installing the required stuff:

    Okay, you are all set and want to download stuff from the edonkey network, however you may have tried amule and realized that it crashes (Based on certain things maybe). Anyway, this guide is about setting up the amule-daemon and amuleweb. (This way, I don't think you have to worry about the GUI crashing, and you can also see the download status from work!).
    First, you need to install the required packages, to do so enter this in a terminal:
    Code:
    sudo apt-get install amule-daemon
    OK, thats all you have to do to installed the required stuff!

    Configuring it (So it works the way you want):

    Right, you now have the stuff needed to proceed. Now in the configuration section, enter this in the terminal:
    Code:
    amuled
    Now, it will fail (this is the first time you run it, but don't freak out - it will create the configuration files you need. Now cd to the amule configuration directory by typing:
    Code:
    cd ~/.aMule
    Okay, now type:
    Code:
    gedit amule.conf
    Places of interest include: (The following may not be correct)
    1. Port = <Enter the TCP port, you want to use>
    2. UDPPort = <This is the UDP port if you want>
    3. UDPDisable = <Set this to 1 to disable>
    4. AcceptExternalConnections = <Set this to 1>
    5. ECPassword = <Enter hash here, for howto read on>

    I think the ECPassword is the md5sum of the password you want, to get the md5sum, enter the following in another terminal:
    Code:
    echo -n <yourpassword> | md5sum | cut -d ' ' -f 1
    Now copy the output and paste it in the ECPassword = <paste it here>. Now, you're done with the amule.conf, . Now you only have to configure - amuleweb!

    To do so enter:
    Code:
    amuleweb -w
    This will write the needed configuration files, then type:
    Code:
    gedit remote.conf
    Paste the md5sum password you generated just now into the password, adminpassword and guestpassword stuff. And you are done with the configuration.

    Running it:

    OK, after all that work, have two terminals open. In one type:
    Code:
    amuled
    To run the amule-daemon.

    In the other type:
    Code:
    amuleweb
    To run the web interface.

    Then open a web browser and type:
    http://localhost:4711

    From work type:
    http://<youripaddress>:4711

    When prompted for the password its the password you used to create the md5sum, not the md5sum password.

  2. #2
    Join Date
    Nov 2005
    Location
    Buenos Aires, Argentina
    Beans
    216
    Distro
    Kubuntu 7.04 Feisty Fawn

    Re: Howto: Use the Edonkey Network with Amule Daemon And AmuleWeb

    When I start the amuleweb I get this error.

    WSThread: Thread started
    WSThread: could not create socket on :4712
    Any ideas?

  3. #3
    Join Date
    Mar 2007
    Beans
    Hidden!

    Re: Howto: Use the Edonkey Network with Amule Daemon And AmuleWeb

    it means that you have something else using this port, maybe you are running mule 2 times?

  4. #4
    Join Date
    Nov 2005
    Location
    Buenos Aires, Argentina
    Beans
    216
    Distro
    Kubuntu 7.04 Feisty Fawn

    Re: Howto: Use the Edonkey Network with Amule Daemon And AmuleWeb

    Only amuled was running. I quit amule client before running the how-to.
    I even changed the port in amule.conf and remote.conf to another port, and I got the same error.
    weird

    I modified it to run on port 4720. I get this from netstat

    al@maverick:/etc/default$ sudo netstat -p | grep 4720
    tcp 0 0 localhost:4720 localhost:39219 ESTABLISHED6466/amuled
    tcp 0 0 localhost:39219 localhost:4720 ESTABLISHED6469/amuleweb
    Last edited by Al_maverick; April 21st, 2007 at 12:23 AM.

  5. #5
    Join Date
    Nov 2005
    Location
    Buenos Aires, Argentina
    Beans
    216
    Distro
    Kubuntu 7.04 Feisty Fawn

    Re: Howto: Use the Edonkey Network with Amule Daemon And AmuleWeb

    I found what the problems were:

    1- when running amuled, it would also start amuleweb. That way, when I tried to run it on the second console, it couldnt create the socket because the previous instance of amuleweb had already taken it.
    2- The ECport and the amuleweb port were the same. I changed the ECPort back to 4712 and left the amuleweb port on 4720.

    Voila! Now I can connect to amuleweb on 4720.

    Thanks a lot for the howto. I had a few glitches, but its working now.

  6. #6
    Join Date
    Jul 2007
    Beans
    1

    Re: Howto: Use the Edonkey Network with Amule Daemon And AmuleWeb

    I have a problem with amuled. I can start it, and amuleweb works (I can connect to it), but it tells me that is not connected, indeed I cannot do any search...

    Here the output of amuled
    Code:
    amuled: OnInit - starting timer
    Initialising aMule
    Checking if there is an instance already running...
    No other instances are running.
    Loading temp files from /home/ubuntu/.aMule/Temp.
    
    All PartFiles Loaded.
    ListenSocket: Ok.
    
    *** TCP socket (ECServer) listening on 0.0.0.0:4712
    *** Server UDP socket (TCP+3) at 0.0.0.0:4665
    *** TCP socket (TCP) listening on 0.0.0.0:4662
    *** Client UDP socket (extended eMule) at 0.0.0.0:4672
    Empty dir /home/ubuntu/.aMule/Incoming shared
    and amuleweb

    Code:
    This is amuleweb 2.1.0
    
    Creating client...
    Succeeded! Connection established to aMule 2.1.0
    
    --------------------------------------
    |          aMule Web Server          |
    --------------------------------------
    
    Use 'Help' for command list
    
    Web Server: Started
    aMuleweb$ 
    WSThread: Thread started
    WSThread: created socket listening on :4711
    Thanks.

  7. #7
    Join Date
    May 2007
    Beans
    3

    Re: Howto: Use the Edonkey Network with Amule Daemon And AmuleWeb

    i get the following error after logging in into amuleweb

    Code:
    02:25:47 PM: Error: can't open file '/usr/share/amule/webserver/php-default/black.gif' (error 2: No such file or directory)
    CFileImage: failed to open /usr/share/amule/webserver/php-default/black.gif
    Segmentation fault (core dumped)
    and there are a lot of them, when trying to put some image by that path, another one isn't found. what's wrong with it?

  8. #8
    Join Date
    Feb 2006
    Beans
    65

    Re: Howto: Use the Edonkey Network with Amule Daemon And AmuleWeb

    In my experience, amuleweb crashes waaaay too often for use. I use amulegui instead to control the daemon.

  9. #9
    Join Date
    Mar 2008
    Beans
    5

    Re: Howto: Use the Edonkey Network with Amule Daemon And AmuleWeb

    Quote Originally Posted by 0x45455844 View Post
    i get the following error after logging in into amuleweb

    Code:
    02:25:47 PM: Error: can't open file '/usr/share/amule/webserver/php-default/black.gif' (error 2: No such file or directory)
    CFileImage: failed to open /usr/share/amule/webserver/php-default/black.gif
    Segmentation fault (core dumped)
    and there are a lot of them, when trying to put some image by that path, another one isn't found. what's wrong with it?
    Hi.
    I don't know if you still read this, but I've read this problem is fixed in version 2.2.0.
    See ya.

  10. #10
    Join Date
    Nov 2006
    Beans
    6

    Re: Howto: Use the Edonkey Network with Amule Daemon And AmuleWeb

    I'm using amuled with amuleweb running on Hardy machine and controlled through web-interface from ******* machine. I'd prefer to use amulegui, but it's ******* version refused to work on my PC somehow. Web-interface works, but it's still somewhat buggy. For example, the sorting of the columns does work in "transfers", but not in "servers", the filtering of downloads by "Waiting/Downloading/ etc" doesn't work at all, not mention the lack of features compared to gui...
    Last edited by Moonshiner; June 2nd, 2008 at 02:13 PM.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •