Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: dwater on May 31, 2005, 04:49:15 AM

Title: installing bittorrent client
Post by: dwater on May 31, 2005, 04:49:15 AM
I'm trying to install a bittorrent client on my server, but am having trouble.

I am running SME 6.0 (I think, or it might be 6.1 - not sure - how to find out?).

I have downloaded bittorrent-3.4.2-1.norlug.noarch.rpm which needed python2.3-2.3.5-1.norlug.i386.rpm which needed db4-4.0.14-20.i386.rpm, after which the dependencies expanded to :

Code: [Select]
$ rpm -Uvh bittorrent-3.4.2-1.norlug.noarch.rpm python2.3-2.3.5-1.norlug.i386.rpm db4-4.0.14-20.i386.rpm --test
error: failed dependencies:
        libc.so.6(GLIBC_2.3)   is needed by db4-4.0.14-20
        libc.so.6(GLIBC_2.3.2)   is needed by db4-4.0.14-20
        libpthread.so.0(GLIBC_2.3.2)   is needed by db4-4.0.14-20
        libdb.so.2   is needed by python-1.5.2-43.73
        libdb.so.2(GLIBC_2.0)   is needed by python-1.5.2-43.73


and I gave up.

What's the easiest way to install a bittorrent client so that I can contribute to TLMP (http://forums.tlm-project.org/showthread.php?p=899#post899)?

Max.
Title: installing bittorrent client
Post by: isi on May 31, 2005, 10:42:07 AM
Why didn't you use mldonkey.

cu
Title: installing bittorrent client
Post by: azche24 on May 31, 2005, 11:13:06 AM
Hi,
Quote from: "isi"
Why didn't you use mldonkey.

The installation of mldonkey is somehow obscure and only documented in french. Though i have some linux knowhow since my first steps with SME, i did not manage to install mldonkey either. I do not speak french.
Title: installing bittorrent client
Post by: isi on May 31, 2005, 11:36:02 AM
You don not have to speak french to install mldonkey.

visit:

http://azurlinux.com/files/e-smith/mldonkey/sme-6.0/

http://www.mldonkey.org/

http://mldonkey.dyndns.info/

and you have to use sancho for the gui.

http://sancho-gui.sourceforge.net/

cu
Title: installing bittorrent client
Post by: dwater on May 31, 2005, 12:31:21 PM
Quote from: "isi"
Why didn't you use mldonkey.

cu


...because it isn't bittorrent.

...or is it?

Max.
Title: installing bittorrent client
Post by: isi on May 31, 2005, 12:48:55 PM
from mldonkey.org

The official MLdonkey Community and News page!
MLdonkey is a powerful peer 2 peer (p2p) application for accessing the Edonkey2000 network as well as a few others like FastTrack, Bittorrent and Gnutella2.
The opensource MLdonkey p2p client is mainly being developed for Linux/Unix, but is also compiled and running on Windows and even MacOS X

How would you install some software, when you aren't reading.

[/list]
Title: Re: installing bittorrent client
Post by: CharlieBrady on May 31, 2005, 04:06:15 PM
Quote from: "dwater"

I have downloaded bittorrent-3.4.2-1.norlug.noarch.rpm which needed python2.3-2.3.5-1.norlug.i386.rpm which needed db4-4.0.14-20.i386.rpm, after which the dependencies expanded to ...


You need a version of the client compiled for RH 7.3. The one you found is for later RH.
Title: installing bittorrent client
Post by: Curly on May 31, 2005, 04:30:12 PM
I've downloaded the official bittorrent client (python-scripts) from www.bittorrent.com and put all the files in a separate directory. So that is the source, not an .rpm .

I changed the path to python to /usr/bin/python2 in the header of the script btdownloadheadless.py, and use that script to download torrents.

Version 4 and higher need a little change in defaultargs.py, something with 'filesystemencoding' set to 'ascii' and it works !

Used version 3.4.2, 4.0 and now 4.0.1
Title: installing bittorrent client
Post by: azche24 on June 02, 2005, 05:07:00 AM
Hi,
Quote from: "isi"
You don not have to speak french to install mldonkey.


After your statement it tried these. OK: MLdonkey installs on SME, but how does it work?

1. There are some ebays showing up. I do not have write access to these ebays.
2. Do i have to add myself to group mldonkey or whatever?
3. Bittorrent does not work, even though it is enabled from sanchez and is enabled in the configuration file.
4. None of your stated documentation explains, how to add torrents for download or even upload to MLdonkey.
5. It is not documented, which ports on the firewall are opened by the sme-mldonkey.rpm ; to make it clear: I do not like that.
6. The opened ports and the new user/group mldonkey do not show up in server-manager. I do not like that either.

For these reasons i only was able to use the emule-services with mldonkey. But i only use/need bittorent.

At least i did not find any docs, that explain in english and completely, what the mldonkey.rpm does on SME and how to use it.

Enlighten me, please.
Title: a little confused
Post by: stiperstones on June 14, 2005, 10:39:39 AM
Quote from: "azche24"
Hi,
Quote from: "isi"
You don not have to speak french to install mldonkey.


After your statement it tried these. OK: MLdonkey installs on SME, but how does it work?

1. There are some ebays showing up. I do not have write access to these ebays.
2. Do i have to add myself to group mldonkey or whatever?
3. Bittorrent does not work, even though it is enabled from sanchez and is enabled in the configuration file.
4. None of your stated documentation explains, how to add torrents for download or even upload to MLdonkey.
5. It is not documented, which ports on the firewall are opened by the sme-mldonkey.rpm ; to make it clear: I do not like that.
6. The opened ports and the new user/group mldonkey do not show up in server-manager. I do not like that either.

For these reasons i only was able to use the emule-services with mldonkey. But i only use/need bittorent.

At least i did not find any docs, that explain in english and completely, what the mldonkey.rpm does on SME and how to use it.

Enlighten me, please.


Having same problem do  i install sancho onto sme or on the machine i are working from.
Title: Re: a little confused
Post by: azche24 on June 14, 2005, 11:19:08 AM
Quote from: "stiperstones"

Having same problem do  i install sancho onto sme or on the machine i are working from.


Sancho has to be installed on the client. I did not like sancho. Many options and hardtofind parameters.

The original MLdonkey contrib can be accessed via http://servername:XX and that works pretty well.

But i uninstalled the mldonkey-contrib, because it did not work with bittorrent.
Title: yes it works
Post by: stiperstones on June 15, 2005, 04:57:25 PM
Yes mldonkey does work on SME 6.0.1

And picks up th bittorrent peers

and using this linux binaries - gtk for the link from sancho

http://sancho-gui.sourceforge.net/ not the java-gui
 
http://sancho-gui.sourceforge.net/dl/?31

Here's the proof a screenshot picking up fedora core 4 dvd

http://www.stiperstones.com/sme/pictures/sancho.jpg

ps dont know if sancho works on windoze 2000/xp
there is some software for windoze 98/me  :cry:
Title: Re: yes it works
Post by: azche24 on June 16, 2005, 10:32:45 AM
Hi,
Quote from: "stiperstones"
Yes mldonkey does work on SME 6.0.1


could you exactly tell us, what and how you did install?

Did you install sancho on the SME server?

Which MLdonkey.rpm did you use?
Title: Requested howto
Post by: stiperstones on June 16, 2005, 04:58:28 PM
Here,s a small howto: to install mldonkey on SME 6.0.1  
http://mldonkey.org/

Warning you install this software at your own risk has it opens ports on your server.

If using windoze's use putty to follow this howto part 1 I dont use it so you will have to find your own GUI  interface (No Offence)


Using GNU/Linux

HOWTO: PART 1

Open terminal and issue
Code: [Select]
ssh root@your-server-ip

login

Make directory
Code: [Select]

root]# mkdir mldonkey


Change into that directory
Code: [Select]

root]# cd mldonkey


Download file into directory

Code: [Select]

mldonkey]# wget http://azurlinux.com/files/e-smith/mldonkey/sme-6.0/sme-mldonkey-1.1-6.i386.rpm


To install

Code: [Select]

mldonkey]# rpm -Uvh sme-mldonkey-1.1-6.i386.rpm


To start mldonkey
Code: [Select]

root]# service mldonkey start


To stop mldonkey
Code: [Select]

root]# service mldonkey stop


INFO ONLY: This installs mldonkey to /home/mldonkey

To log onto mldonkey using a webpage this basic web-gui

Code: [Select]

http://your-server-ip:4080


This web gui i did not find very easy to manipulate read the wiki and forums

http://mldonkey.berlios.de/modules.php?name=Wiki

http://mldonkey.berlios.de/modules.php?name=Forums

HOWTO: PART 2

Warning this only works on GNU/Linux machines this is installed on Fedora-Core 4

Install this on your client machine into a folder in your home directory. ie: the one you connect to your SME server

I used this gui linux binaries – gtk

Here is the download page
http://sancho-gui.sourceforge.net/download.phtml

Download this into a folder in your home directory
http://sancho-gui.sourceforge.net/dl/?31

To extract:
Code: [Select]

tar -jxvf [filename]


Produces a folder in the your directory
named

sancho-0.9.4-44-linux-gtk

cd into the directory
Code: [Select]

]$ cd your-directory-name/sancho-0.9.4-44-linux-gtk


to start issue this command

Code: [Select]

$ sh sancho


follow the instructions
The End.

Go here for PDF version of this howto
http://www.stiperstones.com/sme/downloads/howto-mldonkey.pdf

Enjoy!!
 Howto built up from
http://mldonkey.org/  and  http://sancho-gui.sourceforge.net/
Title: mldonkey and bittorrents
Post by: drlizau on June 24, 2005, 01:36:51 PM
I've installed mldonkey, and it took me some time to configure it, but now it's all done.
From the web interface you can download bittorrents.

there is an empty bar with a box at the right hand end of it marked "input"

you paste the link into this bar and precede it with dllink
then hit the 'input' button.

example, to get dsl using open-bits.org tracker
dllink http://open-bits.org/download.php/1893/dsl-1.2.iso.torrent

the wiki at mldonkey.berlios.de was helpful
Title: installing bittorrent client
Post by: william_syd on July 04, 2005, 09:51:51 AM
Stiperstones,

Nice How-To, worked like a charm.

I needed to limit downloads to between 2am and 9am each day.

I tried the 'calender' command in downloads.ini but it was out by an hour. This is a known issue apparently.

So time for a cron job. To make it easy I installed cron panel from here (http://www.vanhees.cc/modules.php?op=modload&name=Downloads&file=index&req=viewdownloaddetails&lid=232&ttitle=sme-crontab_manager-1.1-1.noarch.rpm) and netcat from here. (http://rpmfind.net/linux/RPM/redhat/7.3/i386/nc-1.10-11.i386.html)

Also needed the mldonkey_command script which I could not find installed by the mldonkey sme contrib so I got it from the latest CVS of mldonkey from here. (http://mldonkey.dyndns.info/index.php?dir=2.5.16/&file=mldonkey-2.5.16.tar.gz)

The command in the crontab manager looks like
Code: [Select]
sh mldonkey_command pause all and
Code: [Select]
sh mldonkey_command resume all


Regards,
William.
Title: installing bittorrent client
Post by: william_syd on July 10, 2005, 11:10:20 AM
I had a few problems with http and ftp downloads not starting if they were over a certain size.

Ask a question at the Mldonkey forums and got this reply...

Quote from: ""
This is one of the worst MLDonkey version ever, please update immediatly because it has a major bug.


The latest binary would not work on my 6.0.1-01 server.

Quote from: ""
This core does not to work on glibc 2.2 systems as it was compiled on a glibc 2.3.2 system.


So I downloaded the latest sources and compiled it myself.

It did not fix my file size issue but it seems more responsive with sancho and it's builtin web interface.

It's available from here. (https://www.magicwilly.info/pictures/mldonkey/mlnet)

Just replace the mlnet file that is in /usr/bin/ Make sure you stop it before you do.

The web interface should report the following when done...

Code: [Select]
MLNet Multi-Network p2p client version 2.5.30.17
Networks: Global Shares  Gnutella  G2  Fasttrack  FileTP  BitTorrent  Donkey
Features: threads zlib gd(jpg/png) iconv no-check-bounds sha1new
Ocaml version: 3.08.3
Build on: Linux i686 2.4.18-3 with glibc 2.2.5




William.
Title: Re: yes it works
Post by: william_syd on July 10, 2005, 11:14:31 AM
Quote from: "stiperstones"

ps dont know if sancho works on windoze 2000/xp
there is some software for windoze 98/me  :cry:


Sancho is available for XP.


William
Title: installing bittorrent client
Post by: jeroenm on July 11, 2005, 12:17:39 AM
Quote from: "william_syd"

.........
It's available from here. (https://www.magicwilly.info/pictures/mldonkey/mlnet)

Just replace the mlnet file that is in /usr/bin/ Make sure you stop it before you do.

The web interface should report the following when done...

Code: [Select]
MLNet Multi-Network p2p client version 2.5.30.17
Networks: Global Shares  Gnutella  G2  Fasttrack  FileTP  BitTorrent  Donkey
Features: threads zlib gd(jpg/png) iconv no-check-bounds sha1new
Ocaml version: 3.08.3
Build on: Linux i686 2.4.18-3 with glibc 2.2.5


William.


Working like charm here...thanks.
Title: installing bittorrent client
Post by: william_syd on July 16, 2005, 08:14:54 AM
Didn't I see a post here yesterday saying you went back to the old version because of certain port hits ?


Regards,
William.
Title: installing bittorrent client
Post by: jeroenm on July 18, 2005, 12:29:52 AM
Quote from: "william_syd"
Didn't I see a post here yesterday saying you went back to the old version because of certain port hits ?


Regards,
William.


Yes, made a big mistake, it had absolutely nothing to do with mldonkey  :oops:  thats why I deleted the post.
Have one problem though, it won't connect to the fasttrack network. The logfile says:
Code: [Select]
enabling networks: Donkey BitTorrent The Fasttrack plugin will not work on your computer, since
the encryption algorithm does not work correctly.
Title: installing bittorrent client
Post by: william_syd on July 18, 2005, 09:23:39 AM
Quote from: "jeroenm"
Quote from: "william_syd"
Didn't I see a post here yesterday saying you went back to the old version because of certain port hits ?


Regards,
William.


Yes, made a big mistake, it had absolutely nothing to do with mldonkey  :oops:  thats why I deleted the post.
Have one problem though, it won't connect to the fasttrack network. The logfile says:
Code: [Select]
enabling networks: Donkey BitTorrent The Fasttrack plugin will not work on your computer, since
the encryption algorithm does not work correctly.



Not a fix... just some info.

http://savannah.nongnu.org/bugs/?func=detailitem&item_id=12490
http://mldonkey.berlios.de/modules.php?name=Forums&file=viewtopic&t=3644&start=0&postdays=0&postorder=asc&highlight=fasttrack
http://mldonkey.berlios.de/modules.php?name=Wiki&pagename=MLdonkeyPlugin

Regards,
William.
Title: installing bittorrent client
Post by: william_syd on July 18, 2005, 12:46:29 PM
Quote from: "jeroenm"
Yes, made a big mistake, it had absolutely nothing to do with mldonkey  :oops:  thats why I deleted the post.
Have one problem though, it won't connect to the fasttrack network. The logfile says:
Code: [Select]
enabling networks: Donkey BitTorrent The Fasttrack plugin will not work on your computer, since
the encryption algorithm does not work correctly.


Do me a favour.

Take both the old and new mlnet files and place them in seperate empty directories. CD to each in turn and run mlnet. Take note of what is displayed on the screen... especially what networks are enabled or disabled.


Regards,
William.
Title: installing bittorrent client
Post by: william_syd on July 24, 2005, 05:03:52 AM
mlnet version 2.6.0 is now available. (https://www.magicwilly.info/pictures/mldonkey/mlnet/2.6.0/)

Code: [Select]
MLNet Multi-Network p2p client version 2.6.0
Networks: Global Shares  Gnutella  G2  Fasttrack  FileTP  BitTorrent  Donkey
Features: threads zlib gd(jpg/png) iconv no-check-bounds sha1new
Ocaml version: 3.08.3
Build on: Linux i686 2.4.18-3 with glibc 2.2.5
Configure arguments: --disable-gui --enable-pthread=-pthread



Regards,
William.
Title: mldonkey 2.6.0
Post by: drlizau on July 31, 2005, 01:04:02 AM
I've just downloaded the source, and gcc, and cpp, and zlib and zlib-devel and glibc and compiled it all.
I can start the core but cannot connect to it except through lynx, and the web interface doesn't work well enough with lynx.
Although I've edited the new downloads.ini to say that I can connect from another machine, I don't seem to have it happening.
When running configure, several networks were disabled - eg soulseek, which may explain why others using new mlnet cannot connect to them.
Title: additional to mldonkey 2.6.0
Post by: drlizau on July 31, 2005, 01:26:54 AM
editing the downloads.ini with vi and 'saving' did not save the changes.
i had to telnet in (from ssh) to save changes to the files - and then i could connect to the core with the web interface.
I am not sure why root can't save changes to a file - or do i have far more copies of downloads.ini than find could find?
Title: Re: additional to mldonkey 2.6.0
Post by: william_syd on July 31, 2005, 06:47:43 AM
Quote from: "drlizau"
editing the downloads.ini with vi and 'saving' did not save the changes.
i had to telnet in (from ssh) to save changes to the files - and then i could connect to the core with the web interface.
I am not sure why root can't save changes to a file - or do i have far more copies of downloads.ini than find could find?


If you start mlnet directly then the ini files are created in the directory it lives in.

If you use "service mldonkey start" then they are created in /home/mldonkey/ .

I thought who can access the web interface was set as a command line option in the script that starts the service.


Regards,
William.
Title: Re: mldonkey 2.6.0
Post by: william_syd on July 31, 2005, 07:00:27 AM
Quote from: "drlizau"
I've just downloaded the source, and gcc, and cpp, and zlib and zlib-devel and glibc and compiled it all.
I can start the core but cannot connect to it except through lynx, and the web interface doesn't work well enough with lynx.
Although I've edited the new downloads.ini to say that I can connect from another machine, I don't seem to have it happening.
When running configure, several networks were disabled - eg soulseek, which may explain why others using new mlnet cannot connect to them.


Saw your second post first.

You can enable networks at compile time http://mldonkey.berlios.de/modules.php?name=Wiki&pagename=CompilationProblems.
 
So you didn't use the sme version as a starting point.
That is why you had to edit downloads.ini to get web access.


Regards,
William.