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 2011-07-03 14:54:01

Hermessor
Member
Registered: 2010-11-03
Posts: 5

fun_plug and squeezeboxserver-7.6

Has anyone got a working .tgz file of squeezeboxserver-7.6 to install in ffp? I'd like to avoid manual installation or installing a complete new ffp with squeezebox installed, because mine is heavily configged at this point.

Offline

 

#2 2011-07-03 18:51:29

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

Re: fun_plug and squeezeboxserver-7.6

There's 7.6.0 in my experimental packages for 0.6. Doesn't work on the 323, but works fine at least on 343 and 325.
http://www.inreto.de/testing/ffp/0.6/arm/

Offline

 

#3 2011-07-03 19:52:50

Hermessor
Member
Registered: 2010-11-03
Posts: 5

Re: fun_plug and squeezeboxserver-7.6

Will it ever work on the 323? I have a 323, so sadly I need the support on the 323.

Offline

 

#4 2011-07-03 20:58:54

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

Re: fun_plug and squeezeboxserver-7.6

no

Offline

 

#5 2011-07-03 21:06:50

Hermessor
Member
Registered: 2010-11-03
Posts: 5

Re: fun_plug and squeezeboxserver-7.6

Okay, so the best thing I can do, is get a new 325 and try to sell the 323.

Thanks for the work, fonz! I have made good use of your fun_plug.

Offline

 

#6 2011-07-04 10:55:10

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: fun_plug and squeezeboxserver-7.6

fonz wrote:

There's 7.6.0 in my experimental packages for 0.6. Doesn't work on the 323, but works fine at least on 343 and 325.
http://www.inreto.de/testing/ffp/0.6/arm/

This is a bit off-topic, but I see on the ffp-0.6 page that it uses uClibc 0.9.32.
Would it be possible to update ffp-0.5 to that version as well?
I'd also be interested in an updated version of gcc.
I'm able and willing to attempt it myself, but I'm not sure if any of the newer packages need to be patched in order to work on the NAS.

Thanks in advance!

Offline

 

#7 2011-07-04 14:22:44

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

Re: fun_plug and squeezeboxserver-7.6

KyleK wrote:

This is a bit off-topic, but I see on the ffp-0.6 page that it uses uClibc 0.9.32.
Would it be possible to update ffp-0.5 to that version as well?
I'd also be interested in an updated version of gcc.
I'm able and willing to attempt it myself, but I'm not sure if any of the newer packages need to be patched in order to work on the NAS.

I'm not going to update ffp 0.5 with all that. The new packages should run on all/most EABI firmwares. That includes CH3SNAS, etc. I think it's only the 323 that still uses OABI.

Offline

 

#8 2011-07-04 15:47:38

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: fun_plug and squeezeboxserver-7.6

fonz wrote:

I think it's only the 323 that still uses OABI.

No. All ZyXEL NASses (220, 210, 221, 320 and 310) also use OABI.

Offline

 

#9 2011-07-04 16:22:19

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

Re: fun_plug and squeezeboxserver-7.6

I see. Thanks for the reminder.

Offline

 

#10 2011-07-06 15:51:08

Thiam
Member
Registered: 2007-06-18
Posts: 43

Re: fun_plug and squeezeboxserver-7.6

fonz wrote:

I think it's only the 323 that still uses OABI.

Would flashing the Alt-F firmware work around this?
I have no knowledge at all about OABI or EABI and it's implications.
Wikipedia wasn't helpful about these subjects.

Offline

 

#11 2011-07-06 16:35:57

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: fun_plug and squeezeboxserver-7.6

That is perfectly possible. The kernel configuration file (.config) set if the kernel will support EABI and/or OABI. EABI is newer (duh! OABI stands for Old ABI) and more efficient, especially at handling floating points, so it's the preferred choice.
Since Alt-F has it's own (newer) kernel, I suppose the developer has choosen for EABI.

Offline

 

#12 2011-07-06 16:39:38

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: fun_plug and squeezeboxserver-7.6

Is there a way to test whether one's system uses EABI or OABI?

Offline

 

#13 2011-07-06 16:52:00

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: fun_plug and squeezeboxserver-7.6

Yes. If you have access to the .config file (GPL sources, or /proc/config.gz):
CONFIG_AEABI=y means EABI,
CONFIG_AEABI=n or not set means OABI,
CONFIG_AEABI=y and CONFIG_OABI_COMPAT=y means both.
When you don't have .config, you can try to chroot (or install) FFP 0.5, if it works =>OABI, and FFP 0.6 => EABI.
(And when both work, both are supported)

I suppose there should be an easier way to test it, maybe two executables with libc (EABI or OABI) statically linked.

Last edited by Mijzelf (2011-07-06 16:55:08)

Offline

 

#14 2011-07-06 17:58:41

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

Re: fun_plug and squeezeboxserver-7.6

Code:

# readelf -h /bin/busybox | grep Flags
  Flags:                             0x5000002, has entry point, Version5 EABI

I think it needs to show at least Version4 EABI.

Offline

 

#15 2011-07-06 18:01:31

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

Re: fun_plug and squeezeboxserver-7.6

Thiam wrote:

fonz wrote:

I think it's only the 323 that still uses OABI.

Would flashing the Alt-F firmware work around this?
I have no knowledge at all about OABI or EABI and it's implications.
Wikipedia wasn't helpful about these subjects.

EABI is faster in many cases, and running OABI programs (ffp 0.5) on EABI kernels isn't 100% reliable.
Afaik, Alt-F has EABI kernels. So, yes, the packages should work on Alt-F.

Offline

 

#16 2011-07-06 19:12:32

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: fun_plug and squeezeboxserver-7.6

Code:

KyleK@CH3SNAS ~$ readelf -h /bin/busybox | grep Flags
14:  Flags:                             0x2, has entry point, GNU EABI

Hehe, I knew something like this would come up :)  (This is the CH3SNAS)

I'll try out ffp-0.6 as soon as I have some free time.

EDIT: Nope, doesn't seem to work. The logfile shows 2 segmentation faults after the .tar has been extracted. Too bad :/

Last edited by KyleK (2011-07-06 20:25:15)

Offline

 

#17 2011-07-06 21:06:11

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: fun_plug and squeezeboxserver-7.6

I think you are mistaken. On my NSA-220:

Code:

root@nsa220:~# readelf -h /bin/busybox | grep Flags
  Flags:                             0x4000002, has entry point, Version4 EABI
root@nsa220:~# cat .config | grep EABI
# CONFIG_AEABI is not set

Isn't this about the communication between libs and binaries, while the kernel EABI is about communication between libc and the kernel?

Last edited by Mijzelf (2011-07-06 21:07:58)

Offline

 

#18 2011-07-06 21:28:42

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

Re: fun_plug and squeezeboxserver-7.6

KyleK wrote:

(This is the CH3SNAS)

Did I say CH3SNAS? I meant CH3MNAS wink

Offline

 

#19 2011-07-07 14:47:41

Thiam
Member
Registered: 2007-06-18
Posts: 43

Re: fun_plug and squeezeboxserver-7.6

fonz wrote:

Afaik, Alt-F has EABI kernels. So, yes, the packages should work on Alt-F.

Holidays coming up in two weeks. Time to schedule a day or two for testing.

Offline

 

#20 2011-08-11 17:40:53

jonny12
New member
Registered: 2011-08-11
Posts: 1

Re: fun_plug and squeezeboxserver-7.6

i've installed fun_plug 0.6 and installation works. (It was nessasary to deinstall german-language package from dlink and deactivate all services (UPNP,Itunes-Server,...)
I've done the tasks to activate SSH-login und have copied the packages form the testing-directory.
then I've installed squeezeboxserver . on port 9000 is nothing.
after this I've upadated and installed all packages with funpkg -u *.txz and funpkg -- i *.txz.
same: no squeezeboxserver at 9000.

Does I have something miss? Where can I get help/tutorial for install packages and activate squeezeboxserver?

thanks

PS: Sorry for bad english

Last edited by jonny12 (2011-08-11 17:42:45)

Offline

 

#21 2011-08-12 08:17:09

bjby
Member
Registered: 2009-02-22
Posts: 265

Re: fun_plug and squeezeboxserver-7.6

For info
Installed SBS 7.6.0 on dns323 debian squeeze from deb package. But it doesnt run.

Keeps logging
2011-08-12 07:12:27 Squeezebox Server died. Restarting.
2011-08-12 07:12:32 Squeezebox Server died. Restarting.
2011-08-12 07:12:37 Squeezebox Server died. Restarting.
2011-08-12 07:12:43 Squeezebox Server died. Restarting.
2011-08-12 07:12:49 Squeezebox Server died. Restarting.
2011-08-12 07:12:54 Squeezebox Server died. Restarting.

Offline

 

#22 2011-08-12 11:12:33

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

Re: fun_plug and squeezeboxserver-7.6

jonny12 wrote:

Where can I get help/tutorial for install packages and activate squeezeboxserver?

it doesn't start automatically. one way to start squeezebox server is:

Code:

cd /ffp/var/log/fp
nohup fp.master &
fpc r sbs

Run "fpc" to check if it's still running. Output of squeezeboxserver is redirected to /ffp/var/run/fp/sbs.log and sbs.err.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB