File: FAQ.html

package info (click to toggle)
mldonkey 2.8.1-2etch1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 16,940 kB
  • ctags: 26,220
  • sloc: ml: 138,666; sh: 15,368; cpp: 12,076; ansic: 8,243; asm: 3,858; xml: 3,367; perl: 1,831; makefile: 259; python: 258
file content (1129 lines) | stat: -rw-r--r-- 37,512 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
<html>
<head>
<META name="robots" content="noindex, nofollow">
<title>mldonkey FAQ</title>
</head>
<body bgcolor="#ffffff">


<center>

 <H1> <a href=index.html> mldonkey </a>: Frequently Asked Questions </H1>


 <a href=faq.html> English </a>, 
 <a href=faq.html.de> Deutsch </a>, 
 <a href=faq.html.fr> Francais </a>
o&nbsp;<a href=faq.html.es>Espaol</a>

</center>

<ol> 

 <a name=index_back>
  <li> <h3> Background </h3> </a>
    <ol> 
      <li> <strong> <a href=#back1> What is mldonkey ? </a> </strong>
      <li> <strong> <a href=#back2> Why use Objective-Caml to program mldonkey ?  </a> </strong> 
      <li> <strong> <a href=#back3> Where can I find support on mldonkey ?  </a> </strong>
      <li> <strong> <a href=#back4> Where can I download mldonkey ?  </a> </strong>
      <li> <strong> <a href=#back5> Where can I find mldonkey for Windows ?  </a> </strong>
	   <li> <strong> <a href=#back6> What's new with MLdonkey 2.00 ? </a> </strong>
    </ol>

 <a name=index_run>
  <li> <h3> Running mldonkey </h3> </a>

    <ol>
      <li> <strong> <a href=#run1> How should I start mldonkey ? </a> </strong>
      <li> <strong> <a href=#run2> How can I control mldonkey ? </a> </strong>
      <li> <strong> <a href=#run3> Where/what are mldonkey configuration files ? </a> </strong>
      <li> <strong> <a href=#run4> How can I control the bandwidth used by mldonkey ? </a> </strong>
      <li> <strong> <a href=#run5> When I modify an option in the config file, mldonkey overwrites it with its old value ? </a> </strong>
      <li> <strong> <a href=#run6> Where are the files I have downloaded with mldonkey ? </a> </strong>
      <li> <strong> <a href=#run7> Why does MLdonkey automatically pause some of my downloads ? </a> </strong>
      <li> <strong> <a href=#run8> How can I reach mldonkey WEB interface 
if my firewall only allows port 80 ? </a> </strong> 
    </ol> 

 <a name=index_gui>
  <li> <h3> Running the GTK GUI </h3> </a>

   <ol>
     <li> <strong> <a href=#gui1> When I start the GUI, I get a lot of error messages, and the GUI terminates with a "Segmentation Fault" ? </a> </strong>
     <li> <strong> <a href=#gui2> I can't connect to mldonkey from a remote host, neither by telnet, WWW or the GUI ? </a> </strong>
     <li> <strong> <a href=#gui3> The GUI is immediatly disconnected from the core, or keeps connecting and disconnecting very fast  ? </a> </strong>
  </ol>

 <a name=index_build>
  <li> <h3> Building mldonkey </h3> </a>

  <ol>
      <li> <strong> <a href=#build1> How can I download the latest sources of mldonkey ? </a> </strong>
      <li> <strong> <a href=#build2> What do I need to compile mldonkey on my system ? </a> </strong>
      <li> <strong> <a href=#build3> How do I compile mldonkey on my system ? </a> </strong>
      <li> <strong> <a href=#build4> I just updated from CVS, and I get an error while compiling ? </a> </strong>
  </ol>

 <a name=index_edonkey>
  <li> <h3> The eDonkey plugin </h3> </a>
  
    <ol>
      <li> <strong> <a href=#edonkey0> What is the eDonkey network ? </a> </strong>
      <li> <strong> <a href=#edonkey1> Why can't  mldonkey connect to any server ? </a> </strong>
      <li> <strong> <a href=#edonkey2> How can I import my old edonkey files under mldonkey ? </a> </strong>
      <li> <strong> <a href=#edonkey3> Where can I find files on eDonkey without searching on servers ? </a> </strong> 
      <li> <strong> <a href=#edonkey4> Why does mldonkey only connect 5 
servers, whereas <tt> max_connected_servers </tt> is greater ? </a> </strong>
      <li> <strong> <a href=#edonkey5> What's about Overnet ? </a> </strong> 
      <li> <strong> <a href=#edonkey6> I'm behind a firewall, what should I do ? </a> </strong> 
      <li> <strong> <a href=#edonkey7> How can I share multiple directories ? </a> </strong> 
   </ol>

 <a name=index_soulseek>
  <li> <h3> The Soulseek plugin </h3> </a>
  
    <ol>
      <li> <strong> <a href=#slsk0> What is the Soulseek network ? </a> </strong>
      <li> <strong> <a href=#slsk1> I can't connect to the server ? </a> </strong>
    </ol>

 <a name=index_limewire>
   <li> <h3> The LimeWire plugin </h3>

    <ol>
     <li> <strong> <a href=#limewire0> What is the LimeWire network ? </a> </strong>
     <li> <strong> <a href=#limewire1> When I search for files, I receive unrelated results ? </a> </strong>
   </ol>

  <li> <h3> The other plugins </h3>
    <ol>
      <li> <strong> <a href=#other1> What is the current Development Status of 
mldonkey plugins ?  </a> </strong>
    </ol>
</ol>






<ol>

<hr>
<li> <h2> Background </H2>

<ol>
  <li> <h3> <a name=back1> What is mldonkey ? </a> </h3>

Formerly, mldonkey was a Linux client for the eDonkey network, built from
a reverse-engineered version of the protocol. Now, it is also able to connect
to multiple networks (gnutella, Direct-Connect, Soulseek, etc).

<p> 
MLdonkey runs on most Unix clones: Linux (x86, alpha, sparc), Mac OS X, 
Solaris x86, Free/OpenBSD, etc.

<p>

It runs as a daemon, in the background, that can run, downloading and sharing
files, 24 hours a day. You can interact with your mldonkey daemon, either
locally or remotely, by a telnet interface, a WEB interface or a GTK 
GUI. Other GUIs have also been created for mldonkey.

  <li> <h3> <a name=back2> Why use Objective-Caml to program mldonkey ?  </a> </h3>

Most programmers associate functional languages with languages theory,
lambda-calculus, recursivity, and non-mutable variables, ie the most 
boring lectures at university.

<p>
 Fortunately, Objective-Caml is not only a functional language: it also
provides many other programming paradigms, such as imperative constructs
(<tt>while</tt> and <tt>for</tt> loops, mutable variables, records),
object-oriented constructs, and a powerful C-interface. Moreover, its 
native-code compiler carefully checks your program for typing errors (no 
more segfaults !), and produces a very efficient code (even faster than C 
on many examples).

<p>
If you don't believe me, check the following links:
<ul>
<li>
<a href="http://www.bagley.org/~doug/shootout/"> A comparison between many languages </a>
<li> Two Objective Caml programs win first and second prizes at the 
<a href="http://www.cs.cornell.edu/icfp/"> ICFP'2000 programming contest </a>,
 to write a ray-tracer program.
<li> An Objective Caml program ranks first at the
<a href="http://www.cs.virginia.edu/~jks6b/icfp/">  ICFP'1999 programming contest </a>.
</ul>

<li> <h3> <a name=back3> Where can I find support on mldonkey ?  </a> </h3>

The first place is the 
<a href="http://savannah.nongnu.org/projects/mldonkey/"> MLdonkey Project Site</a>
 where you will find:

<ul>
  <li> The <a href="mailto:mldonkey-users@mail.freesoftware.fsf.org"> 
mldonkey-users@mail.freesoftware.fsf.org </a> Mailing-list, where you can 
either contact the developpers or ask other users for advises.
  <li> The 
<a href="http://savannah.nongnu.org/bugs/?group=mldonkey"> Bug Report 
system </a>
 to report bugs appearing when running mldonkey.
  <li> The
<a href="http://savannah.nongnu.org/support/?group=mldonkey"> 
Support system </a> where you can ask for support in running mldonkey.
</ul>

<p> You can also try to read/post in the 
<a href="http://www.mldonkeyworld.com/">
 MLDonkey Forums </a> or on the IRC Channel #mldonkey on irc.freenode.net .

  <li> <h3> <a name=back4>   Where can I download mldonkey ?  </a> </h3>

The latest stable binaries can be downloaded from the
<a href="http://savannah.nongnu.org/download/mldonkey/">
 Project Download page </a>.

If you want a more recent version of mldonkey, you need to check out the 
sources from the CVS, and compile it yourself. 
See <a href=#index_build> Building Mldonkey </a> for help.

<li> <h3> <a name=back5> Where can I find mldonkey for Windows ?  </a> </h3>

MLdonkey does not run very well under Cygwin on Windows. Moreover, there 
is no native port of MLdonkey to Windows, so you will not be able to run 
it on these systems.

     <p>

     If you have some knowledge of MinGW, you might try to compile
     Objective-Caml and mldonkey. It would probably run better than under
     Cygwin. Note that mldonkey does not use threads, and the select call
     is only used to descriminate between sockets (read/write/connect/accept).

<li> <h3> <a name=back6> What's new with MLdonkey 2.00 ? </a> </h3>

     If you were using MLdonkey 1.16, you might be interested in knowing what is new
     with MLdonkey 2.00. Here are the main improvements:

     <ul>

       <li> Overnet support.
       <li> Completely New GUI: upload panel, icons, configuration of many options.
       <li> Post-filtering of results (see Overnet or LimeWire plugins).
       <li> Multi-networks support (sources and CVS only).
       <li> Many bug fixes: memory leak, "too many open file descrs", sharing,
	    upload/download rates, ...
     </ul>
     
</ol>

<hr>
<li> <h2> Running mldonkey </H2>

<ol>

<li> <H3> <a name=run1> How should I start mldonkey ? </a> </H3>

mldonkey will install its configuration files in the directory where you 
start it. So, first, choose the right directory, where you want it to run.
Then, copy the "servers.ini" file that is in the distribution in this 
directory. I suppose here that mldonkey is started in its directory.

Start mldonkey with:

<pre>
./mldonkey
</pre>

It should display some debug info. DON'T CLOSE THE TERMINAL WHERE IT
WAS STARTED, otherwise it might get blocked on terminal output.

 Once you are sure it works correctly, you can dump the debug info in a file
(but it can become very big) or better in /dev/null, the next time you 
start it:

<pre>
./mldonkey &> /dev/null
</pre>

<li> <h3> <a name=run2> How can I control mldonkey ? </a> </h3>

 You have three different ways to control the mldonkey daemon (note that, by
default, mldonkey is configured to accept only control connections from the
host running mldonkey (<a href=#gui2> more info </a>)):

<ul>

<li> The telnet interface: the telnet interface allows you to control 
mldonkey locally or remotely from a terminal with simple commands:
<pre>
telnet localhost 4000
</pre>
where <tt> localhost </tt> is the host running mldonkey and 4000 is the 
default port for the telnet interface.

<p>
There are many commands available. Use the <tt> help </tt> command to 
display all of them.

<li> The WEB interface: the WEB interface allows you to control mldonkey 
through your favorite navigator. The default url is:

<pre>
http://localhost:4080/
</pre>

where  <tt> localhost </tt> is the host running mldonkey and 4080 is the 
default port for the WEB interface.

<li> The GTK GUI: you can use a powerful GTK interface to control mldonkey.
It is called <tt> mldonkey_gui </tt>. Use the File::Setting menu to 
configure how to connect to your mldonkey daemon.


</ul>

<li> <h3> <a name=run3> Where/what are mldonkey configuration files ? </a> </h3>

MLdonkey creates its configuration files in the directory where it is 
started. All of them terminate with a .ini extension. You should not 
modify them while mldonkey is running since it periodically overwrites 
them. Instead you should either stop it, or modify the options using one of 
the interfaces.

<ul>

<li> <tt> downloads.ini </tt> : the basic options (and historically, the 
edonkey plugin options)
<li> <tt> files.ini </tt> : the list of files being currently downloaded, 
and informations needed to recover the download after a stop.
<li> <tt> servers.ini </tt> : the list of all known servers for all networks.
<li> <tt> friends.ini </tt> : the list of your friends (peers you like to 
browse files) on all networks.

<li> Other configuration files are used by mldonkey plugins, normally one 
per network.

<li> <tt> ~/.mldonkey_gui.ini </tt> : the GUI configuration file is the 
only one which is not stored in the mldonkey directory.

</ul>

<li> <h3> <a name=run4> How can I control the bandwidth used by mldonkey ? </a> </H3>

There are two options in the downloads.ini file: max_hard_upload_rate and
max_hard_download_rate. Setting these options to 0 means that there are no 
limits. They are expressed in kilobytes/second (not kilobits/second !).
The upload limit both applies to the files which are downloaded from you, 
and for the messages you send to ask for files: be careful not to limit 
your upload too much !

<p>
<table  border="1" cellpadding="5" align=center>

<tr>
<td align=center> </td>
<td align=center colspan=2> Low Bandwidth Usage </td> 
<td align=center colspan=2> High Bandwidth Usage </td> 
</tr>

<tr>
<td align=center> Your Connection Type </td> 
<td align=center> max_hard_upload_rate </td> 
<td align=center> max_hard_download_rate </td> 
<td align=center> max_hard_upload_rate </td> 
<td align=center> max_hard_download_rate </td> 
</tr>

</tr>
<td> T1 and more </td>
<td align=center> 50 </td>
<td align=center> 0 </td>
<td align=center> 0 </td>
<td align=center> 0 </td>
</tr>

</tr>
<td> Cable/ADSL 512/128 kbs </td>
<td align=center> 2 </td>
<td align=center> 6 </td>
<td align=center> 6 </td>
<td align=center> 12 </td>
</tr>

</tr>

If you have troubles with these values, find the best one corresponding to 
your link and send us the information to fix this table !

</table>

<li> <h3> <a name=run5> When I modify an option in the config file, mldonkey overwrites it
with its old value ? </a> </h3>

There are two cases:
<ul>
 <li> When you edit a config file, mldonkey must not run. Indeed, mldonkey
saves its configuration periodically, overwritting any changes made in the
files.
 <li> Be careful with the syntax. If mldonkey can't parse the config file, it
will generate a new file with the old values for all options that couldn't 
be read correctly. You must remember that you must put filenames and directory
names between "" (they are not always required if there are no special 
characters inside the name (such as spaces, slashes, etc...), so mldonkey can 
remove them in some cases).
 
</ul>

<li> <h3> <a name=run6> Where are the files I have downloaded with 
mldonkey  ? </a> </h3>

Files being currently downloaded are temporarily stored in the <tt> 
temp/ </tt> directory at the level of mldonkey config files. Files in this 
directory are identified by their MD4 (for edonkey files) or by a random 
identifier. 

<p> When the download of a  file is finished, the file is added to a list 
of files that have to be "committed". These files are not renamed, so they
are still kept in the temp directory.

 <p> To move finished downloads into the <tt> incoming/ </tt> directory with
their final name, you need to use the command <tt> commit </tt> in the
telnet, or the "Save" buttons in the GUI.

<li> <h3> <a name=run7> Why does MLdonkey automatically pause some of my downloads ? </a> </h3>

 When mldonkey receives data for a file from the network, it tries to write
this data in the file in the temp/ directory. If, for some reason, it cannot
write the data, it immediatly pauses the file.

<p> This can happen for different reasons:

<ul>
  <li> You have no space left on the disk. You can verify it with the "df" 
    command, and free some space for the downloads to continue.
  <li> The user running mldonkey has not write permissions to write in
    your temp/ directory, or on the file temporary file.
</ul>

<li> <h3> <a name=run8> How can I reach mldonkey WEB interface 
if my firewall only allows port 80 ? </a> </h3> 

If you want to access the WEB interface (port 4080) through a firewall,
and the firewall only allows port 80, and you don't want to run mldonkey 
as root, you can set up the apache WEB server to redirect requests to mldonkey:

<ul>
 <li> Edit your "httpd.conf" : Insert the following lines somewhere in the 
"Section 2: main server configuration":

<pre>
RewriteEngine       on
ProxyRequests        on
RewriteRule /mldonkey http://localhost:4080/$1 [P,L]
RewriteRule /(submit.*) http://localhost:4080/$1 [P,L]
RewriteRule /(files.*) http://localhost:4080/$1 [P,L]
ProxyPassReverse /(.*)  http://localhost:4080/$1
</pre>

where, of course, <tt> localhost </tt> is your mldonkey host, and <tt> 
4080 </tt> is the <tt> http_port </tt> of mldonkey.

<li> With these rules, <tt> http://aaa.bbb.ccc.ddd/mldonkey </tt>,
where <tt>aaa.bbb.ccc.ddd</tt> is the IP address of the host running the 
apache server, should connect to your mldonkey.

</ul> 

</ol>

<hr>
<li> <h2> Running the GTK GUI </h2>

<ol>

<li> <H3> <a name=gui1> When I start the GUI, I get a lot of error messages, 
and the GUI terminates with a "Segmentation Fault" ? </a> </H3>

You probably use the "static" binary of mldonkey GUI. Download the 
"shared" binaries from this site, and use that GUI. This bug is caused by 
an incompatibility between the statically linked GTK library and the 
themes installed on your distribution.

<li> <H3> <a name=gui2> I can't connect to mldonkey from a remote host, 
neither by telnet, WWW or the GUI ? </a> </H3>

You need to modify the "allowed_ips" option in the downloads.ini file to 
define which hosts are allowed to control your mldonkey core.

You can either stop mldonkey, and edit the downloads.ini file:

<pre>
allowed_ips = ["127.0.0.1"; "192.168.255.255"; "65.64.43.63"]
</pre>

for example allows your localhost (127.0.0.1) to control mldonkey, all the 
hosts from the network 192.168.*.*, and the host 65.64.43.63.

If you don't want to stop mldonkey, just connect locally with the telnet, 
and type:

<pre>
set allowed_ips "127.0.0.1 192.168.255.255 65.64.43.63"
</pre>

<li> <h3> <a name=gui3> The GUI is immediatly disconnected from the core, or keeps connecting and disconnecting very fast  ? </a> </h3>

There are two cases to consider:

<ul>

<li> You have set a password in the core to access it through the GUI: you 
must enter the password in the GUI too (use the <tt> Files :: Settings 
</tt> menu for that.

 <li> You have two GUIs connected to the same core: the core (1.99 and
later) only allows one GUI to be connected simultaneously. When you connect,
it immediatly disconnects the previous GUI. This can only work if the
previous GUI does not try to reconnect automatically: <tt> mldonkey_gui </tt>
will not reconnect, but maybe you are using another contributed GUI, which
tries to automatically reconnect, and make the core disconnect your GUI ?
Then, tell its author to remove this feature or to put an option to disable
it.

</ul>

</ol>

<hr>
<li> <h2> Building mldonkey </h2>

<ol>
  <li> <h3> <a name=build1>   How can I download the latest sources 
of mldonkey ? </a> </h3>

 Checkout the sources of mldonkey from the 
<a href="http://savannah.nongnu.org/cvs/?group_id=1409"> CVS repository </a>.
Here is the standard procedure:

<!--
or download the 
<a href="http://freesoftware.fsf.org/cvs.backups/mldonkey.tar.gz">
CVS tarball
</a> (be careful, .
-->

<pre>
cvs -d:pserver:anoncvs@subversions.gnu.org:/cvsroot/mldonkey login
(password: just hit enter)
cvs -z3 -d:pserver:anoncvs@subversions.gnu.org:/cvsroot/mldonkey co mldonkey
</pre>


  <li> <h3> <a name=build2> What do I need to compile mldonkey on my system ? </a> </h3>

 You need ocaml-3.06 (<a href="http://caml.inria.fr/ocaml/distrib.html">
Ocaml site </a>) installed
     for the code
     and        <a href="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html"> 
lablgtk </a> compiled in native code with ocaml 3.06 for the GTK gui.

The easiest way is to download binaries for your system. Otherwise, use 
the following lines to install them:

<ul>
 <li> Installing Objective-Caml 3.06 in <tt>/usr/local/bin</tt>

<pre>
    ~/tmp> tar zxf ocaml-3.06.tar.gz
    ~/tmp> cd ocaml-3.06
    ~/tmp/ocaml-3.06> ./configure
    ~/tmp/ocaml-3.06> make world opt opt.opt
    ~/tmp/ocaml-3.06> make install
</pre>

<li> LablGTK 1.2.3 for example

<pre>
    ~/tmp> tar zxf lablgtk-1.2.3.tar.gz
    ~/tmp> cd lablgtk-1.2.3
    ~/tmp/lablgtk-1.2.3> make configure
    ~/tmp/lablgtk-1.2.3> make
    ~/tmp/lablgtk-1.2.3> make opt
    ~/tmp/lablgtk-1.2.3> make install
</pre>

Do not forget the "make opt" which is required to get a native-code version
of the libraries.

</ul>

  <li> <h3> <a name=build3> How do I compile mldonkey on my system ? </a> </h3>


  To compile the core, you just need to use the following commands:
       <pre>
       cd mldonkey
       ./configure [...options...]
       make depend
       make
       </pre>

       You should now have a "mldonkey" executable ... No "make install" is
     provided.
       
<p> If you get strange errors from make, you probably need to use "gmake" 
on your system.

       <p>
       You can use the following options for the configure:
<ul>
<li>  --enable-batch : install Objective-Caml and Lablgtk locally just 
to be able to compile mldonkey.
<li> --disable-multinet:       allows you to only compile support for edonkey
<li> --disable-opennap:       allows you to remove support for Open Napster
<li> --disable-limewire:       allows you to remove support for LimeWire
<li> --disable-directconnect:       allows you to remove support for Direct Connect
<li> --disable-soulseek:       allows you to remove support for SoulSeek
<li> --disable-openft:       allows you to remove support for OpenFT
<li> --disable-donkey:       allows you to remove support for eDonkey
</ul>

<li> <h3> <a name=build4> I just updated from CVS, and I get an error while compiling ? </a> </h3>

  After an update from the CVS, you MUST restart the configure script, and 
rebuild the dependencies:

       <pre>
       cd mldonkey
       cvs login
       cvs -z3 up -d
       ./configure [...options...]
       make depend
       make
       </pre>

  If the error messages are related to camlzip, a workaround is to edit 
manually the file <tt> config/Makefile.config </tt>, and to change the line
<tt> ZLIB=no </tt> and <tt> SOULSEEK=no </tt> (only soulseek requires 
camlzip).

</ol>

<hr>
<li> <h2> The eDonkey plugin </h2>

<ol>

<li> <H3> <a name=edonkey0>  What is the eDonkey network ? </a> </H3>

  The <a href="http://www.edonkey2000.com"> eDonkey network </a> is a network 
specialized in sharing really big files (between 0 to 1.4 GB).

<p>
This network offers a set of characteristics that cannot be found on other networks:
<ul>
  <li> Files can be downloaded from different sources at the same time.
  <li> Files are identified by uniq identifiers (MD4) that can be used to find
     new sources for a file.
  <li> Files are checked using checksums, and chunks (9MB) that are corrupted 
     are downloaded again.
  <li> Files chunks can be downloaded in any order.
  <li> Files are shared as soon as a checked chunk has been downloaded, to
     speed up the spreading of files.
</ul>

<li> <H3> <a name=edonkey1>  Why can't  mldonkey connect to any server ? </a> </H3>

<ul>
 <li> First, check that you have some servers known by mldonkey: connect 
to mldonkey by telnet (telnet localhost 4000) and use the "vma" command to
display all known servers.
 <li> If you have no servers known, you need to add a list of servers for 
mldonkey to connect to them: you can either:
  <ul>
    <li> Manually add them in the telnet :)
    <li> Import a Windows server.met file (downloaded on the WEB):
 use the "servers" command in the telnet, for example:

<pre>
servers "/mnt/windows/bureau/edonkey server list/server.met"
</pre>

    <li> You can restart mldonkey after copying the "servers.ini" file that
was in the distribution.
  </ul>
 <li> If you already have a list of known servers, maybe the list is not 
up-to-date, and maybe the servers are full. Try to add some new servers 
like above.
</ul>

<li> <h3> <a name=edonkey2> How can I import my old edonkey files under mldonkey ? </a> </h3>

<ul>
 <li>   Use the <tt>import</tt> command with the donkey directory containing your old
config as parameter. If your old edonkey was running on 
<tt> /home/bidule/edonkey </tt> (mldonkey should find a "pref.met" file in 
this directory), you can send the following command on mldonkey console:

<pre>
import "/home/bidule/edonkey"
</pre>

 <li> This might not work for a Windows configuration, since the absolute
path under windows is not the same as under linux (different mount points).
In this case, retry this command, but before, make sure that:

<ul>
 <li> The files you want to import are in a "temp" directory, inside the 
directory you give to the "import" command.
 <li> Remove the "pref.met" file, so that mldonkey does not try to use the 
temp directory specified in this file.
</ul> 

</ul>

 <li> <h3> <a name=edonkey3> Where can I find files on eDonkey without searching on servers ? </a> </h3>

  There are two kinds of WEB sites where you can find <a href=#edonkey4> 
ed2k:// links </a> for files on eDonkey:

<ul>
  <li> Recommandation Engines: on these Web sites, you will find commented 
     files, that you are sure to find complete on the eDonkey network. 

<ul>
  <li> The most famous is <a href="http://www.sharereactor.com"> Share 
Reactor </a>
</ul>

  <li> Search Engines: these Web sites allow you to search for files 
that are currently available on some servers. However, you have no 
guaranty they are complete:

<ul>
  <li> <a href="http://www.filedonkey.com"> File Donkey </a>
  <li> <a href="http://www.jigle.com"> Jigle </a>
</ul>
</ul>

      <li> <h3> <a name=edonkey4> Why does mldonkey only connect 5 
servers, whereas <tt> max_connected_servers </tt> is greater ? </a> </h3>

Being connected to several servers can be useful to spread the files you 
are uploading, and to initially find more sources to begin a download. 

<p> However, each server on which you are connected is not available for 
another user. For this reason, you should not stay connected to too many 
servers. mldonkey enforces this policy by limiting to 5 the number of 
servers on which you remain connected for a long time, whatever the value 
of <tt> max_connected_servers </tt> is.

<p> Thus, you should simply see <tt> max_connected_servers </tt> as the 
number of servers mldonkey tries to connect concurrently to at the 
startup, not as the number of servers he will remain connected to.

<li> <h3> <a name=edonkey5> What's about Overnet ? </a> </h3> 

     <a href="http://www.overnet.com"> Overnet </a>  is a network using the same
     download protocol as edonkey, but a different
     <a href="http://citeseer.nj.nec.com/529075.html"> search/localisation protocol </a>,
     that doesn't need servers.

     <p>

     MLdonkey 2.00 is able to search for files and sources on Overnet. For that, you must
     make sure that:

     <ol>

       <li> The "overnet_search_sources" and "overnet_search_keywords" options are set to
	    true.

       <li> You have a (recent) list of Overnet peers that you can connect to. For that, you
	    can:

	    <ul>
	      <li> Use the "servers.ini" file from the most recent distribution of mldonkey. It
		   contains a long list of Overnet peers.

	      <li> Use the "boot IP PORT" command, to add a new peer.

	      <li> Use the "ovweb URL" command, to download a .ocl file from url URL
		   containing a list of recent peers.
		   
	    </ul>

	    You can use the "ovstats" command, to display how many peers you have been able
	    to connect to (well, they have replied to a connect UDP packet).

       <li> If you have enabled "overnet_search_keywords", replies to search can arrive from
	    Overnet peers. These results are not very accurate (they only need to match only
	    one of the keywords, instead of all for example).

	    <p>

	    As for all networks, you can activate post-filtering of results (very useful on
	    Gnutella too): set the "filter_search" option to true, and maybe the "filter_search_delay"
	    option (period between results updates in seconds). Then, only results matching exactly
	    your query will be displayed.
	    
     </ol>
     
 <li> <h3> <a name=edonkey6> I'm behind a firewall, what should I do ? </a> </h3> 

MLdonkey uses two ports for incoming connections, one on TCP (default is 
4662) and the other one for UDP (4666). Thus, you should open these ports
in your firewall, and forward them to the computer running mldonkey. More 
generally, you can do that for all ports between 4660 and 4670.

<p> Allowing incoming connections is important as it is the only way for 
you to connect other sources which are behind a firewall.

<p> If you have no control on the firewall, and your administrator blocks 
port 4660 to 4670, you should change the port used by mldonkey in the configuration
file <tt> downloads.ini </tt> : <tt> port </tt> is the TCP port, while the 
UDP port is always computed as <tt> port + 4 </tt>.

<li> <h3> <a name=edonkey7> How can I share multiple directories ? </a> </h3> 

Just edit the <tt> shared_directories </tt> option in <tt> downloads.ini </tt>:

<pre>
shared_directories = [ "/usr/share/documents"; "/usr/share/videos"]
</pre>

</ol>


<hr>
<li> <h2> The Soulseek plugin </h2>

<ol>

<li> <H3> <a name=slsk0> What is the Soulseek network ? </a> </H3>

The <a href="http://www.soulseek.org"> Soulseek Network </a> is a network 
similar to Napster.

 <p> You connect on a single server, and there, you can search for (mainly
audio) files, you can join rooms to chat with other users, and you can browse
other users files.

<li> <H3> <a name=slsk1> Why can't mldonkey connect to any server ? </a> </H3>

There is only one server on Soulseek, and the one you have in soulseek.ini 
is probably not up-to-date. Normally, mldonkey will download another one, so
that you will have to servers in your list of servers.

<p>
By default, mldonkey_gui does not display the servers you are not 
connected to. So you have to use the "Display All Servers" button, and ask 
mldonkey to try to connect to the second soulseek server.

<p>
Currently, the server is <tt> mail.slsk.org </tt>, port 2242.

<p> 
Mldonkey behavior will be improved to automatically connect to the current
 server from the soulseek site Web page.

</ol>

<hr>
<li> <h2> The LimeWire plugin </h2>

<ol>

  <li> <h3> <a name=limewire0> What is the LimeWire network ? </a> </h3>

  The <a href="http://www.limewire.org"> LimeWire network </a> is a 
network built upon the <a href="http://www.gnutella.org"> Gnutella network </a>.

<p>
The main difference is that all nodes in this network do not broadcast each 
received message to its neighbours. Instead, special nodes, called 
ultra-peers, with higher connectivity are dedicated for this task, whereas 
other smaller nodes (such as mldonkey) only connect and ask ultra-peers.

<p>
Currently, the LimeWire support in MLdonkey also allows mldonkey client to 
use <a href="http://www.gnucleus.org"> Gnucleus </a>, 
<a href="http://www.morpheus.com"> Morpheus </a>, and MyNapster 
ultra-peers as servers.

<p> 
On this network, you can mainly search for small files, you have no way to 
chat nor browse other peers.

  <li> <h3> <a name=limewire1> When I search for files, I receive unrelated results ? </a> </h3>

On Gnutella, there is no specified protocol for asking complex queries to 
other peers. Instead, each peer is free to interpret your query as it 
wants and reply what it wants.

<p>
In particular, multiple-words queries are often understood as logical-or 
queries between words, ie each document that contains at least one word is returned.

<p>
       As for Overnet, you can activate post-filtering of sources. Then, results
       which are received are checked by mldonkey against the query and only displayed if
       they are accurate. Post-Filtering is activated by setting the "filter_search" option
       to true, and modifying the "filter_search_delay" depending on the period you
       want between updates (for example, 30 means that results will be added only every
       30 seconds).

</ol>

<hr>
<li> <h2> The other plugins </h2>

<ol>
<li> <h3> <a name=other1> What is the current Development Status of 
mldonkey plugins ?  </a> </h3>

 The current Development Status of mldonkey (in the CVS) at 2002/09/09 is
shown on the following table (also have a look at the 
<a href="http://savannah.nongnu.org/cgi-bin/viewcvs/*checkout*/mldonkey/mldonkey/distrib/ChangeLog?rev=HEAD&content-type=text/plain">
ChangeLog 
</a>)


<table border="1" cellpadding="5">
<tr bgcolor="#80FF80"> 
<td align=center width="12%"> Features </td>
<td align=center width="9%"> <a href=http://www.edonkey2000.com/> eDonkey </a> </td>
<td align=center width="9%"> <a href=http://www.neo-modus.com/> Direct 
Connect </a> </td>
<td align=center width="9%"> <a href=http://opennap.sourceforge.net/> Open 
Napster </a> </td>
<td align=center width="9%"> <a href=http://www.limewire.org> Gnutella 
LimeWire </a> </td>
<td align=center width="9%"> <a href=http://www.slsk.org> Soulseek </a> </td>
<td align=center width="9%"> <a href=http://gift.sourceforge.net> OpenFT </a> </td>
</tr>


<tr> 
<td> Download Server List </td>
<td align=center> 1.16 </td>
<td align=center> CVS </td>
<td align=center> CVS </td>
<td align=center> CVS </td>
<td align=center> CVS </td>
<td align=center> CVS </td>
<td align=center> &nbsp; </td>
</tr>


<tr> 
<td> Server Connect </td>
<td align=center> 1.16 </td>
<td align=center> CVS </td>
<td align=center> CVS </td>
<td align=center> CVS </td>
<td align=center> CVS </td>
<td align=center> CVS </td>
<td align=center> CVS </td>
</tr>


<tr> 
<td> View Server Users </td>
<td align=center> 1.16 </td>
<td align=center> CVS </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
</tr>

<tr bgcolor=yellow> 
<td> Search Files </td>
<td align=center> 1.16 </td>
<td align=center> CVS </td>
<td align=center> CVS </td>
<td align=center> CVS </td>
<td align=center> CVS </td>
<td align=center> (web) </td>
<td align=center> CVS </td>
</tr>

<tr> 
<td> Browse Peer </td>
<td align=center> 1.16 </td>
<td align=center> CVS </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> CVS </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
</tr>

<tr bgcolor=yellow>
<td> Download Files </td>
<td align=center> 1.16 </td>
<td align=center> CVS </td>
<td align=center> CVS </td>
<td align=center> CVS </td>
<td align=center> CVS </td>
<td align=center> CVS </td>
<td align=center> CVS </td>
</tr>

<tr> 
<td> Recover Files </td>
<td align=center> 1.16 </td>
<td align=center> CVS </td>
<td align=center> CVS </td>
<td align=center> CVS </td>
<td align=center> &nbsp; </td>
<td align=center> CVS </td>
<td align=center> &nbsp; </td>
</tr>

<tr> 
<td> Recover Sources </td>
<td align=center> 1.16 </td>
<td align=center> CVS </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> CVS </td>
<td align=center> CVS </td>
</tr>

<tr> 
<td> Pause Downloads </td>
<td align=center> 1.16 </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> CVS </td>
<td align=center> &nbsp; </td>
</tr>

<tr> 
<td> Cancel Downloads </td>
<td align=center> 1.16 (not CVS) </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> CVS </td>
<td align=center> &nbsp; </td>
</tr>


<tr bgcolor=yellow> 
<td> Upload Files </td>
<td align=center> 1.16 </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
</tr>


<tr> 
<td> Upload File List </td>
<td align=center> 1.16 </td>
<td align=center> CVS </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
</tr>


<tr> 
<td> Friends </td>
<td align=center> 1.16 </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
</tr>

<tr> 
<td> Public Messages </td>
<td align=center> &nbsp; </td>
<td align=center> CVS </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> CVS </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
</tr>


<tr> 
<td> Private Messages </td>
<td align=center> 1.16 </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
</tr>

<tr> 
<td> Import Windows Config </td>
<td align=center> 1.16 </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
<td align=center> &nbsp; </td>
</tr>

<tr> 
<td> Config File </td>
<td align=center> downloads.ini </td>
<td align=center> directconnect.ini </td>
<td align=center> opennap.ini </td>
<td align=center> limewire.ini </td>
<td align=center> soulseek.ini </td>
<td align=center> openft.ini </td>
</tr>

<tr> 
<td> Disable Network </td>
<td align=center> CVS </td>
<td align=center> CVS </td>
<td align=center> CVS </td>
<td align=center> CVS </td>
<td align=center> CVS </td>
<td align=center> CVS </td>
<td align=center> CVS </td>
</tr>

</table>


</ol>

</ol>

<p>

If you have any comments, if you want to add some questions, or improve
this FAQ, send a mail to <a href="mailto:mldonkey@mldonkey.net"> 
mldonkey@mldonkey.net </a>

</body>
</html>