Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Thu Apr 26, 2018 4:30 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 22 posts ]  Go to page 1 2 Next
Author Message
PostPosted: Mon Aug 13, 2007 7:16 pm 
Offline
Newbie
User avatar

Joined: Fri Jun 01, 2007 10:29 am
Posts: 55
Hi,
Mldonkey is a p2p application for ed2k bittorrent and filetp, DC, fasttrack.
I have compiled (for fun) static cores on a Debian Sarge running on an emulated Powerpc system.I was able to compile the core.
These cores have worked well on other NAS boxes.
Download area and detailed infos here:
http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4834&postdays=0&postorder=asc&start=0
Download cores, try them, and eventually give me suggestion about desired configure options and please give feedback.
My cores on linkstations have DNS resolution problems (this is a library issue), ARM's users has solved this issue by using my libraries(I have added them in the archive), perhaps the same solution will work on powerpc, let's look at the ARM's thread for tips/howto:
http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4825&start=0&postdays=0&postorder=asc&highlight=
I'll keep compiling cores.
Hope useful&Have fun.
fabtar

P.s.2: I think this cores could work if you have a debian linux on your box.

_________________
Precompiled Debian Mldonkey's cores
ARM http://mldonkey.sourceforge.net/forums/viewtopic.php?p=26582#26582
PowerPC http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4834
Mipsel http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4890


Last edited by fabtar on Tue May 13, 2008 6:17 pm, edited 8 times in total.

Top
   
PostPosted: Tue Aug 14, 2007 9:12 am 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
tested on a non-debian-system (foonas/openlink, glibc 2.6) with the static version:

Code:
root@linkstation:/mnt/shares/downloads/TEMP/mldonkey-distrib-2.9.0.CVS$ ./mlnet.                                    static
2007/08/14 07:25:25 [cO] Starting MLDonkey 2.9.0.CVS ...
2007/08/14 07:25:25 [cO] Language EN, locale ANSI_X3.4-1968, ulimit for open fil                                    es 1024
2007/08/14 07:25:25 [cO] MLDonkey is working in /home/root/.mldonkey

2007/08/14 07:25:25 [cO] creating new MLDonkey base directory in /home/root/.mld                                    onkey

2007/08/14 07:25:25 [cO] loaded language resource file
2007/08/14 07:25:25 [DNS] Resolving [linkstation] ...
2007/08/14 07:25:25 [DNS] Resolving [www.mldonkey.org] ...
2007/08/14 07:25:25 [DNS] Resolving [mldonkey.sf.net] ...
2007/08/14 07:25:25 [DNS] Resolving [www.mldonkey.net] ...
2007/08/14 07:25:25 [DNS] Resolving [www.google.com] ...

The core therefore is unable to get eDonkey serverlists and loading
.torrent files via dllink from websites is also impossible.
If you are using MLDonkey in a chroot environment you should
consider reading this article to get DNS support back:
http://mldonkey.sourceforge.net/Chroot

2007/08/14 07:25:25 [dMain] Libmagic file-type recognition database not present
2007/08/14 07:25:25 [cO] Logging in /home/root/.mldonkey/mlnet.log
2007/08/14 07:25:26 [dMain] Core started


then i tested DNS via commandlinke:
Code:
[1] + Stopped                    ./mlnet.static
root@linkstation:/mnt/shares/downloads/TEMP/mldonkey-distrib-2.9.0.CVS$ bg
[1] ./mlnet.static
root@linkstation:/mnt/shares/downloads/TEMP/mldonkey-distrib-2.9.0.CVS$ nslookup www.mldonkey.net
Server:    192.168.1.1
Address 1: 192.168.1.1 DD-WRT

Name:      www.mldonkey.net
Address 1: 64.191.93.150
Address 2: 64.191.93.149
root@linkstation:/mnt/shares/downloads/TEMP/mldonkey-distrib-2.9.0.CVS$ nslookup www.google.com
Server:    192.168.1.1
Address 1: 192.168.1.1 DD-WRT

Name:      www.google.com
Address 1: 209.85.129.147 fk-in-f147.google.com
Address 2: 209.85.129.104 fk-in-f104.google.com
Address 3: 209.85.129.99 fk-in-f99.google.com
root@linkstation:/mnt/shares/downloads/TEMP/mldonkey-distrib-2.9.0.CVS$ nslookup www.mldonkey.org
Server:    192.168.1.1
Address 1: 192.168.1.1 DD-WRT

Name:      www.mldonkey.org
Address 1: 85.25.129.222 alpha505.server4you.de
root@linkstation:/mnt/shares/downloads/TEMP/mldonkey-distrib-2.9.0.CVS$ nslookup mldonkey.sf.net
Server:    192.168.1.1
Address 1: 192.168.1.1 DD-WRT

Name:      mldonkey.sf.net
Address 1: 66.35.250.209 projects.sourceforge.net
root@linkstation:/mnt/shares/downloads/TEMP/mldonkey-distrib-2.9.0.CVS$


i tried to connect via sancho`s gui, but of course it complaint about the "allowed_ips"...which i changed at /home/root/.mldonkey/downloads.ini directly after shutting mldonkey down.

here is the link to mlnet.log:
http://pastebin.org/511

everything boils down to dns not working.


Attachments:
mldonkey_failed_connection_attempt.JPG
mldonkey_failed_connection_attempt.JPG [ 14.2 KiB | Viewed 4262 times ]
mldonkey_direct_download_not_working.JPG
mldonkey_direct_download_not_working.JPG [ 73.84 KiB | Viewed 4269 times ]

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!
Top
   
PostPosted: Tue Aug 14, 2007 11:54 am 
Offline
Newbie
User avatar

Joined: Fri Jun 01, 2007 10:29 am
Posts: 55
Hi mindbender,
thanks for feedback, I'm quite surprised the core has started :biglol:
It seems there are guys having a similar DNS problem with the ARM's core too.
I hope that in this particular situation it is caused by the Non-Debian system.
I'll go deep in this too. :geek:

_________________
Precompiled Debian Mldonkey's cores
ARM http://mldonkey.sourceforge.net/forums/viewtopic.php?p=26582#26582
PowerPC http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4834
Mipsel http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4890


Top
   
PostPosted: Thu Aug 16, 2007 6:15 pm 
Offline
Newbie
User avatar

Joined: Fri Jun 01, 2007 10:29 am
Posts: 55
EDITED: FIXED EXPLANATION
Can you please look into your (non-debian)box to find out if these libraries has exactly the same name/link?:
Code:
/lib/libresolv.so.2
/lib/libnss_dns.so.2
/lib/ld.so.1
/lib/libc.so.6
/lib/libnss_files.so.2


for example I fear the name of ld.so.1 could be ld-linux.so.3 on your system, if you find out the library has different names you can try to solve this issue by creating a symbolic link:
/lib/ld.so.1->/lib/ld-linux.so.3. (this is only a example, I'm not sure about this)

If this doesn't solve the problem then it is a glibc issue for sure and needs a real solution (not workarounds).

I'm not a developer or programmer, only an enthusiast and currently I lack theorical notions about compilation mechanisms, so I could be wrong.

I'm also trying to compile directly a core suitable for your enviroment (Work in progress)

P.s:
I keep waiting for other DEBIAN-linkstation users to test this core.

_________________
Precompiled Debian Mldonkey's cores
ARM http://mldonkey.sourceforge.net/forums/viewtopic.php?p=26582#26582
PowerPC http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4834
Mipsel http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4890


Top
   
PostPosted: Thu Aug 23, 2007 7:45 am 
Offline
Newbie
User avatar

Joined: Fri Jun 01, 2007 10:29 am
Posts: 55
Thread/First post updated

_________________
Precompiled Debian Mldonkey's cores
ARM http://mldonkey.sourceforge.net/forums/viewtopic.php?p=26582#26582
PowerPC http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4834
Mipsel http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4890


Top
   
PostPosted: Thu Aug 23, 2007 7:57 am 
Offline
Newbie
User avatar

Joined: Fri Jun 01, 2007 10:29 am
Posts: 55
Fot guys having DNS problems I suggest to read this threads:
http://buffalo.nas-central.org/forums/viewtopic.php?f=19&t=2321
http://buffalo.nas-central.org/forums/viewtopic.php?f=19&t=2359

I think there are issue about your last glibc 2.6x and backcompatibility with software compiled with older glibc. (usually backcompatibility is a libc must).
If you find out a solution please post here.
I'm currently trying to build a recent kernel 2.6.18 and also trying to build a compilation enviroment for glibc2.6's guys.
Thx

_________________
Precompiled Debian Mldonkey's cores
ARM http://mldonkey.sourceforge.net/forums/viewtopic.php?p=26582#26582
PowerPC http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4834
Mipsel http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4890


Top
   
PostPosted: Thu Aug 23, 2007 10:39 am 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
i ll test everything you post on my boxes.

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!


Top
   
PostPosted: Sat Sep 08, 2007 7:17 pm 
Offline
Newbie
User avatar

Joined: Fri Jun 01, 2007 10:29 am
Posts: 55
On mldonkey forum there are updated binaries, new sugegstions and I have added my libraries to test with (substituting yours with or put them in a chrooted jail)

_________________
Precompiled Debian Mldonkey's cores
ARM http://mldonkey.sourceforge.net/forums/viewtopic.php?p=26582#26582
PowerPC http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4834
Mipsel http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4890


Top
   
PostPosted: Sat Sep 08, 2007 7:34 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
i am downloading them for testing. i ll report soon.

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!


Top
   
PostPosted: Sat Sep 08, 2007 7:56 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
i again tested it on my LS1 (ppc@foonas@glibc2.6).

DNS problems again. everything else is working.

but i expected that to be honest.

Now i ll check the arm9 build....i haven`t tested it since last time.

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!


Top
   
PostPosted: Sat Sep 08, 2007 10:37 pm 
Offline
Newbie
User avatar

Joined: Fri Jun 01, 2007 10:29 am
Posts: 55
@mindbender
ok, perhaps launching the core in a chrooted jail with my libs/libc could solve, but I think I have to make some big changes in order to make things compatible with your current linkstation's libc modification.
I think I'll post again only when seriuos changes are done in my compilation enviroment.(It could take lot of time)
Thanks for feedback again

_________________
Precompiled Debian Mldonkey's cores
ARM http://mldonkey.sourceforge.net/forums/viewtopic.php?p=26582#26582
PowerPC http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4834
Mipsel http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4890


Top
   
PostPosted: Sun Sep 09, 2007 12:33 am 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
hmm....nice idea. i ll try that. i wasn`t sure what to do with the supplied libraries. in a chroot this could work maybe.

i ll report back.

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!


Top
   
PostPosted: Sun Sep 09, 2007 11:06 am 
Offline
Newbie
User avatar

Joined: Fri Jun 01, 2007 10:29 am
Posts: 55
If you find chroot a bit difficult you can try this simpler way(dirty hack):

POSSIBLE EXPERIMENT TO SOLVE(In case you need) DNS PROBLEMS
I have added my needed shared libs in the main archive.Copy them in(example) /new_libs_path

I suggesto to create a little script which sets this enviroment variable first to call mlnet:
LD_LIBRARY_PATH=/new_libs_path:$LD_LIBRARY_PATH

This will luckly cause to first call my libraries first of your ones.
This is an hard hack, it is better to use only when you have reserved a users for mldonkey's sake.
I also hope that the new LD_LIBRARY_PATH environment variable has his scope inside the script.

PS: you can put your /new_libs_path anywhere, but I think it is better to place it inside your mldonke's user homedir.

_________________
Precompiled Debian Mldonkey's cores
ARM http://mldonkey.sourceforge.net/forums/viewtopic.php?p=26582#26582
PowerPC http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4834
Mipsel http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4890


Top
   
PostPosted: Sun Sep 09, 2007 11:34 am 
Offline
Site Admin
User avatar

Joined: Mon Jul 11, 2005 7:19 am
Posts: 7703
Location: Austria, Vienna
unfortunately this does not solve the issue :(

but i am on a complete different glibc. Freelink guys...help fabtar...it is very kind that he tries to get that working!

_________________
LS1 (2.6 kernel, foonas svn1062, 750 GB, UBoot 1.2) & LS Pro (FreeLink/jtymod/GenLink, changes all the time)
Thx to all donators!


Top
   
PostPosted: Wed Sep 12, 2007 8:07 pm 
Offline
Newbie
User avatar

Joined: Fri Jun 01, 2007 10:29 am
Posts: 55
I think tomorrow(or friday) I'll release new binaries.I'm quite happy things are working well with arm's guys.
Perhaps PPC builds needs more help, or simple I have a Sarge Debian on PPC and ETCH debian on arm.
I'll try adding more libraries on my library package plus I suggest PPC users with DNS problems to read this thread:
viewtopic.php?f=19&t=3682&start=15

There is a quick explanation of an easy way(via LD_LIBRARY_PATH) to execute a binary using my alternative libraries.

_________________
Precompiled Debian Mldonkey's cores
ARM http://mldonkey.sourceforge.net/forums/viewtopic.php?p=26582#26582
PowerPC http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4834
Mipsel http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4890


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 22 posts ]  Go to page 1 2 Next

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited