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

#101 2012-04-22 02:37:47

dibs
Member
Registered: 2011-12-06
Posts: 9

Re: Packages for FFP 0.7

I tried to just run ./configure for mpd and got as far as:

Code:

checking for GLIB... configure: error: GLib 2.12 is required

but it looks like glib-2.10.3-oarm-1.txz is the highest version already built.  Has anyone tried building a new version?

.:edit:.

Oh, it means glibc, I guess.  That's nice and specific tongue

.:edit2:.

But ffp uses uclibc, eh?

I see the problem.

Last edited by dibs (2012-04-22 02:45:17)

Offline

 

#102 2012-04-22 15:01:47

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

Re: Packages for FFP 0.7

glib != glibc. Glibc is the GNU c library, glib is a part of the Gnome project.

glib-2.10.3-oarm-1.txz was build by me, and I saw that I build a 2.30 version for arm, so I suppose 2.30 wouldn't compile for oabi. I looked in my build directories, and on my oabi machine only the sources of 2.30 and 2.10.3 are present. So I haven't tried anything in between.
You can try a 2.12, it might just compile.
Sources here: http://ftp.acc.umu.se/pub/GNOME/sources/glib/

Offline

 

#103 2012-05-22 00:32:33

scaramanga
Member
Registered: 2010-08-04
Posts: 251

Re: Packages for FFP 0.7

Is Transmission's build for ffp-0.7 oabi stable? That's what keeping me from upgrading from 0.5.


DNS-323 HW Rev. C1 FW 1.10 fun-plug 0.5
2 x WD10EARS-00Y5B1 in Standard mode (LCC set to 5 min; Aligned to 4K)
Transmission with Transmission Remote GUI

Offline

 

#104 2012-05-22 15:20:51

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

Re: Packages for FFP 0.7

Actually I don't know. It works for me, but I haven't had it seeding for months. My oabi NAS isn't a 'production server' anymore, so it's switched off, most of the time.
But I suppose you can install 0.7 without deleting 0.5? So why not just try it?

Offline

 

#105 2012-05-23 00:49:39

scaramanga
Member
Registered: 2010-08-04
Posts: 251

Re: Packages for FFP 0.7

Mijzelf wrote:

Actually I don't know. It works for me, but I haven't had it seeding for months. My oabi NAS isn't a 'production server' anymore, so it's switched off, most of the time.
But I suppose you can install 0.7 without deleting 0.5? So why not just try it?

I considered that. Since I customized ffp 0.5 (who hasn't) I was worried about upgrading to 0.7 (=making changes to /etc/{passwd, group, shadow}) would make it difficult to roll back to 0.5 (undo those changes).
Other than that, it should be hassle-free, right?


DNS-323 HW Rev. C1 FW 1.10 fun-plug 0.5
2 x WD10EARS-00Y5B1 in Standard mode (LCC set to 5 min; Aligned to 4K)
Transmission with Transmission Remote GUI

Offline

 

#106 2012-05-23 13:09:16

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

Re: Packages for FFP 0.7

Installing FFP is actually nothing more than creating an /ffp symlink, and calling '/ffp/etc/rc', right? So the only action to be taken is to let the /ffp symlink point to a different directory.

AFAIK FFP 0.7 doesn't change anything in {passwd, group, shadow}, except ssh, which will add a user ssh *if it doesn't exist yet*.

Offline

 

#107 2012-05-23 20:50:44

scaramanga
Member
Registered: 2010-08-04
Posts: 251

Re: Packages for FFP 0.7

Mijzelf wrote:

AFAIK FFP 0.7 doesn't change anything in {passwd, group, shadow}, except ssh, which will add a user ssh *if it doesn't exist yet*.

Yes, that part about ssh - that's what I'm concerned about.
Anyway, it shouldn't be difficult to back those file in advance. I intended to try it once I have some free time.
I thought someone could provide a quick answer regarding Transmission on ffp-0.7 oabi.

Thanks anyway, Mijzelf


DNS-323 HW Rev. C1 FW 1.10 fun-plug 0.5
2 x WD10EARS-00Y5B1 in Standard mode (LCC set to 5 min; Aligned to 4K)
Transmission with Transmission Remote GUI

Offline

 

#108 2012-05-24 12:03:33

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

Re: Packages for FFP 0.7

I've finally found the time to install ffp-0.7-oabi on my DNS-325 (in fact, I now have the option to easily switch between all 3 ffp versions).

You can find a couple of oabi packages here: http://kylek.is-a-geek.org:31337/files/ffp/0.7-oabi

This includes my main packages Transmission and Automatic.

Since this is compiled on a DNS-325, I have no idea if these will work properly on older devices, like the DNS-323. Please let me know if you run into problems.

Offline

 

#109 2012-05-30 04:48:49

nestoramaya
Member
Registered: 2012-05-21
Posts: 5

Re: Packages for FFP 0.7

fboulange wrote:

fonz has got mpfr for 0.7 but even if I installed it it gave the same error :

Code:

checking for C compiler default output file name... configure: error: C compiler cannot create executables

any ideas ?
Fr3d

I ran into the same problem. Try and install (just about) every package listed in slacker from Fonz. Seems to be working for me now (compile not done yet, but much further along).

Cheers,
Nestor

Offline

 

#110 2012-05-30 08:18:55

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

Re: Packages for FFP 0.7

kernel-headers and uClibc are essential packages when you want to compile stuff on the device.

Offline

 

#111 2012-06-11 23:14:07

R0b1n
Member
Registered: 2011-12-03
Posts: 51

Re: Packages for FFP 0.7

Hi all.

You can find the last stable version of nzbget 0.8.0 compiled for ffp 0.7 arm by myself here: https://docs.google.com/open?id=0B9vh__ … kRRaXhHVnM

Enjoy !

Offline

 

#112 2012-10-11 01:00:31

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

Re: Packages for FFP 0.7

do you konw NUt for UPS??
can you create a packages for it?

tk

Offline

 

#113 2012-10-13 17:22:55

rspitz
Member
Registered: 2012-10-13
Posts: 12

Re: Packages for FFP 0.7

Dear FFP experts,

I'm a total newbie to FFP and don't even own a DNS-323/321, but all my searches had hits in this forum, so I hope I'm not completely wrong here.

I have a Medion NAS P89633 (powered by PLX-NAS7820 750 MHz dual core processor) on which I installed FFP 0.7 (arm) and activated sshd. When I login, I get greeted with the following message:
== Welcome at FFP version 0.7/arm, running on STG212 nas-server, firmware 1.01(UZD.2) ==

"uname -a": Linux nas-server 2.6.31.14_SMP_820 #2 SMP Fri Jul 13 20:14:45 CST 2012 armv6l GNU/Linux

Besides its main function as a NAS and maybe media server, I'd like to use the device for collecting data via two USB-to-serial adapters. For that I need the kernel modules "usbserial.ko" and "pl2303.ko". They are included in mijzelf's repository in the "zyxel_modules-2.6.31.8-arm-2.txz package, but that's the wrong kernel version, so they don't run in my environment.

I don't know how to compile kernel modules myself, so is there any chance somebody could build these modules for my kernel version?

Regards, Richard

Offline

 

#114 2012-10-14 15:50:01

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

Re: Packages for FFP 0.7

Offline

 

#115 2012-10-14 18:28:04

rspitz
Member
Registered: 2012-10-13
Posts: 12

Re: Packages for FFP 0.7

Mijzelf,

thank you very much! In my first tests, it worked straight away!

I ran "insmod usbserial" and "insmod pl2303", after which the USB-serial-converter was immediately detected correctly after plugging it in. "dmesg -r" reports "usb 1-1.3: pl2303 converter now attached to ttyUSB0", but no /dev/ttyUSB0 is created automatically as on my other Linux boxes. That's what your "medion-modules.sh" script is for, after running this and setting the appropriate stty options, I can read data over this line just as I need it.

Will I have to run the "insmod" command for the modules after each reboot, or will the modules be automatically detected and used?

Regards, Richard

Offline

 

#116 2012-10-14 20:37:38

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

Re: Packages for FFP 0.7

I don't think the modules will be loaded automagically. Udev is needed for that, and even if that runs, I don't think it can find the modules.

But of course you can add the insmod commands to medion-modules.sh

Offline

 

#117 2012-11-13 05:33:27

Komano
Member
Registered: 2011-06-10
Posts: 42

Re: Packages for FFP 0.7

I've been compiling packages for arm lately and i've noticed it takes a really long time to compile glib.

I'm trying to compile the latest glib 2.35.1 because i'm trying to build GTK+.

I've done creating the directory ready for .txz packaging but when it comes to the packaging command, it takes ages. How long is it supposed to take?

Offline

 

#118 2012-11-13 10:29:08

memiks
Member
Registered: 2011-09-02
Posts: 72

Re: Packages for FFP 0.7

Komano wrote:

I've been compiling packages for arm lately and i've noticed it takes a really long time to compile glib.

I'm trying to compile the latest glib 2.35.1 because i'm trying to build GTK+.

I've done creating the directory ready for .txz packaging but when it comes to the packaging command, it takes ages. How long is it supposed to take?

I know XZ take long long time on ARM device... to reduce package compilation time, just modify file : /ffp/bin/makepkg
and replace:

bsdtar cf - . | xz -c >$PKG
by
bsdtar cf - . >$PKG

after that makepkg only made a .tar file, you must compress it with xz : http://tukaani.org/xz/ on another computer.

Fred.

Offline

 

#119 2012-11-13 15:40:24

Komano
Member
Registered: 2011-06-10
Posts: 42

Re: Packages for FFP 0.7

Okay. So here are some of the Packages i've compiled. Don't blame me if they don't work properly. They should.

https://packages.zanechua.com

Personal Notes:

Mono requires http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46311 and http://serverfault.com/questions/249411 … le-charset

doxygen requires appending -liconv  in /src/Makefile.doxygen at LIBS = ***

Last edited by Komano (2012-12-14 13:11:49)

Offline

 

#120 2012-12-11 00:18:08

rspitz
Member
Registered: 2012-10-13
Posts: 12

Re: Packages for FFP 0.7

To read/write serial port with perl, I need module "Device::SerialPort", available from http://search.cpan.org/CPAN/authors/id/ … 04.tar.gz. However, I cannot compile the module on my box, "perl Makefile.PL" quits with "configure: error: C compiler cannot create executables". I installed gcc (GCC) 4.6.2 and  mpfr via slacker, but this didn't help.

I'm running FFP 0.7 arm on a Medion NAS P89633. What is required to compile this perl module on my machine? Alternatively, could one of you kind souls with a working environment for compiling FFP 0.7 arm packages compile this module for me?

Offline

 

#121 2012-12-11 07:29:58

Komano
Member
Registered: 2011-06-10
Posts: 42

Re: Packages for FFP 0.7

rspitz wrote:

To read/write serial port with perl, I need module "Device::SerialPort", available from http://search.cpan.org/CPAN/authors/id/ … 04.tar.gz. However, I cannot compile the module on my box, "perl Makefile.PL" quits with "configure: error: C compiler cannot create executables". I installed gcc (GCC) 4.6.2 and  mpfr via slacker, but this didn't help.

I'm running FFP 0.7 arm on a Medion NAS P89633. What is required to compile this perl module on my machine? Alternatively, could one of you kind souls with a working environment for compiling FFP 0.7 arm packages compile this module for me?

Don't know if i compiled it correctly but hopefully i did.

https://packages.zanechua.com/Device-Se … -arm-1.txz

Last edited by Komano (2012-12-14 13:12:17)

Offline

 

#122 2012-12-11 11:32:54

rspitz
Member
Registered: 2012-10-13
Posts: 12

Re: Packages for FFP 0.7

Hi Komano,

thank you ever so much! I downloaded and installed the package, but won't be able to test before tonight. Will report results.

Regards, Richard

Offline

 

#123 2012-12-11 23:33:18

rspitz
Member
Registered: 2012-10-13
Posts: 12

Re: Packages for FFP 0.7

Thanks again, module works!

Offline

 

#124 2012-12-18 20:36:56

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

Re: Packages for FFP 0.7

@Komano: That is an impressive list of packages you have. If you create an CHECKSUMS.md5

Code:

cd /path/to/packages
md5sum *.txz >CHECKSUMS.md5

and announce your site by Uli, you can easily reach more people.

I have a script which can extract an html listing and a manifest file from the checksums file (and the packages)

Offline

 

#125 2013-01-05 03:18:45

Komano
Member
Registered: 2011-06-10
Posts: 42

Re: Packages for FFP 0.7

I'll take a look at that.

The only reason i've been compiling these packages are because i want to get a mostly full version of netatalk 3.0.1 running on the DNS-320. I've met into some problems though. Netatalk 3.0.1 advertises correctly but it's unable to find any volumes and keeps complaining of being unable to access the drives. Reading on the netatalk mailing lists, i found this problem to be linked to /etc/fstab/ . I wonder if i would have the time to go and figure this out before i decide to go full fledge debian on this littlebox. I hope so.

EDIT: I assume your script is ran via "sh CreatePackageList.sh bzip2" ?

It's returning me an error "CreatePackageList.sh: line 208: exec: CreatePackageList.sh: not found"

Last edited by Komano (2013-01-05 03:35:36)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB