Networked Media Tank

Full Version: aMule 2.2.3-2 build for NMT Popcorn Hours [updated 3/31/2009]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
Hi all!

This is the support thread for aMule 2.2.3. Please refer to the old thread for aMule 2.1.3 support.

All credits to kristouf who built the aMule 2.1.3 and mcorte who built the aMule 2.2.3.

If you can help me compiling newer versions, updating to the new CSI package or providing support, do it! because I do that for all of you. I don't use aMule at my own PCH.



Changelog:
2.2.3-2
-aMule run with nmt account instead of root account. Credits to pheek who figured out the fix.
-Change aMule webui template to chicane.

2.2.3-1
-The aMule webui issue is solved. Credits to pheek who figured out the fix.



To do:

-Build aMule 2.2.5:
http://www.amule.org/wiki/index.php/Changelog_2.2.5
I don't know how to compile sources. Your help will be appreciated.

-Migrate to the new CSI 2.0.0 package format:
I succeed updating amuled and stuff without problems, but I'm stuck with amuleweb. I can't force it to find the web templates at the new path. Your help will be appreciated.


-Reduce memory load when Kad network is enabled:
The KAD network is still not recommended (and probably never because of the lack of memory at the PCH). It works fast and stable, but the memory load is huge (at least 40%~50% of the memory available)

-Build amuleweb 2.2.3 properly, now we are using a patch.



How to install aMule:
Recommended: You can download and install easily from Community Software Installer.
Not recommended: You can download and install by yourself from:
aMule 2.2.3-2.zip
aMule 2.2.3-1.zip



How to connect to aMule:
*webui
1- Open your browser.
2- Open the URL: http://PCH-A110:4711/ or http://PCH-A100:4711/.
3- The password is "1234"
[Image: loging.th.png] [Image: pantallazoamulecvswebco.th.png]

*aMuleGUI
1- Download aMule installer (2.2.2 or 2.2.3) from http://www.amule.org/
2- You only need to install the aMuleGUI, not all the stuff.
3- Open aMuleGUI. Edit the IP to your NMT. The port is "4712" and the password is "1234"
[Image: pantallazoconectaraamul.th.png] [Image: pantallazoamuleremoteco.th.png]

*aMuleCMD
1- Download aMule installer (2.2.2 or 2.2.3) from http://www.amule.org/
2- You only need to install the aMuleCMD, not all the stuff.
3- Open aMuleCMD (edit IP of NMT, the password is "1234"):
Quote:amulecmd -h [IP of NMT]
[Image: pantallazoterminal.th.png]



How to configure the preferred template for aMule webui:
1- Install telnet for NMT from CSI: http://www.networkedmediatank.com/showth...?tid=13161
2- Open a telnet session
Quote:telnet [IP of NMT]
3- Turn off aMule daemon
Quote:cd /mnt/syb8634/server/
./amule.sh stop
4- Edit the file /mnt/syb8634/server/amule.sh
Quote:vi amule.sh
5- Change the line
Quote:amuleweb -h 127.0.0.1 -p 4712 -P 1234 -s 4711 -A 1234 -d > /share/.aMule/amuleweb.log &
to
*chicane template:
[Image: pantallazoamulecvswebco.th.png]
Quote:amuleweb -h 127.0.0.1 -p 4712 -P 1234 -s 4711 -A 1234 -t chicane -d > /share/.aMule/amuleweb.log &
*default template:
[Image: pantallazoamulecvswebco.th.png]
Quote:amuleweb -h 127.0.0.1 -p 4712 -P 1234 -s 4711 -A 1234 -t default -d > /share/.aMule/amuleweb.log &
*php-default template:
[Image: php.th.png]
Quote:amuleweb -h 127.0.0.1 -p 4712 -P 1234 -s 4711 -A 1234 -t php-default -d > /share/.aMule/amuleweb.log &
6- Turn on aMule daemon
Quote:cd /mnt/syb8634/server/
./amule.sh start
7- Close telnet session
Quote:exit



How to modify default folders temp and incoming:
1- Install telnet for NMT from CSI: http://www.networkedmediatank.com/showth...?tid=13161
2- Open a telnet session
Quote:telnet [IP of NMT]
3- Turn off aMule daemon
Quote:cd /mnt/syb8634/server/
./amule.sh stop
4- Create the new folders and change owner:
Quote:mkdir /share/Incoming
mkdir /share/Temp
chown nmt.nmt /share/Incoming
chown nmt.nmt /share/Temp
5- Edit the file /share/.aMule/amule.conf
Quote:vi /share/.aMule/amule.conf
6- Modify the lines
Quote:TempDir=/share/.aMule/Temp
IncomingDir=/share/.aMule/Incoming
to the new folders
Quote:TempDir=/share/Temp
IncomingDir=/share/Incoming
7- Move all the files to the new folders:
Quote:mv /share/.aMule/Temp/* /share/Temp
mv /share/.aMule/Incoming/* /share/Incoming
8- Turn on aMule daemon
Quote:cd /mnt/syb8634/server/
./amule.sh start
9- Close telnet session
Quote:exit



How to turn off aMule daemon:
You can turn off aMule without telnet:
1- Download aMule installer (2.2.2 or 2.2.3) from http://www.amule.org/
2- You only need to install the aMuleCMD, not all the stuff.
3- Open aMuleCMD (edit IP of NMT, the password is "1234"):
Quote:amulecmd -h [IP of NMT]
4- Execute the command shutdown:
[Image: pantallazousuarioextens.th.png]



How to uninstall aMule, (until we succeed porting to new CSI format):
WARNING: Following this steps means that you will delete all your TEMP and INCOMING files, also configuration files.
1- Turn off aMule daemon as explained previously.
2- Kill amuleweb via telnet:
Quote:killall amuleweb
2- Open start_app.sh in unix enabled text editor (like http://www.rj-texted.com)
and add an "#" without quotes in front of the line mentioning amule. (somewhere on the bottom of the file).
3- Delete all the files via telnet:
Quote:rm /mnt/syb8634/bin/amulecmd
rm /mnt/syb8634/bin/amuled
rm /mnt/syb8634/bin/amuleweb
rm /mnt/syb8634/bin/ed2k
rm /mnt/syb8634/server/amule.sh
rm -R /share/.aMule



Enjoy!
I'll appreciate your feedback and help.
Regards, Unai Álvarez, Spain.
That's GREAT! the amule webgui issue is fixed eventually.
I figured out a way to run amule as 'nmt' user instead of root.
here are the directions:
1. chown -R nmt /share/.aMule
2. chmod +wr /dev/urandom

to start amule.
3. su -pm -c "/mnt/syb8634/server/amule.sh start" nmt

to stop amule.
4. su -pm -c "/mnt/syb8634/server/amule.sh stop" nmt
(03-31-2009 04:51 AM)pheek Wrote: [ -> ]I figured out a way to run amule as 'nmt' user instead of root.
here are the directions:
1. chown -R nmt /share/.aMule
2. chmod +wr /dev/urandom

to start amule.
3. su -pm -c "/mnt/syb8634/server/amule.sh start" nmt

to stop amule.
4. su -pm -c "/mnt/syb8634/server/amule.sh stop" nmt

Thank you pheek. It works like a charm. I will test the fix a few days and add it to CSI as soon as posible.

Regards.
(03-31-2009 09:49 AM)empatico Wrote: [ -> ]Thank you pheek. It works like a charm. I will test the fix a few days and add it to CSI as soon as posible.
Regards.

I've added 2.2.3-2 to the CSI. Enjoy!
I've installed amule 2.2.3-2 from the CSI, but via telnet I can't stop the command line say I don’t have sufficient privileges and I’m root, What I’m doing wrong?

Thanks and sorry for my awful English,

Javier P. de Jorge
Buenos Aires
Argentina
(04-08-2009 07:32 PM)Espartaco Wrote: [ -> ]I've installed amule 2.2.3-2 from the CSI, but via telnet I can't stop the command line say I don’t have sufficient privileges and I’m root, What I’m doing wrong?

Thanks and sorry for my awful English,

Javier P. de Jorge
Buenos Aires
Argentina

Hola Javier.

Yo utilizo las siguientes lineas para apagar y encender el aMule y me funciona correctamente, ¿son las mismas que utilizas tú? ¿estás seguro de que eres root?

------------------------

Hi Javier.

I use the next commands for turn on and off the aMule and it works, ¿are there the same commands you are using? ¿are you sure you are root?

Quote:Trying 192.168.1.2...
Connected to 192.168.1.2.
Escape character is '^]'.


BusyBox v1.5.0 (2008-07-10 18:07:27 MYT) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin # cd /mnt/syb8634/server/
/mnt/syb8634/server # ./amule.sh start

Starting amule daemon...ln: /.aMule/.aMule: File exists
amuled: OnInit - starting timer
Initialising aMuled 2.2.3 using v2.8.9
Checking if there is an instance already running...
No other instances are running.
HTTP download thread started
Host: amule.sourceforge.net:80
URL: http://amule.sourceforge.net/lastversion
Response: 0 (Error: 3)
WARNING: Void response on stream creation
ListenSocket: Ok.
Loading temp files from /share/.aMule/Temp.

All PartFiles Loaded.
No shareable files found in directory: /share/Incoming
HTTP download thread ended
/mnt/syb8634/server # ./amule.sh stop
Stopping amule daemon...This is amulecmd 2.2.3

Creating client...
Succeeded! Connection established to aMule 2.2.3

---------------------------------------
| aMule text client |
---------------------------------------

Use 'Help' for command list

> Operation was successful.

Ok, exiting aMulecmd...
/mnt/syb8634/server # Terminated
Now, exiting main app...
aMule OnExit: Terminating core.
aMule shutdown completed.

También puedes desconectar el aMule sin utilizar telnet. Solo tienes que descargar e instalar el cliente aMuleCMD desde la web http://www.amule.org. Una vez instalado ejecuta la instruccion shutdown desde el cliente aMuleCMD.

-------------------------

Also you can turn off aMule without telnet. Just download and install aMuleCMD client from http://www.amule.org. Once installed, execute the command shutdown from aMuleCMD client.

Quote:usuario@extensa:~$ amulecmd -h 192.168.1.2
This is amulecmd 2.2.2

Creating client...
Succeeded! Connection established to aMule 2.2.3

---------------------------------------
| aMule text client |
---------------------------------------

Use 'Help' for command list

aMulecmd$ shutdown
> Operation was successful.

Ok, exiting aMulecmd...
usuario@extensa:~$
Antes que nada muchas gracias por tu pronta respuesta, al final funcionó OK, mi error era el espacio entre "./ amule.sh stop" ya que funciono con "./amule.sh stop", saludos y gracias por la respuesta, nos mantenemos en contacto ya que es bueno alguine que pueda hablar el mismo idioma.

Thanks, the problem was th space i was typing "./ amule.sh stop" and the correct form is "./amule.sh stop" so many thanks,

Javier P. de Jorge
Bueno Aires
Argentina
(03-29-2009 11:25 PM)empatico Wrote: [ -> ]Hi all!

This is the support thread for aMule 2.2.3. Please refer to the old thread for aMule 2.1.3 support.

All credits to kristouf who built the aMule 2.1.3 and mcorte who built the aMule 2.2.3.



Changelog:
2.2.3-2
-aMule run with nmt account instead of root account. Credits to pheek who figured out the fix.
-Change aMule webui template to chicane.

2.2.3-1
-The aMule webui issue is solved. Credits to pheek who figured out the fix.



To do:
-Build aMule 2.2.4:
aMule 2.2.4 released! Please help us building the new version:
http://www.amule.org/wiki/index.php/Changelog_2.2.4


-Reduce memory load when Kad network is enabled:
The KAD network is still not recommended. It works fast and stable, but the memory load is high (at least 40%~50% of the memory available)

-Build amuleweb 2.2.3 properly, now we are using a patch.



How to install aMule:
Recommended: You can download and install easily from Community Software Installer.
Not recommended: You can download and install by yourself from:
aMule 2.2.3-2.zip
aMule 2.2.3-1.zip



How to connect to aMule:
*webui
1- Open your browser.
2- Open the URL: http://PCH-A110:4711/ or http://PCH-A100:4711/.
3- The password is "1234"
[Image: loging.th.png] [Image: pantallazoamulecvswebco.th.png]

*aMuleGUI
1- Download aMule installer (2.2.2 or 2.2.3) from http://www.amule.org/
2- You only need to install the aMuleGUI, not all the stuff.
3- Open aMuleGUI. Edit the IP to your NMT. The port is "4712" and the password is "1234"
[Image: pantallazoconectaraamul.th.png] [Image: pantallazoamuleremoteco.th.png]

*aMuleCMD
1- Download aMule installer (2.2.2 or 2.2.3) from http://www.amule.org/
2- You only need to install the aMuleCMD, not all the stuff.
3- Open aMuleCMD (edit IP of NMT, the password is "1234"):
[Image: pantallazoterminal.th.png]



How to configure the preferred template for aMule webui:
1- Install telnet for NMT from CSI: http://www.networkedmediatank.com/showth...?tid=13161
2- Open a telnet session
Quote:telnet [IP of NMT]
3- Turn off aMule daemon
Quote:cd /mnt/syb8634/server/
./amule.sh stop
4- Edit the file /mnt/syb8634/server/amule.sh
5- Change the line
Quote:amuleweb -h 127.0.0.1 -p 4712 -P 1234 -s 4711 -A 1234 -d > /share/.aMule/amuleweb.log &
to
*chicane template:
[Image: pantallazoamulecvswebco.th.png]
Quote:amuleweb -h 127.0.0.1 -p 4712 -P 1234 -s 4711 -A 1234 -t chicane -d > /share/.aMule/amuleweb.log &
*default template:
[Image: pantallazoamulecvswebco.th.png]
*php-default template:
[Image: php.th.png]
Quote:amuleweb -h 127.0.0.1 -p 4712 -P 1234 -s 4711 -A 1234 -t php-default -d > /share/.aMule/amuleweb.log &
6- Turn on aMule daemon
Quote:cd /mnt/syb8634/server/
./amule.sh start
7- Close telnet session



How to modify default folders temp and incoming:
1- Install telnet for NMT from CSI: http://www.networkedmediatank.com/showth...?tid=13161
2- Open a telnet session
Quote:telnet [IP of NMT]
3- Turn off aMule daemon
Quote:cd /mnt/syb8634/server/
./amule.sh stop
4- Create the new folders and change owner:
5- Edit the file /share/.aMule/amule.conf
Quote:vi /share/.aMule/amule.conf
6- Modify the lines
Quote:TempDir=/share/.aMule/Temp
IncomingDir=/share/.aMule/Incoming
to the new folders
7- Move all the files to the new folders:
Quote:mv /share/.aMule/Temp/* /share/Temp
mv /share/.aMule/Incoming/* /share/Incoming
8- Turn on aMule daemon
Quote:cd /mnt/syb8634/server/
./amule.sh start
9- Close telnet session



How to turn off aMule daemon:
You can turn off aMule without telnet:
1- Download aMule installer (2.2.2 or 2.2.3) from http://www.amule.org/
2- You only need to install the aMuleCMD, not all the stuff.
3- Open aMuleCMD (edit IP of NMT, the password is "1234"):
Quote:amulecmd -h [IP of NMT]
4- Execute the command shutdown:
[Image: pantallazousuarioextens.th.png]



Regards.

Hello Empatico and other users, I'm a new user in this forum. Normaly I access to Antiscreeners FORUM for information at the POPCORN A-110.

The case is that I go a lot of time using Transmission with a HDD USB and the applications NMT installed in an adapter Compact Flash to SATA. I have had to change the route of the downloads to "/USB_DRIVE_A-1/" and quite perfectly.

Now I want to do the same thing with Amule (How to modify default folders temp and incoming), but I have tried and the result has been wrong.
I have remained in: "4- Create the new folders and change owner:"
And I have written the following commands unsatisfactorily:

mkdir /usb_drive_a-1/Incoming
mkdir /usb_drive_a-1/Temp
chown nmt.nmt /usb_drive_a-1/Incoming
chown nmt.nmt /usb_drive_a-1/Temp


Have you some idea of since doing it?

Thank you very much and excuse for my bad English
The caps are wrong, try next:

mkdir /USB_DRIVE_A-1/Incoming
mkdir /USB_DRIVE_A-1/Temp
chown nmt.nmt /USB_DRIVE_A-1/Incoming
chown nmt.nmt /USB_DRIVE_A-1/Temp
Hi empatico and others,
When I manual import the e2k link at amuleweb, amuleweb was crash and no response anymore. Do u met the same issue? Any suggestion?
(05-20-2009 02:13 AM)fancyboy2k Wrote: [ -> ]Hi empatico and others,
When I manual import the e2k link at amuleweb, amuleweb was crash and no response anymore. Do u met the same issue? Any suggestion?

I'll try to reproduce, and reply as soon as possible.
any guide around to fine tune amule in the nmt? For me it's slow as hell and It uploads a lot but downloads nothing with it recently installed and a 100 gigas of data shared, its High ID of course.

It also doesnt get max clients on queue of what it is available by config, it just reaches 1200 of 4000.

Amulegui takes ages to show stuff sometimes, etc.. I thought it was because of the initial hashing but now that every shared file is hashed is still very slow and downloads almost nothing.
(05-20-2009 12:49 PM)ezra0r Wrote: [ -> ]any guide around to fine tune amule in the nmt? For me it's slow as hell and It uploads a lot but downloads nothing with it recently installed and a 100 gigas of data shared, its High ID of course.
I recommend you visit the wiki of amule: http://www.amule.org/wiki/index.php/Main_Page
Also, here is my amule.conf file: http://www.uar.jazztel.es/aMule4PCH/amule.conf
Also, download a good server.met, ie: http://www.gruk.org/server.met and place it at the folder /share/.aMule
(05-20-2009 12:49 PM)ezra0r Wrote: [ -> ]It also doesnt get max clients on queue of what it is available by config, it just reaches 1200 of 4000.
As far as i can see, that's not a problem. Just there aren't enought clients.
(05-20-2009 12:49 PM)ezra0r Wrote: [ -> ]Amulegui takes ages to show stuff sometimes, etc.. I thought it was because of the initial hashing but now that every shared file is hashed is still very slow and downloads almost nothing.
aMuleGUI 2.2.2 works properly for me at ubuntu. I can't understand what you mean, aMuleGUI is not related with download or upload speed, it's just a GUI.
(05-20-2009 02:13 AM)fancyboy2k Wrote: [ -> ]Hi empatico and others,
When I manual import the e2k link at amuleweb, amuleweb was crash and no response anymore. Do u met the same issue? Any suggestion?

Amule web gui is very particluar about the e2k link that you are giving. Are you trying to import links with asian characters? If yes, there's your problem. Try to strip those characters out(even the ones that show up with % signs), that should work.
Pages: 1 2 3 4
Reference URL's