Koozali.org: home of the SME Server

installing bittorrent client

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
installing bittorrent client
« Reply #15 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 and netcat from here.

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.

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.
Regards,
William

IF I give advise.. It's only if it was me....

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
installing bittorrent client
« Reply #16 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.

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.
Regards,
William

IF I give advise.. It's only if it was me....

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: yes it works
« Reply #17 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
Regards,
William

IF I give advise.. It's only if it was me....

Offline jeroenm

  • *
  • 18
  • +0/-0
installing bittorrent client
« Reply #18 on: July 11, 2005, 12:17:39 AM »
Quote from: "william_syd"

.........
It's available from here.

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.
...

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
installing bittorrent client
« Reply #19 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.
Regards,
William

IF I give advise.. It's only if it was me....

Offline jeroenm

  • *
  • 18
  • +0/-0
installing bittorrent client
« Reply #20 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.
...

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
installing bittorrent client
« Reply #21 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.
Regards,
William

IF I give advise.. It's only if it was me....

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
installing bittorrent client
« Reply #22 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.
Regards,
William

IF I give advise.. It's only if it was me....

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
installing bittorrent client
« Reply #23 on: July 24, 2005, 05:03:52 AM »
mlnet version 2.6.0 is now available.

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.
Regards,
William

IF I give advise.. It's only if it was me....

drlizau

mldonkey 2.6.0
« Reply #24 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.

drlizau

additional to mldonkey 2.6.0
« Reply #25 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?

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: additional to mldonkey 2.6.0
« Reply #26 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.
Regards,
William

IF I give advise.. It's only if it was me....

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: mldonkey 2.6.0
« Reply #27 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.
Regards,
William

IF I give advise.. It's only if it was me....