DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2007-12-16 02:37:41

andrev
Member
Registered: 2007-11-19
Posts: 7

HOWTO: crosscompile for DNS-313

I figured it out! The problem isn't the different architecture (most of the 323 stuff is compiled for the generic ARM target anyway) - but the lack of uclibc on the 313. Static linked libraries will work fine, but there is actually an easier way: the GPL download for the 313 comes with a complete working toolchain. (compiled for linux-i386). I have compiled Firefly using this toolchain, and it works!

Download ftp://ftp.dlink.se/Products/dns-product … 13_GPL.rar

The toolchain binaries are located in opt/920t_le/bin. Put this directory in your PATH, and modify environment variables as needed. In order to compile Firefly, I had to change all occurences of arm-linux-uclibc in the build script to arm_920t_le (for AR, AS, LD, CC, etc.)

Of course I only figured this out after spending several hours getting it to (not) work with the DNS-323 uclibc toolchain... wink

Last edited by andrev (2007-12-16 02:58:11)

Offline

 

#2 2007-12-17 18:48:49

trasgu
Member
Registered: 2007-11-22
Posts: 12

Re: HOWTO: crosscompile for DNS-313

Hi andrev,

Congratulations!!! I just buy my 313 (waiting the Post for it) and it's nice to listen so great advances!!! big_smile

Have you recompiled fonz's fun_plug for DNS-313? Have you plans to do that?

Thanks in advance

Offline

 

#3 2007-12-19 11:49:13

marca
Member
Registered: 2007-10-13
Posts: 64

Re: HOWTO: crosscompile for DNS-313

bump, really interested to know if anyone are in progress to devlope a fonz like fun_plug for the DNS-313 ?
Andrew, please update us (alot of users lurking here and eager to find out)

/m

Offline

 

#4 2007-12-19 12:24:02

andrev
Member
Registered: 2007-11-19
Posts: 7

Re: HOWTO: crosscompile for DNS-313

Are the sources of fonz' funplug available somewhere? (maybe it could all be recompiled in one easy step)
I only need firefly and dropbear (will try to build it when I have some spare time smile)

Offline

 

#5 2007-12-20 15:14:35

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: HOWTO: crosscompile for DNS-313

andrev wrote:

Are the sources of fonz' funplug available somewhere? (maybe it could all be recompiled in one easy step)
I only need firefly and dropbear (will try to build it when I have some spare time smile)

http://www.inreto.de/dns323/source/

Offline

 

#6 2007-12-20 15:20:28

marca
Member
Registered: 2007-10-13
Posts: 64

Re: HOWTO: crosscompile for DNS-313

Yes! wink

andrev - please let us know here when you have looked at the source files if this is something you think you can do? You would be our hero for ever wink

Offline

 

#7 2008-04-05 13:48:19

hscholz
New member
Registered: 2008-04-04
Posts: 3

Re: HOWTO: crosscompile for DNS-313

What do you need from the fun_plug thing? I only got my DNS 313 yesterday and so far I installed twonkymedia (for DLNA to PS3) and upgraded mt-daapd (the iTunesserver stuff) to firefly.
All that remains for me is to wrap that stuff up so it starts automatically after a crash.

Are you looking for something in particular?

Offline

 

#8 2008-04-08 00:06:26

Bronek
Member
Registered: 2008-03-20
Posts: 7

Re: HOWTO: crosscompile for DNS-313

Andrev,
Have you figured out how to use dropbear with the public key authorization?
I've tried "the usual" methods with no success - password is still required.
Regards,
Bronek

Offline

 

#9 2008-04-08 04:27:32

blbrown
Member
Registered: 2007-11-02
Posts: 88
Website

Re: HOWTO: crosscompile for DNS-313

search the forum (DNS-323 as well) for 'dropbear', and you'll find help for that.

Offline

 

#10 2008-04-18 00:20:54

mic_man
Member
Registered: 2008-04-07
Posts: 12

Re: HOWTO: crosscompile for DNS-313

Is there any way to crosscompile from a winXP-evironment...?
If I want transmissionbt with clutch... what is the second best option next to waiting for it to show up as a fun_plug package?

Offline

 

#11 2008-04-18 14:11:16

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: HOWTO: crosscompile for DNS-313

mic_man wrote:

If I want transmissionbt with clutch... what is the second best option next to waiting for it to show up as a fun_plug package?

There are contributed packages available, listed here:
http://dns323.kood.org/howto:ffp#version_0.5_beta

Offline

 

#12 2008-04-19 18:51:12

mic_man
Member
Registered: 2008-04-07
Posts: 12

Re: HOWTO: crosscompile for DNS-313

hmm... so, what's the next step? I'm a real noob when it comes to linux... so I don't know where to start =/

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB