× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

So I installed the Java addon. But where is it?

WhoCares_
Mentor

Re: So I installed the Java addon. But where is it?

Cool. Now the question is whether the app itself uses X11 libs or not. Maybe I'm going to test that later but currently I prefer working on Plex 😉

-Stefan
Message 26 of 48
Scouser
Aspirant

Re: So I installed the Java addon. But where is it?

Hi Stefan,
Sorry for the late reply. Been tied up here with house stuff 😞
First off, Just want to say I really appreciate the help you have given me so far.

I got serviio up and running using a web ui. Pretty impressive it is too. It works brilliantly and its packed full of features not to mention that it does transcoding on the fly.
For some odd reason, ReadyDLNA has problems in my setup. It works but it pauses for long periods causing the NAS NIC to hang during the pause. I have tried everything to figure out what the hell is going on but to no avail. Before I got the Pro 6 I used MediaLink off my Mac to serve up DLNA to my TV. This used the same network, switch, router, etc and worked perfectly. Convinced the problem is in the ReadyDLNA software or its dependencies, I went looking for an alternative. I hear that Twonky has issues but then found Serviio....and its free 😉 So far, after watching 3 movies last night 1 of which was transcoded MP4, another transcoded MKV and the other an MPEG4 file (untranscoded), all played perfectly, never once hung up. During the 2nd movie I deliberately copied a 100Gb tar file to the NAS from my Mac to see if would cause performance problems. Nope. Worked a dream. So I am fairly convinced my DLNA problems are sorted.

Another neat thing about servio is that it has profiles for rendering devices and it supports my Panasonic Viera TV. Also, you can select to display the order and type of items on the rendererd list such as Titles, date added, date watched, and so on. You an even elect to list Acors, Directors, Producers and more. Really cool.

I had to create some scripts specifically to run it on the ReadyNAS. Such as init.d script etc and currently I have serviio running as root which is not too secure.
Anway, the next thing to do is to package this lot up.

Things I am still learning to do and could do with some help (if you dont mind that is):
I want to install a debbotstraped dev environment as you suggest. I see that aptitude is not installed. ANy idea what the package is for this?
I guess this one will be answered when I get to frontview development, but how does one configure an apache service so that the serviio web server is started as user "seriviio"? I have added a user serviio with intentions of trying to get the serviio service running without root privileges. But in order to do that I need to get apache to run it for me (possibly with apache privelges).
Thousand questions.....I hope I dont bug you too much.
Cheers and thanks again
Berny
Message 27 of 48
Scouser
Aspirant

Re: So I installed the Java addon. But where is it?

Somehow I dont trust aptitude. So I did apt-get install debootstrap
Go it.
But now how to download the root file system.
The instructs say:
debootstrap --arch i386 lenny $CHROOTDIR http://ftp.us.debian.org/debian
I changed lenny to etch but there is no etch dist on this ftp site.
Hmm...what to do...
Message 28 of 48
WhoCares_
Mentor

Re: So I installed the Java addon. But where is it?

try http://archive.debian.org/... instead.

-Stefan
Message 29 of 48
Scouser
Aspirant

Re: So I installed the Java addon. But where is it?

I can see it in http://archive.debian.org/backports.org/dists/etch-backports
but....

MainStore:/c/buildenv# debootstrap --arch i386 etch $BUILDENV http://archive.debian.org/backports.org/dists/etch-backports
I: Retrieving Release
E: Failed getting release file http://archive.debian.org/backports.org/dists/etch-backports/dists/etch/Release

seems like debotstrap tacks "dists/etch/Release" on the end of the MIRROR URL and it fails.
Message 30 of 48
WhoCares_
Mentor

Re: So I installed the Java addon. But where is it?

debootstrap --arch i386 etch $BUILDENV http://archive.debian.org/backports.org

-Stefan
Message 31 of 48
Scouser
Aspirant

Re: So I installed the Java addon. But where is it?

MainStore:/mnt/buildenv# debootstrap --arch i386 etch $BUILDENV http://archive.debian.org/backports.org
I: Retrieving Release
E: Failed getting release file http://archive.debian.org/backports.org/dists/etch/Release

Its always tacking that damn "dists/etch/Release" on the end and it dont exist. Its in http://archive.debian.org/backports.org/dists/etch-backports/
Message 32 of 48
WhoCares_
Mentor

Re: So I installed the Java addon. But where is it?

Why do you want to get backports anyway? Just use etch and if need be add the backports repo later.

So the correct line would be: debootstrap --arch i386 etch $BUILDENV http://archive.debian.org/debian

-Stefan
Message 33 of 48
Scouser
Aspirant

Re: So I installed the Java addon. But where is it?

Yup that did it. Woo hoo!

Thanks mega heaps Stefan. I'll go have a play 😉
Message 34 of 48
Scouser
Aspirant

Re: So I installed the Java addon. But where is it?

Hi Stefan,
I have just got back to building my dev environment. Been busy with a load of hassle at home.... 😞
So I got a virgin buildenv using debootstrap. But now stuck with configuring the new chroot environment.

What should I have in my sources.list file?
The devbuild wefixit page gives examples referring to lenny.
My current sources.list looks like this. But it does fails.

deb http://archive.debian.org/debian etch main
deb http://archive.debian.org/debian etch non-free
deb http://archive.debian.org/debian-backports etch-backports main non-free


This gives the following:
W: GPG error: http://archive.debian.org etch-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EA8E8B2116BA136C
W: You may want to run apt-get update to correct these problems


TIA
Message 35 of 48
WhoCares_
Mentor

Re: So I installed the Java addon. But where is it?

You need to install the updated GPG signatures from etch-backports manually. Download and install using dpkg -i ...

-Stefan
Message 36 of 48
Scouser
Aspirant

Re: So I installed the Java addon. But where is it?

Sorry Stefan. As I said, I am really an old time Unix hack. Getting around Linux is a challenge for me but I am competent once I understand the gist of things. Can you be a bit more specific for an old dog 😉 .... dpkg -i ?
Message 37 of 48
Scouser
Aspirant

Re: So I installed the Java addon. But where is it?

Oh craps! I saw this viewtopic.php?f=35&t=59430&p=334004&hilit=GPG#p334004
Stefan, does this mean I am hosed?
Message 38 of 48
WhoCares_
Mentor

Re: So I installed the Java addon. But where is it?

No because your problem is with the back ports repo for which a GPG is available whereas the problem in the other thread is with Netgear's 4.2.19 repo for which no valid key is available 😉 So you just need to download the Debian Archive Keyring and install the file using "dpkg -i <filename>"

-Stefan
Message 39 of 48
Scouser
Aspirant

Re: So I installed the Java addon. But where is it?

Stefan. Thanks mate. Really appreciate it. I know I keep saying it but I do.
So, I now have my dev env setup. Downloaded the ReadyNAS GPL resources (as an aged Unix hack Iam blown away that these are even public!), installed gcc, gdb, make etc and I have even run configure/make in a ffmpeg to test it. Runs great. So, to start with, serviio has had problems with ffmpeg and there is a patch just ab out to com out for fixing mkv files on certain dst runs. I will have that in the next day or so. But right now, things are looking sweet. I guess I will figure out which packages I am missing as I go along. e.g., I installed gcc and the libs and all and just presumed "make" would come with it but it didnt so a quick apt-get sorted that.
Just compiled strace.....woo hoo!
briliant! thanks again.
Message 40 of 48
WhoCares_
Mentor

Re: So I installed the Java addon. But where is it?

The thing is that you probably can't use the ffmpeg as supplied by Netgear because this one has been stripped down a lot. You may be fine by manually configuring the sources as you did but rather than doing this I'd advise to use the Debian build tools like 'dpkg-buildpackage' or 'rebuild' to build the stuff. You should be able to find newer releases of ffmpeg in the Debian repos for Lenny/Squeeze/Sid. Actually I already built one myself for the KMotion project so I know it's doable but it's going to be tough work 😉

-Stefan
Message 41 of 48
Scouser
Aspirant

Re: So I installed the Java addon. But where is it?

Yeah ffmpeg is huge!
What your saying though is a bummer. The one I have installed, I got from here: viewtopic.php?f=48&t=45661
Not sure if that one was yours or not. But that one works better than the one supplied on the nas albeit it has zilch as a version ID:

MainStore:/opt/serviio/log# ffmpeg -version
FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Mar 20 2011 21:32:23 with gcc 4.3.2
configuration: --enable-pthreads --disable-shared --enable-static --enable-gpl --enable-libx264 --enable-libmp3lame
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 1 / 0.16. 1
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.93. 0 / 52.93. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.74. 0 / 1.74. 0
libswscale 0.12. 0 / 0.12. 0


That one is stored in /usr/local/bin/ffmpeg

I have another one stored in /opt/photos2/bin/ffmpeg:

MainStore:~# /opt/photos2/bin/ffmpeg -version
FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
built on Aug 17 2011 08:41:25 with gcc 4.5.2
configuration: --prefix=/home/hagi/photos2/backend/ffmpeg-0.6/../.out --cc=gcc --extra-cflags='-ggdb -I/home/hagi/photos2/backend/ffmpeg-0.6/../.out/include' --extra-ldflags='-Wl,-rpath,/opt/photos2/lib -L/opt/photos2/lib' --disable-stripping --disable-devices --disable-ffplay --disable-ffprobe --disable-ffserver --disable-avdevice --enable-libx264 --enable-libmp3lame --enable-gpl --enable-shared --enable-memalign-hack
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libswscale 0.11. 0 / 0.11. 0



But the one I just did a configure followed by a build gives:

FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers
built on Dec 14 2011 22:07:52 with gcc 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
configuration:
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.11. 0 / 0.11. 0


The patch that I need in the latest version 0.9 fixes the following bug: https://ffmpeg.org/trac/ffmpeg/ticket/177
This patch apparently fixes a problem I am getting with "some", but not all .mkv files. Note that ReadyDLNA does not support these files. The neat thing about serviio is that it transcodes just about anythng and it presents itself much better than ReadyDLNA.....BTW, I found the problem I have been having that led me to this in the first place. Its the Seagate disks I am using freezing up when write-cache is enabled. Nothing to do with ReadyDLNA or any software that came from Netgear.

Anyway.... I think what your saying is I got to figure a way to compile 0.9 first and that aint going to be easy....

any pointers....hint 😉
Message 42 of 48
WhoCares_
Mentor

Re: So I installed the Java addon. But where is it?

Didn't check but you could try debian-multimedia.org

-Stefan
Message 43 of 48
Scouser
Aspirant

Re: So I installed the Java addon. But where is it?

BTW: how does one search for stuff in the deb packages? Is there a utility to find which package contains which tool for e.g.?
Message 44 of 48
WhoCares_
Mentor

Re: So I installed the Java addon. But where is it?

Depends on what you're looking for, or to be more precise: the name of the tool that you're looking for. In general

 dpkg -S <whateverthename>


will do what you want for installed packages. If you haven't already installed the package with the tool you're searching, try http://packages.debian.org
(will have to look up current prices for "Linux 101" trainings rsn ;))

-Stefan
Message 45 of 48
Scouser
Aspirant

Re: So I installed the Java addon. But where is it?

WhoCares? wrote:

(will have to look up current prices for "Linux 101" trainings rsn ;))


haha. too funny. But your right. your gonna get p**ssed at me 😉 just tell me to bug off if I bug you too much, I will understand. I guess I need to buy a book and read up on recent linux dev techniques. The last time I messed at code level on Linux was about 6 years ago. The wheel was reinvented since then.
Message 46 of 48
Scouser
Aspirant

Re: So I installed the Java addon. But where is it?

Hmm.. here's some interesting reading: http://www.debian.org/doc/manuals/maint ... ex.en.html
Message 47 of 48
WhoCares_
Mentor

Re: So I installed the Java addon. But where is it?

Nah, the wheel definitely hasn't been reinvented. It's still configure - make - make install, basically. It's just that most of the current distros have their own way of wrapping things. And since the ReadyNAS is built on Debian, it makes sense to build packages their we - and be it only because they're a lot easier to remove and upgrade using the dpkg system. Well, at least I find it to be a lot easier, others may have a different opinion there.

-Stefan
Message 48 of 48
Top Contributors
Discussion stats
  • 47 replies
  • 6187 views
  • 0 kudos
  • 3 in conversation
Announcements