aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2 3 ... 10
 1 
 on: August 14, 2017, 03:38:49 PM 
Started by raffe1234 - Last post by raffe1234
Also, one more tip to the wiki. If you start the email part like this

...
...
{
echo To: name@somewhere.com
echo Subject: "$NameShort"
echo " "
# Mail header
echo "MIME-Version: 1.0"
echo "Content-Type: text/html"
echo "Content-Disposition: inline"
echo "<html>"
echo "<body>"
echo "<pre style="font: monospace">"
# Mail body
echo aMule completed this download:
echo ------------------------------

...
...

And end it like this

...
...
echo " "
echo --------------------------------------------------------------------
# Mail footer
echo "</pre>"
echo "</body>"
echo "</html>"
} | sendmail -t


The email will then be in html format and echo "<pre style="font: monospace">" will format the text so it will look nice.

So instead of the text looking like this:

=== Disk usage:
Filesystem                Size      Used Available Use% Mounted on
none                    250.0M    194.1M     55.9M  78% /
devtmpfs                  1.9G      4.0K      1.9G   0% /dev
tmpfs                    64.0M    376.0K     63.6M   1% /tmp
tmpfs                     1.9G     12.0K      1.9G   0% /dev/shm
tmpfs                    16.0M         0     16.0M   0% /share
tmpfs                    16.0M         0     16.0M   0% /share/snapshot/export
/dev/md9                493.5M    121.1M    372.3M  25% /mnt/HDA_ROOT


It will look like this

=== Disk usage:
Filesystem                Size      Used Available Use% Mounted on
none                    250.0M    194.1M     55.9M  78% /
devtmpfs                  1.9G      4.0K      1.9G   0% /dev
tmpfs                    64.0M    376.0K     63.6M   1% /tmp
tmpfs                     1.9G     12.0K      1.9G   0% /dev/shm
tmpfs                    16.0M         0     16.0M   0% /share
tmpfs                    16.0M         0     16.0M   0% /share/snapshot/export
/dev/md9                493.5M    121.1M    372.3M  25% /mnt/HDA_ROOT


 2 
 on: August 13, 2017, 03:09:34 PM 
Started by joesatriani - Last post by joesatriani
Ho aperto le porte TCP e UDP ma sempre ID basso.
Ho usato 4662 e 4672, Come posso fare?

 3 
 on: August 13, 2017, 01:41:24 PM 
Started by raffe1234 - Last post by raffe1234
Hi!

Under http://wiki.amule.org/wiki/Events#Linux I would move the citation mark from
if [ ! -z "$DLtime" ] ; then echo "Active download time:" $DLtime ; fi
to
if [ ! -z "$DLtime" ] ; then echo "Active download time: $DLtime" ; fi
If it says "hours" or "minutes" you will then also get that text. E.g. instead of it only saying "9:13" it will say "9:13 hours" or maybe "9:13 mins"

Maybe also even more tips on making the script give more info about the system. Some examples to add:
echo " "
echo "--------------------------------------------------------------------"
echo "-==============================-"
echo "-=======-  NAS status -========-"
echo "-==============================-"
echo " "
echo "=== Uptime:"
uptime
echo " "
echo "=== User status:"
user_status show_all
echo " "
echo "=== Disk usage:"
df -h
echo " "
echo "=== aMule processes:"
ps | grep 'PID\|aMule'
echo " "
echo "=== Top processes:"
top -n 1
echo " "
echo "=== Memory:"
free
echo " "
echo "=== Route:"
route
echo " "
echo "=== IP numbers"
echo "$(ifconfig | grep inet | sed -r 's/^.{10}//')"
echo " "
echo "=== Default gateways"
route | grep default
echo " "
echo "=== DNS serves"
cat /etc/resolv.conf
echo " "
echo "=== Iptables:"
iptables -S
And maybe more cool stuff you here come up with :-)

 4 
 on: August 12, 2017, 02:35:20 PM 
Started by Kappe - Last post by Kappe
da tut sich nicht viel wenn ich den Upspeed auf 0 stell, slotzuteilung 1 oder max 100
da verteilt sich der Upspeed auf die User gleichmäßig mit minimal speed.

Wer hat sich den die Begrenzug von den 19375 kb/s einfallen lassen?
Ist in der Heutigen Zeit nicht mehr angebracht bei den downloadraten..
Ich selbst up nur und möchte was raushauen..
könnte mehr wie nur 20MB/s geben nur durch die Begrenzung ist man eingeschränkt
*schade

grüssle
Kappe

 5 
 on: August 11, 2017, 11:29:08 AM 
Started by tripatouille - Last post by tripatouille
Bonjour, je suis sous EL Capitan 10.11.6. Je souhaiterai connaître le chemin d'accès pour aller au dossier qui contient les fichiers TEMP. Merci d'avance pour votre aide.

 6 
 on: August 10, 2017, 05:05:29 PM 
Started by ufaforwork2 - Last post by ufaforwork2
Running aMule 2.2.6 (and 2.3.1 rc2) here on MacOS 10.6.8.  I have searched in these forums and also verified this suggestion is not on the "don't ask for X" feature list.

One feature I cannot find in aMule is a global search filter list, for example when I want to filter out one or more words (invert filter) from every search I perform.  Example is the wording which often comes up on spam results, such as fulldownload, or for example I never need to see results with .exe in the file name. ทางเข้าufabet

I know how to filter these when searching, but I must re-type the list of terms for every search I perform.  Even if there is no GUI for this, if a plain text file e.g. searchfilter.txt could be placed in aMule's directory and parsed at startup, that would be great. สมัครufabet

Thierry.

 7 
 on: August 09, 2017, 02:48:29 PM 
Started by gregmurf - Last post by gregmurf
Bonjour @ tous,
je viens d'installer aMule + Amule-utils sur une debian 8.
Le soucis que je rencontre est que le mot de passe de l'interface Web n'est pas reconnu.....
J'ai bien renseigné le mot de passe crypté dans le fichier home/utilisateur/.amule/amule.conf ET dans root/.amule/remote.conf devant "Password", "AdminPassword" et "GuestPassword".....
Et redémarré le service amule-daemon....
Je ne comprend pas où j'ai m**dé...
 :'( :'(

 8 
 on: August 09, 2017, 11:35:11 AM 
Started by raffe1234 - Last post by raffe1234
I tried -e and also I made the script to write into a log file after every line. The log only showed that it failed at random lines, so I couldn't pin point the error. So I forgot the whole problem and continued with my life, maybe with a scar in my soul.

Today I started to wonder if there may be some problems with the rights in Qnaps OS, it was a auto script that was supposed to run at boot. So I finally also resolved this problem (not a good and nice solution, but it works).

1. In amule.conf I have this
Code: [Select]
[UserEvents/DownloadCompleted]
CoreEnabled=1
CoreCommand=/opt/sbin/aMuleMail.sh "%NAME" "%FILE" %HASH %SIZE "%DLACTIVETIME"
GUIEnabled=1
GUICommand=/opt/sbin/aMuleMail.sh "%NAME" "%FILE" %HASH %SIZE "%DLACTIVETIME"


2. In aMuleMail.sh I have this (I run the 'real' e-mail script aMuleMailSend.sh from aMuleMail.sh with sudo (e.g. as root) and the echo part gives sudo the root password, so not very secure as someone may see root password i clear text in that file)
Code: [Select]
#!/bin/bash
echo "My-password-for-root" | sudo /opt/sbin/aMuleMailSend.sh "$1" "$2" $3 $4 "$5"

And now it works  :) . As aMule already runs as "admin" (the "root" in Qnap) it should work without this, but I guess they have done something wrong.

I guess I could do this much shorter with just change amule.conf to
Code: [Select]
[UserEvents/DownloadCompleted]
CoreEnabled=1
CoreCommand=echo "My-password-for-root" | sudo /opt/sbin/aMuleMailSend.sh "%NAME" "%FILE" %HASH %SIZE "%DLACTIVETIME"
GUIEnabled=1
GUICommand=echo "My-password-for-root" | sudo /opt/sbin/aMuleMailSend.sh "%NAME" "%FILE" %HASH %SIZE "%DLACTIVETIME"


But now it works, and I am like "If it works, don't fix it" right now  ;)

I wonder if I can run sudo without the echo part? On a normal system maybe something in /usr/etc/sudoers, but it has "admin ALL=(ALL) ALL" but it still didn't work.

 9 
 on: August 08, 2017, 08:36:20 PM 
Started by machies - Last post by machies
Hello, thanks to your forum I found version 2.3.2 for OSX working.
I have high ID but I can not connect to the network kad.
I always found valid valid address.dat on the forum.
I read on the log: read 114 contacts
On the graph I see green lines, but it always says: connection is in progress
I left amule open all morning and afternoon but no kad connection
what can I do?

 10 
 on: August 07, 2017, 10:05:20 AM 
Started by Ammammata - Last post by Ammammata
Hello there

[amule version 2.3.1 on linux mint 17.2]

Is there any command line parameter or switch to activate, to force amule to search just and only audio files, excluding all the rest?

thank you

Pages: [1] 2 3 ... 10