spacer
spacer search

SwissCenter

Search
spacer
Main Menu
Home
Documentation + FAQ
Screenshots
Downloads
Forums
Bug Tracking
History
Login
Username

Password

Remember me
?
No account yet?

Locations of visitors to this page

 
Home arrow Forums

SwissCenter Forums  


<< Start < Previous 1 2 Next > End >>
Showcenter on Linksys nslu2 - 2005/03/09 11:09 I am currently setting up a small and silent linux box with a big disc (actually, it is an old modified Cobalt RaQ 2) as a mp3/video/image/amule server as a backend to my pinnacle showcenter.

Off course, I think this makes me pretty cool and thinking this, I cannot help but think that other people would like to achieve the same amount coolness. However, where to find this small and silent linux box with a big disc .

Well, what you could consider is the following:
Buy a cheap small and silent Linksys box with a big disc
http://www.linksys.com/products/product.asp?grid=35&scid=43&prid=640

and update the linux OS running it, with a completely open and configurable one:
http://www.nslu2-linux.org/

Just add swisscenter and presto!

Off course, it's not that simple, you have to install a sql server (sql-lite might be more suitable), php and a webserver (I'm using
http://www.lighttpd.net/ but thttpd might also work) on a system that is under development, but if it works you have your very own network attached media server (NAMS)!

So, just an idea, use it or leave it.
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2005/03/09 13:13 MrT wrote:

Well, what you could consider is the following:
Buy a cheap small and silent Linksys box with a big disc
http://www.linksys.com/products/product.asp?grid=35&scid=43&prid=640

and update the linux OS running it, with a completely open and configurable one:
http://www.nslu2-linux.org/

Pretty cool! Coincidentally, today I wondered 'would it be possible to run an OS on the 'network-connectable-harddisks'. It seems so
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2005/04/29 18:03 So, just an idea, use it or leave it.

Just to let you know that mysql, php and apache are all running on the Unslung firmware for the NSLU2.

I am the lead Unslung firmware developer, and I happen to have recently bought a Neuston MC-500.

I already have OpenShowCenter serving from the NSLU2, and am just about to try SwissCenter on the same device.

-- Rod
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2005/05/07 22:10 I tried this. However the mysql database can not be created. The config results in the following apache error_log:

[Sat May 07 21:04:55 2005] [notice] Apache/2.0.53 (Unix) DAV/2 PHP/5.0.3 configured -- resuming normal operations
[client 192.168.1.100] PHP Notice: Undefined index: section in /share/hdd/data/opt/share/www/swisscenter/config/index.php on line 1000
[client 192.168.1.100] PHP Notice: Undefined index: section in /share/hdd/data/opt/share/www/swisscenter/config/index.php on line 1000
[client 192.168.1.100] PHP Notice: Use of undefined constant DB_HOST - assumed 'DB_HOST' in /share/hdd/data/opt/share/www/swisscenter/config/index.php on line 927
[client 192.168.1.100] PHP Notice: Use of undefined constant DB_USERNAME - assumed 'DB_USERNAME' in /share/hdd/data/opt/share/www/swisscenter/config/index.php on line 927
[client 192.168.1.100] PHP Notice: Use of undefined constant DB_PASSWORD - assumed 'DB_PASSWORD' in /share/hdd/data/opt/share/www/swisscenter/config/index.php on line 927
[client 192.168.1.100] PHP Notice: Use of undefined constant DB_DATABASE - assumed 'DB_DATABASE' in /share/hdd/data/opt/share/www/swisscenter/config/index.php on line 927
[client 192.168.1.100] PHP Notice: Use of undefined constant DB_HOST - assumed 'DB_HOST' in /share/hdd/data/opt/share/www/swisscenter/config/index.php on line 927
[client 192.168.1.100] PHP Notice: Use of undefined constant DB_USERNAME - assumed 'DB_USERNAME' in /share/hdd/data/opt/share/www/swisscenter/config/index.php on line 927
[client 192.168.1.100] PHP Notice: Use of undefined constant DB_PASSWORD - assumed 'DB_PASSWORD' in /share/hdd/data/opt/share/www/swisscenter/config/index.php on line 927
[client 192.168.1.100] PHP Notice: Use of undefined constant DB_DATABASE - assumed 'DB_DATABASE' in /share/hdd/data/opt/share/www/swisscenter/config/index.php on line 927
[client 192.168.1.100] PHP Fatal error: Using $this when not in object context in /share/hdd/data/opt/share/www/swisscenter/base/mysql.php on line 46
[client 192.168.1.100] PHP Fatal error: Using $this when not in object context in /share/hdd/data/opt/share/www/swisscenter/base/mysql.php on line 46


Anybody an idea how to solve this?

Bart
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2005/05/12 19:38 I already have OpenShowCenter serving from the NSLU2, and am just about to try SwissCenter on the same device.


This is very cool, I did not know the unslung project was progressing this rapidly.

You'll probably find that Swisscenter works much more pleasantly than openworkcenter does. Please let me know if anybody succeeds in getting the combination to work.
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2005/08/05 00:39 Got swisscenter running on my nslu2 with unslung tonight.
Works a treat, especially with the slug running at full speed.

Had to perservere and make a couple of minor code changes but will post a how to in due course.
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2005/08/05 10:30 Great! Please tell us how...
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2005/08/05 11:55 Yes - please do... it look like you have modified the code so that it's PHP5 compatible. Something that was still on my "to-do" list Player : Pinnacle Showcenter 200 (wired ethernet)
Server : HP MediaSmart EX470 NAS (Windows Home Server / Sempron CPU / 2Gb RAM / 2.0 Tb Storage).

  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2005/08/10 22:01 Hi !

First of all: Please excuse my bad english ! This is my first posting in this forum. I'm also a linux and php neewbie.

After trying and trying with Apache and PHP5 I made some progress with swisscenter on the NSLU2.

I installed php-thttpd with ipkg (also installed the which command). Of cause I had installed mysql and php and the php-mysql packages before (used with apache - don't know, if it makes any difference according to php-thttpd).
Then I edited the thttpd config file (it's in /opt/etc):

dir=/opt/share/www/swisscenter (was my swisscenter-Installation under Apache)
port=8001 (just tried this one, have wizd on 8000)
user=nobody
nochroot
nosymlinks
leave the rest

Now make sure, that all files in the swisscenter-directory have the appropriate rigths for thttpd ! Use:

find TheDirectoyPathOfSwisscenter -type f -print0 | xargs -0 chmod 644
find TheDirectoyPathOfSwisscenter -type d -print0 | xargs -0 chmod 755

After that I could point my browser to the NSLU2-ip and port but had an error, because swisscenter could'nt save the swisscenter.ini file. Seems to be a problem with the LOCATION-variable in settings.php. So, I edited the settings.php and commented out most of the log-file things and defined the variable to my directory:.

// Where is the SwissCenter installed?
// if (!empty($_SERVER['DOCUMENT_ROOT']))
// define //('SC_LOCATION',str_replace('\\','/',os_path($_SERVER["DOCUMENT_ROOT"],true)));
// elseif (!empty($_SERVER['PHP_SELF']))
// define ('SC_LOCATION', //str_replace('\\','/',dirname($_SERVER['PHP_SELF']).'/'));
// else
// define ('SC_LOCATION', //str_replace('\\','/',dirname($_SERVER["argv"][0]).'/'));
define ('SC_LOCATION','/opt/share/www/swisscenter/');


Now I was able to point the webbrowser to ip-adress:8001


It seems to work on the NSLU2 - just started the Media-update-script. Don't know, if this will help you - I will do further testing in the next days.
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2005/08/11 15:52 find TheDirectoyPathOfSwisscenter -type f -print0 | xargs -0 chmod 644
find TheDirectoyPathOfSwisscenter -type d -print0 | xargs -0 chmod 755


You'll need to change the actual ownership of "TheDirectoryPathOfSwisscenter" and the files within it to "nobody" as the swisscenter will need to create new files and modify the existing ones (for creating the symbolic links to your media, and for the auto-update feature to work).

The best and easiest way of doing this is:

chown -R nobody TheDirectoryPathOfSwisscenter

Rob.
Player : Pinnacle Showcenter 200 (wired ethernet)
Server : HP MediaSmart EX470 NAS (Windows Home Server / Sempron CPU / 2Gb RAM / 2.0 Tb Storage).

  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2005/08/11 16:32 Thank you Rob,

I already fixed this yesterday (forgot to post - sorry). I also used chmod 644 (for files) and chmod 755 (for directories) together with chown for my media locations (it seems thttpd needs this).

I was able to create the database and populate it using the search-script (media-links are created). When the NSLU2 is connected to my PC everything works fine so far (have not tested all features..). The problem is, when I connect the NLSU2 to my Transgear DVD-Player (not Internet-connected) and try to connect to swisscenter on the NSLU2. The connection just times out - I think, this is because swisscenter tries to establish an internet-connection to look for an update (probably takes to long for the DVD-Player). I think, to disable the update-check will fix this problem. Had no time yesterday for further testing. So I'll test it this evenning. I'll post the results of the hardware identification (should be Syabas-Software).

By the way: Swisscenter on NSLU2 with thttpd is pretty fast (serves 9000 mp3s).

Bye and thank you Rob for this software

Rudi
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2005/08/11 16:39 The connection just times out - I think, this is because swisscenter tries to establish an internet-connection to look for an update

Yes, I discovered this when my internet connection broke... it does take a long time to time out. In the next releae I shall do something about it!

For now, you can edit the base/server.php file and at the end, change the internet_available() function to just return false (instead of trying to perform the socket connection).
Player : Pinnacle Showcenter 200 (wired ethernet)
Server : HP MediaSmart EX470 NAS (Windows Home Server / Sempron CPU / 2Gb RAM / 2.0 Tb Storage).

  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2005/08/11 17:11 I can not reproduce this with Apache. When the database is created, top does not show any mysql activity. The "create database" page does not complete; it keeps on loading. Apache report the following problem in the log:

[client 192.168.2.100] PHP Notice: Undefined index: section in /opt/share/www/swisscenter/config/index.php on line 1218
[client 192.168.2.100] PHP Notice: Use of undefined constant DB_HOST - assumed 'DB_HOST' in /opt/share/www/swisscenter/config/index.php on line 1145
[client 192.168.2.100] PHP Notice: Use of undefined constant DB_USERNAME - assumed 'DB_USERNAME' in /opt/share/www/swisscenter/config/index.php on line 1145
[client 192.168.2.100] PHP Notice: Use of undefined constant DB_PASSWORD - assumed 'DB_PASSWORD' in /opt/share/www/swisscenter/config/index.php on line 1145
[client 192.168.2.100] PHP Notice: Use of undefined constant DB_DATABASE - assumed 'DB_DATABASE' in /opt/share/www/swisscenter/config/index.php on line 1145
[client 192.168.2.100] PHP Notice: Use of undefined constant DB_HOST - assumed 'DB_HOST' in /opt/share/www/swisscenter/config/index.php on line 1171
[client 192.168.2.100] PHP Notice: Use of undefined constant DB_USERNAME - assumed 'DB_USERNAME' in /opt/share/www/swisscenter/config/index.php on line 1171
[client 192.168.2.100] PHP Notice: Use of undefined constant DB_PASSWORD - assumed 'DB_PASSWORD' in /opt/share/www/swisscenter/config/index.php on line 1171
[client 192.168.2.100] PHP Notice: Use of undefined constant DB_DATABASE - assumed 'DB_DATABASE' in /opt/share/www/swisscenter/config/index.php on line 1171
[client 192.168.2.100] PHP Notice: Undefined index: password in /opt/share/www/swisscenter/config/index.php on line 89
[Thu Aug 11 14:21:03 2005] [error] [client 192.168.2.100] File does not exist: /opt/share/www/swisscenter/favicon.ico
[client 192.168.2.100] PHP Notice: Use of undefined constant DB_HOST - assumed 'DB_HOST' in /opt/share/www/swisscenter/config/index.php on line 1145, referer: http://192.168.2.111:8000/config/
[client 192.168.2.100] PHP Notice: Use of undefined constant DB_USERNAME - assumed 'DB_USERNAME' in /opt/share/www/swisscenter/config/index.php on line 1145, referer: http://192.168.2.111:8000/config/
[client 192.168.2.100] PHP Notice: Use of undefined constant DB_PASSWORD - assumed 'DB_PASSWORD' in /opt/share/www/swisscenter/config/index.php on line 1145, referer: http://192.168.2.111:8000/config/
[client 192.168.2.100] PHP Notice: Use of undefined constant DB_DATABASE - assumed 'DB_DATABASE' in /opt/share/www/swisscenter/config/index.php on line 1145, referer: http://192.168.2.111:8000/config/
[client 192.168.2.100] PHP Notice: Use of undefined constant DB_HOST - assumed 'DB_HOST' in /opt/share/www/swisscenter/config/index.php on line 1171, referer: http://192.168.2.111:8000/config/
[client 192.168.2.100] PHP Notice: Use of undefined constant DB_USERNAME - assumed 'DB_USERNAME' in /opt/share/www/swisscenter/config/index.php on line 1171, referer: http://192.168.2.111:8000/config/
[client 192.168.2.100] PHP Notice: Use of undefined constant DB_PASSWORD - assumed 'DB_PASSWORD' in /opt/share/www/swisscenter/config/index.php on line 1171, referer: http://192.168.2.111:8000/config/
[client 192.168.2.100] PHP Notice: Use of undefined constant DB_DATABASE - assumed 'DB_DATABASE' in /opt/share/www/swisscenter/config/index.php on line 1171, referer: http://192.168.2.111:8000/config/


Phpmyadmin report however that the database is created with 22 tables.

Howlong did it took your nsl2 to create the tables?

-Bart
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2005/08/11 17:59 Hi BArt,
I had the same problems with Apache. I was able to create the database, but had no reply from swisscenter. The create-database-page did not load fully (along with lot's of php error messages). All editing of the script's did not help (I'm new to php...). The php-thttpd package works much better with swisscenter. Just a few adjustments (see my posts above) and finally swisscenter works. Dont't know why Apache + PHP 5 does not work with swisscenter on the slug.I also tried Oxyl with Apache on the slug and had success (but swisscenter is better !).

Rudi
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2005/08/11 18:03 Hi Rudi,

I remember that there was a problem with the file size limit, which prevented the playing of video files. Is that still a problem?

I will try php-thttpd later today or tomorrow!

Cheers, Bart
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2005/08/11 21:31 I got Swisscenter running on thttpd! However, the database is not being populated... I have chmod-ed and chown-ed the files in the swisscenter directory and media directories.

Any idea?

It also looks like the upgarde of swisscenter has no result. After some time the please wait page stops loading. Then I have to restart thttpd to continue...
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2005/08/11 23:27 Hi Bart,
I use the current relase of swisscenter and php-thttpd package. Have you edited the media locations to the correct path ? I have my mp3s under /public/music, so I chmoded public and music and all the media files AND changed the ownership to 'nobody' with chown (maybe you should change the goup to 'everyone' too) - and I created the media directory myself - don't know, if this makes a difference - so it worked. Thttpd seems a little bit sensitive about the rights (No execute-bit on data files and so on)...

But I got some problems with the server identification and the identification of the swisscenter path (see above mail). The playlists had no server-ip (don't know why - maybe it's a different syntax with thttpd). So I edited the script (I think it was the server.php file) and put in the slug IP. On my PC my mp3s loaded then correctly - but on my DVD-Player I just saw a short black screen an nothing happened. I'll go on testin tommorrow...

Good luck

Rudi
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2005/08/13 01:19 Sorry took so long.
OK here is how I got it working on the nslu2.
First unsling nice and clean, then install the packages required...

Here's my list of ipkgs..
mysql
apache
eaccelerator
php-apache
php-mysql
php-gd

Install the swisscenter files under /opt/share/www/swisscenter
Then need to change the permissions of the files...

chmod 777 -R /opt/share/www/swisscenter

You will need to edit httpd.conf that get installed with apache to include the following (Note: }=> and {=< ).......

DocumentRoot "/opt/share/www/swisscenter"

{Directory "/opt/share/www/swisscenter"}
Options Indexes FollowSymLinks Multiviews
AllowOverride None
Order allow,deny
Allow from all
{/Directory}

Also add this at the bottom of the file (Note: }=> and {=< )...

{ifModule mod_dir.c}
DirectoryIndex index.html index.php
{/ifModule}
ErrorLog /var/log/swisscentererror.log
LogLevel debug
CustomLog /var/log/swisscenteraccess.log combined
Alias /root/ "/"

Helps also change the error level in php.ini to
error_reporting = E_ALL & ~E_NOTICE
instead of
error_reporting = E_ALL

Code changes...

In .\ext\getid3.php edit comment out the following section as below

#if ($this->option_tag_apetag) {
#if (!@include_once(GETID3_INCLUDEPATH.'module.tag.apetag.php')) {
#return $this->error('module.tag.apetag.php is missing - you may disable option_tag_apetag.');
#}
#$tag = new getid3_apetag($fp, $this->info);
#}

in .\config\index.php and .do_refresh.php change...

# run_background('media_search.php');
require_once('media_search.php');

in .\base\settings.php I had to hard code the path to php, but if you ipkg which this might work without the change.

# define ('PHP_LOCATION', trim(syscall('which php')));
define ('PHP_LOCATION', "/opt/bin/php");

Also trick it to think that a media search has been done, otherwise I found I couldn't start the config app.

# Mod MF
$_SESSION["media_check"] = 'YES';
# EndMod MF
if (!isset($_SESSION["media_check"]))

Notes.

Couldn't get the now playing image working, still trying to figure that out.

The box hung after creating the database, but after restarting and loging into mysql, everything seemed to have been created ok. Give it plenty of time though.

Updating the media is best done manually, by running media_search.php
This takes a long time, and may take a number of attempts. Check the log files to see it's going ok, or alternatively login to mysql on another telnet session and check records are getting added to the mp3s table.

I think that was it. Hope that helps someone. If anyone follows this, and gets it working, please post a reply so I know I've not forgotten anything.

P.S.

AT YOUR OWN RISK, DON'T BLAME ME IF YOU TRY THIS AND IT GOES WRONG: De-underclocking using a nice sharp scalpel sure speeded things up for me, heres the how to: http://www.nslu2-linux.org/wiki/HowTo/OverClockTheSlug
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2005/08/14 12:57 I had to manually populate the database with media_search.php. I still have a problem though, the playlist that is generated looks like:

http://:8080/media/7/a-e/A-ha/Aha%20-%20Crying%20In%20The%20Rain.mp3


Did you have the same?

Bart
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2005/08/14 13:02 Think I fixed it by changing the following lines in server.php:

//if (is_server_iis())
//return 'http://'.$_SERVER['LOCAL_ADDR'].":".$_SERVER['SERVER_PORT'].'/';
//else
//return 'http://'.$_SERVER['SERVER_ADDR'].":".$_SERVER['SERVER_PORT'].'/';
return 'http://192.168.1.77:8080/';


Not very elegant though...
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2005/08/15 11:28 Hi,
I did a little testing during the weekend.

Obviously the IP-Adress has to be hardcoded (with thttpd and with apache on the slug). The php-location problem is solved by the which command (installed via ipkg).

I had a problem with the media locations (still unsing thttpd). My mp3s are at /share/hdd/data/public/music. When I added the media-location, I could'nt play any mp3s (but the media-search worked). I had to change the media-location to /share/hdd/data/public. After that, I could play mp3s (the path to the mp3s and the mp3s itself had to be chmoded and chowned to the correct rights and ownership - see above mail). The media-search works in background-mode, but I had to disable album-art, I think because of the database size the slug hung or this is a problem with thttpd (by the way: I installed the cron package - maybe this is why media-search works via the config-page ?)

The config-page does not work correct with thttpd at the moment (maybe I messed up my configuration, cause I think it worked in the beginning). If I submit something via a button I get a page-not-found error. If a use apache, I don't get this error. So at the moment, I'm configuring swisscenter through apache and I'm running it through thttpd, because it seems to be a little bit faster with thttpd - can someone confirm this ?)

And I had a problem with my networked DVD-player (Transgear DVX 500E). I could play single mp3s but no playlists (player hung at the second mp3). I had to change the if-clause in gen_playlist.php to always use the showcenter playlist format.
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2005/08/16 00:06 Just a small update:

It is mostly working now with Apache. Could not get thttp follow the simlinks outside of the www directory to my media files. Apache is less strict in that. Used thttp to do the config (this still works for me). Populated the database manually several times since it times out. Replaced the getid3 by a newer one (www.getid3.org). Now the music can be played in Apache. Even multiple files are no problem. I do not see the song info when playing though. Just a black screen with the timeline.

Movies are not populated. Have not checked the photos.

Generally I am surprised by the speed of the thing. Did not expect the nslu2 to be capable of handeling it so fast.
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2005/08/16 09:52 Hi Bart,

in thttpd it's the media-locaton problem I posted above. Don't point directly to the media directory and chmod and chown the entire path to the media directory (chmod 755 share .. chmod 755 hdd and so on). Same with the mp3 directories and files (by the way: use nosymlinks in thttpd.conf). The config page still makes problems, so I config some things directly in mysql or apache.
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2005/08/16 17:11 I have started filling the Wiki on the NSLU2 site. Please feel free to edit it!

http://www.nslu2-linux.org/wiki/Applications/SwissCenter
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2005/08/19 15:14 markfish wrote:
Sorry took so long.
OK here is how I got it working on the nslu2.
First unsling nice and clean, then install the packages required...

Here's my list of ipkgs..
mysql
apache
eaccelerator
php-apache
php-mysql
php-gd



Where I can find this ipkgs?
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2005/08/19 18:44 See http://www.nslu2-linux.org/wiki/Applications/SwissCenter and the rest of the nslu2 site. Please update the wiki with the info that you found there.
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2005/09/27 12:19 Hi

I'm currently running SwissCenter on a PC with Simese.
I have the intention to move to a nslu2 device. I have (as a test) installed everything on a 166Mhz PC under Limux to learn on how to do a Linux Apache MySQl installation and configuration, Well everything now works.

Question I have is:
What is the performace, like response time on a nslu2 device in combination with a Pinnacle ShowCenter 1000b (hard wired)

Regards,


Aad
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2006/01/12 17:56 HI Bart



I'm having problems running Swiss on my Kurobox using lighttpd could you give me an example of the lighttpd.conf file your using . Have no problems running open showcenter and Oxyl with lighttppd

Many Thanks
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2006/01/23 17:27 Is this bART from Groningen?

Arie
Ubuntu 5.10/Pinnacle ShowCenter
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2006/02/01 19:58 Hi bART!

I´m trying to install swisscenter on my nslu and i dont know nothing about
linux. I did it like you discribed in your Wiki... installed everything without problems, canged the file like you discribe.
When trying to configure (port8080) or test (port8000) i receive a blank screen without any errormessage.
The only difference to your wiki is:
the chmod command only works on my nslu like this

find /opt/share/www/swisscenter -type f -print | xargs chmod 644
find /opt/share/www/swisscenter -type d -print | xargs chmod 755

and

i can not find the

run_background......

in the index.php and the do_refresh.php

so what shoul i edit ???

btw. In the past i installed Oxyl on my nslu with a "HowTo" and it worked fine
but swisscenter looks much better.

Please can you help mi with some hint what maybe the problem!

sorry for my bad english i am from vienna/austria and i am not often used to speek english

Thanks in advance!!!!!
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2006/02/02 09:54 Hi, i'm in the exact situation of pfh.
any help would be apreciated

rasavibes at yahoo.fr

thanks
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2006/02/02 09:59 Hi to all,

I have exactly the same problem as pfh.

I did notice that the version 1.14.3 was only available from 26th Jan 2006 and so there may be differences since the how to was written.

What version was the how to written for and is there somewhere i can get hold of that version until some kind soul updates the how to with the current swisscenter code.

I am relativley new to the slug and the showcenter was a christmas pressy to myself. I would love to get these products together and swisscenter seems like the best of the bunch.
I have tried openshowcenter - I just got a lot of php errors
oxyl - works fine but lacks some base functionality if you ask me.

help us obi-wan Bart your our only hope.

Fodder
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2006/05/31 17:34 I have tried following the instructions in the NSLU2/Swisscenter wiki, but to no avail. I have exactly the same problem - Blank Page.
Also I don't see run_background in the index.php or the do_refresh.php files.

can anyone out there help.....Please!
Showcenter 1000g (Via Ethernet).
Windows XP - aspiring to use an Unslung NSLU2.....
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2006/06/01 04:36 I think the instructions in the wiki were written for an earlier release.
Try downloading and using this version of SwissCenter:

http://swisscenter.co.uk/downloads/swisscenter_1.14.4.zip

Rob
Player : Pinnacle Showcenter 200 (wired ethernet)
Server : HP MediaSmart EX470 NAS (Windows Home Server / Sempron CPU / 2Gb RAM / 2.0 Tb Storage).

  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2006/09/14 18:37
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2006/09/14 18:37 pfh wrote:
Hi bART!

I´m trying to install swisscenter on my nslu and i dont know nothing about
linux. I did it like you discribed in your Wiki... installed everything without problems, canged the file like you discribe.
When trying to configure (port8080) or test (port8000) i receive a blank screen without any errormessage.

[...]

i can not find the

run_background......

in the index.php and the do_refresh.php

so what shoul i edit ???

btw. In the past i installed Oxyl on my nslu with a "HowTo" and it worked fine
but swisscenter looks much better.

Please can you help mi with some hint what maybe the problem!

[...]


I have the some problem, I have using the version 1.14.4
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2006/10/06 11:20 Hi Folks,

Love SwissCenter. Using it w/ my LVD-2010. Getting a NSLU2 shortly. Did people get SwissCenter to work on the NSLU2?

cheers,
JohnnyCrash
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2006/10/18 11:10 I installed Swisscenter (latest release) on my unslung NSLU2 following the guidelines in the wiki.

I noticed the following:



  • I did not do steps 7 to 9 from the wiki, as I could not find the corresponding entries

  • I did not do the option step 10 as well

  • I had to ipkg install php-mbstring as well

  • I did ipkg install zip, but the config screen still complains it is not present

  • The config screen complains about a missing Truetype font

  • At first, I could not connect to the Apache server on port 8000 from my PCs web browser. It took several reboots, without changing anything, before it started to answer

  • Even now, response times from Swisscenter on port 8000 are looooooong... Often, the GIF picture elements don't show up

  • I more or less managed to navigate some menus, but did not manage to play any file yet

  • Up to now, I did not manage to connect using my Showcenter 200 device



The whole server is incredibly sloooooooooooow...... BTW, I de-underclocked the slug....

Any idea what might be wrong?

Edit: I found following lines in the swisscenter Error log:

At system startup (this moring):

Code:

 [Wed Oct 18 08:49:05 2006] [infomod_unique_idusing ip addr 192.168.2.110 [Wed Oct 18 08:49:08 2006] [noticeDigestgenerating secret for digest authentication ... [Wed Oct 18 08:49:43 2006] [noticeDigestdone [Wed Oct 18 08:49:43 2006] [noticeLDAPBuilt with OpenLDAP LDAP SDK [Wed Oct 18 08:49:43 2006] [noticeLDAPSSL support unavailable [Wed Oct 18 08:49:43 2006] [infomod_unique_idusing ip addr 192.168.2.110 [Wed Oct 18 08:49:45 2006] [warnpid file /opt/var/apache2/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Wed Oct 18 08:49:45 2006] [noticeApache/2.0.54 (UnixDAV/2 PHP/5.1.6 configured -- resuming normal operations [Wed Oct 18 08:49:45 2006] [infoServer builtSep 28 2006 01:31:56 [Wed Oct 18 08:49:45 2006] [debugworker.c(1650): AcceptMutexsysvsem (default: sysvsem) [Wed Oct 18 08:49:45 2006] [debugutil_ldap.c(1666): Initialisation of global mutex /tmp/fileWwnCJk in child process 610 successful. eAcceleratorCould not lock! eAcceleratorCould not release lock! eAcceleratorCould not lock! eAcceleratorCould not lock!



When I tried to access the server at port 8000 (this afternoon):

Code:

  eAcceleratorCould not lock! eAcceleratorCould not lock! eAcceleratorCould not release lock! [Wed Oct 18 17:36:09 2006] [info] (32)Broken pipecore_output_filterwriting data to the network [Wed Oct 18 17:37:04 2006] [error] [client 192.168.2.101PHP Fatal error:  Maximum execution time of 90 seconds exceeded in /opt/share/www/swisscenter/base/image.php on line 53refererhttp://192.168.2.110:8000/ eAcceleratorCould not lock! eAcceleratorCould not release lock! eAcceleratorCould not release lock! eAcceleratorCould not lock! eAcceleratorCould not release lock!



And a whole bunch (hundreds of lines) of
Code:

  eAcceleratorCould not lock! eAcceleratorCould not release lock! eAcceleratorCould not release lock! eAcceleratorCould not lock! eAcceleratorCould not release lock!


in between....

So the issue is with this eAccelerator stuff... Any idea what's happening?
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2006/10/21 16:21 Hi Jiheffe,

Am having some of the same difficulties you are. Response is also VERY slow on my 266 mhz slug. (slug-ish!). Am using a thttp only setup to try and speed things up, no gain so far.

Also no MP3 play yet... maybe something w/ getid3.

looking for some utils to see what's eating all the cpu time. installed sysstat but need something like top.

my setup:
lvd-2010, NSLU2

Wizd performs much better on my setup , but misses weather, internet radio.

regards,
JohnnyCrash
  | | The administrator has disabled public write access.
Re:Showcenter on Linksys nslu2 - 2006/10/23 08:56 Now that SwissCenter supports HD as well as standard definition, all the images used are resized on the fly (although once resized they should be cached for future use). I assume ths puts the slug under extra laod because:

1 - The slug's CPU is very low power, and resizing images is pretty slow.
2 - Each image request is handled via PHP instead of just being retruned directly by the webserver.

Previous versions of SwissCenter (prior to 1.15) may be better suited to the slug, but of course you will be missing out on a few features. You can download previous versions from here
Player : Pinnacle Showcenter 200 (wired ethernet)
Server : HP MediaSmart EX470 NAS (Windows Home Server / Sempron CPU / 2Gb RAM / 2.0 Tb Storage).