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 2012-01-15 23:45:36

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

Squeezecenter Fun-Plug 7.7.1 available

It's been some time, but I finally managed to create a new package. It's available from the usual place: http://inreto.de/dns323/squeezecenter-funplug/7.7.1/

Have fun.

Last edited by fonz (2012-01-16 18:20:42)

Offline

 

#2 2012-01-16 12:37:56

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

Re: Squeezecenter Fun-Plug 7.7.1 available

Do you plan on doing 7.7.1 too? I've tested the Windows version and it's very good, I'd say at last a release that feels like stable ground. (I'm still on 7.5.2)

Offline

 

#3 2012-01-16 18:21:21

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

Re: Squeezecenter Fun-Plug 7.7.1 available

Thiam wrote:

Do you plan on doing 7.7.1 too?

My mistake, it is 7.7.1 (and not 7.6.1). Changed first post.

Offline

 

#4 2012-01-16 22:37:00

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

Re: Squeezecenter Fun-Plug 7.7.1 available

Wonderful!

Offline

 

#5 2012-01-22 19:58:42

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

Re: Squeezecenter Fun-Plug 7.7.1 available

Loose Gravel wrote:

Wonderful. Thanks a lot! I've installed the funplug and tested the slimserver with my squeezebox touch - works out of the box!

Glad you like it.

Loose Gravel wrote:

But installing this funplug I've lost the ffp functionality (or I did something wrong?)
I've reinstalled ffp 0.5, working again, but squeezecenter is now broken. slimserver won't start.

The 7.7.1 squeezecenter-funplug was compiled from the packages in http://ffp.inreto.de/ffp/0.7/oarm/
Packages from ffp 0.5 won't work. If you want to install additional packages, you have to use packages from there.

PS: Try 'slacker -Ui s:'

Last edited by fonz (2012-01-22 20:00:54)

Offline

 

#6 2012-01-22 20:50:19

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

Re: Squeezecenter Fun-Plug 7.7.1 available

What is the difference between FFP 0.5 and 0.7? I know 0.6 only runs on EABI kernels, and because 0.7 runs on the 323, I suppose it is OABI (Maybe the 'o' in oarm?), just like 0.5.
But there must be a reason you left 0.5.

Offline

 

#7 2012-01-22 20:58:10

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

Re: Squeezecenter Fun-Plug 7.7.1 available

Mijzelf wrote:

What is the difference between FFP 0.5 and 0.7? I know 0.6 only runs on EABI kernels, and because 0.7 runs on the 323, I suppose it is OABI (Maybe the 'o' in oarm?), just like 0.5.
But there must be a reason you left 0.5.

0.7 has new versions of most (all?) packages. You're right, the 'o' in oarm is for OABI. There's going to be an 'arm' version for EABI, too. I think so many package upgrades and the addition of an EABI branch deserve a new version number. Most of the internals still work the same as in 0.5, though.

Offline

 

#8 2012-01-22 21:21:27

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

Re: Squeezecenter Fun-Plug 7.7.1 available

There's going to be an 'arm' version for EABI, too.

You mean a 0.7/arm?
Do you know if it's possible to have a simple executable to test if EABI is supported? I've recently added support for the Medion P89626/P89630 in my FFP-stick scripts. It turned out that FFP 0.5 doesn't run on this box. So now I build in a detection for this specific box, and install 0.6 then.
I *think* the newer firmwares for the Kirkwood based ZyXEL boxes also support EABI (and also OABI, as 0.5 runs fine). But to keep a large database of hardware/firmware versions for a decision of arm/oarm is a bit awkward (gaining the data is a problem too). A simple test would be more convenient.

Last edited by Mijzelf (2012-01-22 21:22:22)

Offline

 

#9 2012-01-22 23:25:22

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

Re: Squeezecenter Fun-Plug 7.7.1 available

Mijzelf wrote:

There's going to be an 'arm' version for EABI, too.

You mean a 0.7/arm?

Yes, http://inreto.de/ffp/0.7/arm/

Mijzelf wrote:

Do you know if it's possible to have a simple executable to test if EABI is supported?

Afaik, the EABI version is stored at a fixed offset, and can be extracted with the following command (Compare with output of "readelf -h /bin/busybox | grep Flags"). Requires only hexdump to be available...

Code:

hexdump -s39 -n1 -e '"%d"' /bin/busybox

On OABI machines, this is 0.

Offline

 

#10 2012-01-23 00:53:30

Loose Gravel
Member
Registered: 2008-10-14
Posts: 50

Re: Squeezecenter Fun-Plug 7.7.1 available

Oh, I've missed ffp 0.7 completely.

Are there any how-to-s? Upgrade? Install packages?

Thanks.

Offline

 

#11 2012-01-23 10:27:51

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

Re: Squeezecenter Fun-Plug 7.7.1 available

Loose Gravel wrote:

Oh, I've missed ffp 0.7 completely.

Are there any how-to-s? Upgrade? Install packages?

Not yet. It's new, but works mostly the same as 0.5.

Offline

 

#12 2012-01-24 17:52:30

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

Re: Squeezecenter Fun-Plug 7.7.1 available

Afaik, the EABI version is stored at a fixed offset, and can be extracted

Unfortunately this doesn't help. I've looked at the binaries of a few NASses:
ZyXEL NSA-220 (Runs FFP 0.5, cannot run 0.6): 4
Medion P89630 (Runs 0.6, cannot run 0.5): 4
Lacie Networkspace 2 (Can run both): Initial roots (sort of initramfs-on-disk): 4
                Normal rootfs: 5
I think this number is about user-mode calling convention, while I'm searching for the usermode/kernel transition calling convention. (Which is normally only done by libc, I suppose).
The 'detector' could be a binary which does a harmless syscall (like getuid) using the EABI convention. (And hope it just fails for OABI). Something like

Code:

#include <sys/syscall.h>
int main( void )
{
    return syscall(__NR_getuid);
}

This returns 0 when it runs, and I hope <0 when an OABI only kernel is present.
Have been looking in the uClibc sources, to see if I could borrow the syscall assembly, but it isn't straight-forward.

Offline

 

#13 2012-01-24 23:49:51

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

Re: Squeezecenter Fun-Plug 7.7.1 available

Sorted it. I just compiled uClibc, and linked it statically against a very simple c program:

Code:

extern int getuid(void);

int main(void)
{
    getuid();
    return 0;
}

I've build two versions, one for EABI, and one for OABI. both are smaller that 3kb.
The EABI version on a OABI kernel gives a 'Illegal instruction (core dumped)', and exits with 132.
The OABI version on a EABI kernel hangs, and after killing it exits with 143.
Running on their own kernel version, both tools exit immediately returning a 0.

I've added a nice script which just outputs what is supported. Download here.

Offline

 

#14 2012-02-11 14:57:40

Bluemax
New member
Registered: 2012-02-11
Posts: 3

Re: Squeezecenter Fun-Plug 7.7.1 available

Hello Forum,

has anyone experiences with 7.7.1 ? The squeezecenter/funplug always worked like a charm on my CH3SNAS. I made a clean installation from 7.5.4 today and I get no access to the admin or webinterface. I can ftp from win7 to my CH3SNAS without any access rights of course. Thought I could set the exec flag for the telnetd.sh All other things work normally on my CH3SNAS instead of the squeezecenter isn't working. Thanks for any ideas.

ffp/start
-rw-r--r--    1 0        0              52 Jan 13 15:55 LOGIN.sh
-rw-r--r--    1 0        0              35 Jan 13 15:55 SERVERS.sh
-rwxr-xr-x    1 0        0             248 Jan 14 18:15 ffp-admin.sh
-rw-r--r--    1 0        0             157 Jan 13 15:55 fp_master.sh
-rw-r--r--    1 0        0             203 Jan 11 11:57 inetd.sh
-rw-r--r--    1 0        0            1625 Dec 11 14:29 nfsd.sh
-rw-r--r--    1 0        0             160 Dec 11 14:18 portmap.sh
-rw-r--r--    1 0        0            1186 Dec 18 19:56 rsyncd.sh
-rwxr-xr-x    1 0        0            1089 Jan 14 13:43 slimserver.sh
-rw-r--r--    1 0        0             169 Jan 11 11:57 telnetd.sh

This is written in ffp.log:
**** fun_plug script for DNS-323 (2008-08-11 tp@fonz.de) ****
Sat Feb 11 12:34:35 GMT 2012
ln -snf /mnt/HD_a2/ffp /ffp
* Installing /mnt/HD_a2/fun_plug.tgz ...
tar: WARNING: Converting hard link to symlink
... (more than 1000 lines with the warning)
...
...
* OK
* Running /ffp/etc/fun_plug.init ...
Illegal instruction
* Running /ffp/etc/rc ...
Illegal instruction
*  OK

BR,

Bluemax

Offline

 

#15 2012-02-11 15:36:40

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

Re: Squeezecenter Fun-Plug 7.7.1 available

Mijzelf wrote:

The EABI version on a OABI kernel gives a 'Illegal instruction (core dumped)', and exits with 132.

Bluemax wrote:

* Running /ffp/etc/fun_plug.init ...
Illegal instruction

Did you by chance install 0.7/arm? Try 0.7/oarm

Offline

 

#16 2012-02-11 15:39:22

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

Re: Squeezecenter Fun-Plug 7.7.1 available

there is no arm-variant of the squeecezenter funplug tarball.

Offline

 

#17 2012-02-11 18:15:07

Bluemax
New member
Registered: 2012-02-11
Posts: 3

Re: Squeezecenter Fun-Plug 7.7.1 available

fonz wrote:

there is no arm-variant of the squeecezenter funplug tarball.

Just to get the key - 7.7.1 won't work on my old "arm" CH3SNAS ? Ok, then I have to switch back to 7.5.4 again.

Mijzelf wrote:

Did you by chance install 0.7/arm? Try 0.7/oarm

No. I only use the sequeezecenter funplug. Had once installed ffp 0.5 but my ssh/telnet login crashed 2 years ago. So I got familiar with the squeezecenter funplug in order not to install every new update myself. Updating myself was pretty hard for a not-every-day linux user.

Offline

 

#18 2012-03-10 16:34:58

hom
Member
Registered: 2009-01-26
Posts: 25

Re: Squeezecenter Fun-Plug 7.7.1 available

A small administration interface is available at
  http://dns323:90/

what is the user e password?

tk

Offline

 

#19 2012-03-10 19:22:04

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

Re: Squeezecenter Fun-Plug 7.7.1 available

hom wrote:

what is the user e password?

admin and admin's password

Offline

 

#20 2012-03-15 17:01:30

Ripley
Member
Registered: 2012-03-15
Posts: 8

Re: Squeezecenter Fun-Plug 7.7.1 available

Will be ARM version of 7.7.1 Squeezcenter-funplug? Just because the Transmission is not running on OARM, and the 7.7.1 package is based on 0.7 OARM fun-plug as I know.

Offline

 

#21 2012-03-16 14:44:20

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

Re: Squeezecenter Fun-Plug 7.7.1 available

Ripley wrote:

Will be ARM version of 7.7.1 Squeezcenter-funplug? Just because the Transmission is not running on OARM, and the 7.7.1 package is based on 0.7 OARM fun-plug as I know.

No, but it shouldn't be hard to install the arm packages to run sbs.

Offline

 

#22 2012-03-17 13:47:26

Ripley
Member
Registered: 2012-03-15
Posts: 8

Re: Squeezecenter Fun-Plug 7.7.1 available

Thanks for the answer. I read a lot, and it was a little bit long, but I did it. It works perfectly!

Offline

 

#23 2012-03-19 00:28:50

hom
Member
Registered: 2009-01-26
Posts: 25

Re: Squeezecenter Fun-Plug 7.7.1 available

the server runs ok squeezbox it finds you connect using ... etc.
But if I try to open the web interface crascia forever!

Offline

 

#24 2012-03-25 22:25:55

hom
Member
Registered: 2009-01-26
Posts: 25

Re: Squeezecenter Fun-Plug 7.7.1 available

any one can help me?

Offline

 

#25 2012-03-28 22:33:49

fe3pluz
New member
Registered: 2012-03-19
Posts: 1

Re: Squeezecenter Fun-Plug 7.7.1 available

Works like a charm, but the telnet service does not get started. Any clues?

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB