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

Author Topic: [SOLVED] amuled + kad + amuleweb  (Read 9572 times)

DigitoErgoSum

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
[SOLVED] amuled + kad + amuleweb
« on: September 10, 2005, 03:50:00 PM »

Hi all, i'm running amuled with amuleweb so, how could i known if i'm connected with kad network ??? I tried also with amulecmd but it gives me so few information...

Bye
« Last Edit: September 15, 2005, 03:25:11 AM by DigitoErgoSum »
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: [SOLVED] amuled + kad + amuleweb
« Reply #1 on: September 10, 2005, 04:38:56 PM »

Take a look at the log:
Code: [Select]
2005-09-10 09:26:48: Read 199 Kad contacts
...
2005-09-10 09:26:49: Connected to Kad (firewalled)
...
2005-09-10 09:26:53: Connected to Kad (ok)
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: [SOLVED] amuled + kad + amuleweb
« Reply #2 on: September 10, 2005, 05:52:29 PM »

check also taht it is enabled in amule.conf file...
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Radek

  • Full Member
  • ***
  • Karma: 5
  • Offline Offline
  • Posts: 149
Re: [SOLVED] amuled + kad + amuleweb
« Reply #3 on: September 11, 2005, 10:21:25 AM »

Is Kad already working in the daemon, then? I thought it was only in amule itself...

I have ConnectToKad=1 in amule.conf but don't see any comment about Kad in the log file ?!

BTW: I always connect by entering "connect" in amulecmd. I added that, because I read somewhere that Kad would only work when not using auto connect.
« Last Edit: September 11, 2005, 10:24:14 AM by Radek »
Logged
There are 10 kinds of people - those who are able to understand binary numbers and those who aren't...

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: [SOLVED] amuled + kad + amuleweb
« Reply #4 on: September 11, 2005, 12:58:36 PM »

well I run autoconnect and works fine...but I dont run amuled

Kry said its supposed to work in amuled so I guess it does
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

DigitoErgoSum

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
Re: [SOLVED] amuled + kad + amuleweb
« Reply #5 on: September 11, 2005, 03:53:39 PM »

Quote
Originally posted by stefanero
well I run autoconnect and works fine...but I dont run amuled

Kry said its supposed to work in amuled so I guess it does
I saw that on amuled kad doesn't work. If I use autoconnect amuled freeze and stop, if i manually connect to server kad doesn't connect too...
Quote
2005-09-11 15:47:04: Creditfile loaded, 33940 clients are known
2005-09-11 15:47:04: Loading ipfilter.dat files.
2005-09-11 15:47:04: Loaded 0 IP-ranges from 'ipfilter.dat'. 0 malformed lines were discarded.
2005-09-11 15:47:04: Loaded 0 IP-ranges from 'ipfilter_static.dat'. 0 malformed lines were discarded.
2005-09-11 15:47:04: Loading server.met file: /home/p2p/.aMule/server.met
2005-09-11 15:47:04: 72 servers in server.met found
2005-09-11 15:47:06: Found 41 part files
2005-09-11 15:47:06: *** TCP socket (ECServer) listening on 0.0.0.0:4712
2005-09-11 15:47:10: Found 296 known shared files
2005-09-11 15:47:11: webserver running on pid 13010
2005-09-11 15:47:11: AICH Thread: Syncronization thread started.
2005-09-11 15:47:11: AICH Thread: Masterhashes of known files have been loaded.
2005-09-11 15:47:11: AICH Thread: No new files found.
2005-09-11 15:47:11: AICH Thread: Terminated.
2005-09-11 15:47:11: New external connection accepted
2005-09-11 15:47:11: Connecting client: aMuleweb CVS
2005-09-11 15:47:11: Access granted.
2005-09-11 15:47:31: Connecting to ####.... removed ....####
2005-09-11 15:47:31: Connected to ####.... removed ....####
2005-09-11 15:47:31: Connection established on: ####.... removed ....####
2005-09-11 15:47:31: Connected to ####.... removed ....#### with HighID
2005-09-11 15:47:31: New clientid is 704776965
In amule.conf I have ConnectToKad=1 and ConnectToED2K=1
Webserver needs distinct ConnectToKad and ConnectToED2K buttons, or at least they should be implemented in amulecmd...

Bye
Logged

wardevil

  • Sr. Member
  • ****
  • Karma: -1
  • Offline Offline
  • Posts: 402
Re: [SOLVED] amuled + kad + amuleweb
« Reply #6 on: September 11, 2005, 11:26:49 PM »

Humm...i use amuled and kad seems to work..... check that out  8)

A criar o cliente...
A conectar...
A usar a máquina 'server' porto: 4712
A tentar conectar (tempo limite = 10 segundos)...
Sucesso! Conexão estabelecida com aMule CVS

---------------------------------
|       cliente de texto aMule       |
---------------------------------


Use 'Help' para lista de comandos

aMulecmd$ statistics
 > Estatísticas
 >  Tempo de funcionamento: 1 Dias 20 horas
 >  Transferência
 >   Taxa enviado:recebido da sessão (total): 1 : 2,21
 >   Saídas
 >    Dados enviados (sessão (total)): 1,15 GB (112,87 GB)
 >     eMule: 1,04 GB
 >     eMule+: 20,30 MB
 >     eDonkeyHybrid: 10,12 MB
 >    Sobrecarga total (pacotes): 91,46 MB (1,53M)
 >    Sobrecarga de pedidos de ficheiro (pacotes): 12,19 MB (442k)
 >    Sobrecarga de mudanças de fonte (pacotes): 2,29 MB (3k)
 >    Sobrecarga do servidor (pacotes): 161 kB (24k)
 >    Kad Overhead (Packets): 61,97 MB (821k)
 >    Active Uploads: 2
 >    Waiting Uploads: 1499
 >    Total successful upload sessions: 146
 >    Total failed upload sessions: 8
 >    Tempo médio de envio: 37:32 minutos
 >   Entradas
 >    Dados recebidos (sessão (total)): 2,53 GB (183,11 GB)
 >     eMule: 2,39 GB
 >     eMule+: 72,52 MB
 >     eDonkey: 39,03 MB
 >     Shareaza: 21,88 MB
 >     eDonkeyHybrid: 7,33 MB
 >     lphant: 3,78 MB
 >    Sobrecarga total (pacotes): 63,61 MB (1,33M)
 >    Sobrecarga de pedidos de ficheiro (pacotes): 8,85 MB (323k)
 >    Sobrecarga de mudanças de fonte (pacotes): 3,67 MB (4k)
 >    Sobrecarga do servidor (pacotes): 134 kB (885)
 >    Kad Overhead (Packets): 39,74 MB (828k)
 >    Found Sources: 85
 >     Passive: 58 (68,24%)
 >     Source Exchange: 16 (18,82%)
 >     Servidor: 11 (12,94%)
 >    Active Downloads (chunks): 4
 >  Conexão
 >   Average Downloadrate (Session): 16,55 kB/s
 >   Average Uploadrate (Session): 7,50 kB/s
 >   Max Downloadrate (Session): 549,07 kB/s
 >   Max Uploadrate (Session): 1,51 MB/s
 >   Reconexões: 3
 >   Tempo desde a primeira transferência: 1 Dias 20 horas
 >   Conectado ao servidor desde: 3:59 horas
 >   Conexões activas (estimativa): 34
 >   Max Connection Limit Reached: Never
 >   Average Connections (estimate): 32,1713
 >   Picos de conexões (estimativa): 157
 >  Clientes
 >   Total: 2320 Conhecido: 1575
 >   eMule: 1414 (89,78%)
 >    v2.22a: 2 (0,14%)
 >    v0.46c: 607 (42,93%)
 >    v0.46b: 76 (5,37%)
 >    v0.46a: 206 (14,57%)
 >    v0.45b: 159 (11,24%)
 >    v0.45a: 7 (0,50%)
 >    v0.44d: 80 (5,66%)
 >    v0.44c: 1 (0,07%)
 >    v0.44b: 78 (5,52%)
 >    v0.44a: 4 (0,28%)
 >    v0.43b: 20 (1,41%)
 >    v0.43a: 2 (0,14%)
 >    v0.42g: 16 (1,13%)
 >    v0.42f: 1 (0,07%)
 >    v0.42e: 19 (1,34%)
 >    v0.42d: 6 (0,42%)
 >    v0.42b: 2 (0,14%)
 >    v0.41b: 1 (0,07%)
 >    v0.30: 125 (8,84%)
 >    v0.29: 1 (0,07%)
 >    desconhecido: 1 (0,07%)
 >   eMule+: 102 (6,48%)
 >    v1.1f: 54 (52,94%)
 >    v1.1e: 5 (4,90%)
 >    v1.1d: 27 (26,47%)
 >    v1.1c: 2 (1,96%)
 >    v1.1b: 13 (12,75%)
 >    v1.1a: 1 (0,98%)
 >   Shareaza: 20 (1,27%)
 >    v2.2a: 3 (15,00%)
 >    v2.1a: 1 (5,00%)
 >    v0.30: 16 (80,00%)
 >   eDonkeyHybrid: 16 (1,02%)
 >    v0.100: 1 (6,25%)
 >    v0.40.3: 11 (68,75%)
 >    v0.40: 3 (18,75%)
 >    v0.30.9: 1 (6,25%)
 >   aMule: 13 (0,83%)
 >    Versão
 >     v2.0.3: 6 (46,15%)
 >     v2.0.2: 2 (15,38%)
 >     v2.0.0: 4 (30,77%)
 >     1.x (based on eMule v0.30): 1 (7,69%)
 >    Operating System
 >     Windows: 1 (7,69%)
 >     Linux: 4 (30,77%)
 >     MacOS: 3 (23,08%)
 >     Não recebido: 5 (38,46%)
 >   lphant: 6 (0,38%)
 >     v1.09a: 3 (50,00%)
 >     v1.07a: 2 (33,33%)
 >     v1.06a: 1 (16,67%)
 >   New MLDonkey: 4 (0,25%)
 >    v2.6e: 1 (25,00%)
 >    v2.6d: 1 (25,00%)
 >    v0.30: 2 (50,00%)
 >   desconhecido: 745
 >   HasSocket: 34
 >   Filtered: 0
 >   banidos: 26
 >  Servidores
 >   Working Servers: 140
 >   Failed Servers: 239
 >   Total: 379
 >   Servidores removidos: 0
 >   Filtered Servers: 0
 >   Users on Working Servers: 10826692
 >   Files on Working Servers: 1392601261
 >   Total Users: 12479864
 >   Total Files: 3004957973
 >   Ocupacão do servidor: 11,54%
 >  Ficheiros partilhados
 >   Number of Shared Files: 110
 >   Tamanho total de ficheiros partilhados: 13,49 GB
 >   Tamanho médio de ficheiro: 125,54 MB
aMulecmd$  

Seems to work right???

Cheers....
Logged
Linux user nº289016 at Linux counter

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: [SOLVED] amuled + kad + amuleweb
« Reply #7 on: September 12, 2005, 03:41:43 AM »

Seems to work :)
Logged

DigitoErgoSum

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
Re: [SOLVED] amuled + kad + amuleweb
« Reply #8 on: September 12, 2005, 10:30:05 PM »

ehm... It seems to work :) ...
I'll try to recompile it with a new ebuild...
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: [SOLVED] amuled + kad + amuleweb
« Reply #9 on: September 13, 2005, 08:03:24 AM »

wokrs also here, I tryed it yesterday and you can also see it in the normal webserver-log
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Karhandras

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 47
Re: [SOLVED] amuled + kad + amuleweb
« Reply #10 on: September 13, 2005, 09:14:42 AM »

Wait! Don't compile from ebuild!

Or, before compiling it, tweak the ebuild to enable kad, beacuse I think the ebuild doesn't do it by default.

the best thing is to configure and compile it yourself with all the 'options' you like.
Logged

Radek

  • Full Member
  • ***
  • Karma: 5
  • Offline Offline
  • Posts: 149
Re: [SOLVED] amuled + kad + amuleweb
« Reply #11 on: September 13, 2005, 07:04:21 PM »

Weird...

Not working here  ?(

I did
Code: [Select]
./configure --enable-optimize --enable-kad-compile --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemonand I have
Code: [Select]
ConnectToKad=1 in amule.conf.

Statistics tell me
Quote
Kad Overhead (Packets): 0 bytes (0)
and in the whole logfile no mentioning of Kad.

I have been connected to "Razorback 2.0" and "DonkeyServer No1", have a high ID and no idea what's wrong :rolleyes:

BTW: I use CVS-20050910 with Debian Sarge.

Any hints and/or questions are welcome  ;)
Logged
There are 10 kinds of people - those who are able to understand binary numbers and those who aren't...

wardevil

  • Sr. Member
  • ****
  • Karma: -1
  • Offline Offline
  • Posts: 402
Re: [SOLVED] amuled + kad + amuleweb
« Reply #12 on: September 13, 2005, 07:20:42 PM »

How many sources do you have for your files?
Find some files with lots of sources and wait 1 hour then run amulecmd -c "statistics" and check  in the upload and download sections for Kad....
That should do it.  :D

Cheers....
Logged
Linux user nº289016 at Linux counter

Radek

  • Full Member
  • ***
  • Karma: 5
  • Offline Offline
  • Posts: 149
Re: [SOLVED] amuled + kad + amuleweb
« Reply #13 on: September 13, 2005, 07:29:29 PM »

@wardevil
I have only a few files and all of them quite rare. This CVS is running for at least 2 days now.

But I will try your advice, of course.

Thanks...
Logged
There are 10 kinds of people - those who are able to understand binary numbers and those who aren't...

DigitoErgoSum

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
Re: [SOLVED] amuled + kad + amuleweb
« Reply #14 on: September 14, 2005, 12:26:10 PM »

I've recompiled amule with a modified ebuild.

Quote
Calculating dependencies ...done!
[ebuild   R   ] net-p2p/amule-cvs-2  -X +amuled -debug -gtk2 +kad -nls +nosystray -optimize +remote -remote-gui -stats -unicode -wxgtk1 0 kB [1]

Quote
 **** aMule Core ****
  Prefix where aMule should be installed?                    /usr
  Should aMule be compiled with i18n support?                no
  Should aMule be compiled in debug mode?                    yes
  Should aMule be compiled with profiling?                   no
  Should aMule be compiled with optimizations?               no
  Should aMule be compiled with taskbar icon support?        no
  Should aMule be linked against patched gsocket?            no
  Should aMule monolithic application be built?              no
  Should aMule daemon version be built?                      yes
  Should aMule remote gui be built? (EXPERIMENTAL)           no
  Should aMule Kademlia code be compiled?                    yes
  Crypto++ library/headers style?                            embedded

  **** aMule TextClient ****
  Should aMule Command Line Client be built?                 yes
  Should aMule GUI Client be built?                          no

  **** aMule WebServer ****
  Should aMule WebServer be built?                           yes
  Should aMule WebServer GUI be built?                       no

  **** aMule ED2K Links Handler ****
  Should aMule ED2K Links Handler be built?                  yes

  **** aMuleLinkCreator ****
  Should aMuleLinkCreator GUI version (alc) be built?        no
  Should aMuleLinkCreator for console (alcc) be built?       no

  **** aMule Statistics ****
  Should C aMule Statistics (CAS) be built?                  no
  Should aMule GUI Statistics (wxCas) be built?              no

  **** General Libraries and Tools ****
  Should ccache support be enabled?                          no
  Libraries aMule will use to build:
                                       wxWidgets             2.6.1
                                       crypto++              embedded
                                       libpng                1.2.8
                                       libgd                 2.0.32
                                       zlib                  1.2.3

Quote
ConnectToKad=1
ConnectToED2K=1

Quote
> Statistics
 >  Uptime: 38:51 mins
 >  Transfer
 >   Session UL:DL Ratio (Total): 1 : 1.64
 >   Uploads
 >    Uploaded Data (Session (Total)): 89.95 MB (XXXX TB)
 >     eMule: 74.24 MB
 >     New MLDonkey: 10.15 MB
 >     eMule+: 6.84 MB
 >    Total Overhead (Packets): 862 kB (20k)
 >    File Request Overhead (Packets): 453 kB (15k)
 >    Source Exchange Overhead (Packets): 51 kB (115)
 >    Server Overhead (Packets): 43 kB (349)
 >    Kad Overhead (Packets): 0 bytes (0)
 >    Active Uploads: 5
 >    Waiting Uploads: 469
 >    Total successful upload sessions: 9
 >    Total failed upload sessions: 20
 >    Average upload time: 10:30 mins
 >   Downloads
 >    Downloaded Data (Session (Total)): 147.22 MB (XXXX GB)
 >     eMule: 147.22 MB
 >    Total Overhead (Packets): 614 kB (7k)
 >    File Request Overhead (Packets): 226 kB (4k)
 >    Source Exchange Overhead (Packets): 187 kB (141)
 >    Server Overhead (Packets): 526 bytes (19)
 >    Kad Overhead (Packets): 0 bytes (0)
 >    Found Sources: 999
 >     Source Exchange: 967 (96.80%)
 >     Server: 25 (2.50%)
 >     Passive: 7 (0.70%)
 >    Active Downloads (chunks): 5

I need some help...  ?(
Logged
Pages: [1] 2