Showcenter on Linksys nslu2 - 2005/03/09 11:09I 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 .
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.
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.
rwhitby
User
Posts: 1
Re:Showcenter on Linksys nslu2 - 2005/04/29 18:03So, 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.
bART
User
Posts: 10
Re:Showcenter on Linksys nslu2 - 2005/05/07 22:10I 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.
MrT
User
Posts: 11
Re:Showcenter on Linksys nslu2 - 2005/05/12 19:38I 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.
markfish
User
Posts: 1
Re:Showcenter on Linksys nslu2 - 2005/08/05 00:39Got 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.
bART
User
Posts: 10
Re:Showcenter on Linksys nslu2 - 2005/08/05 10:30Great! Please tell us how...
| | The administrator has disabled public write access.
admin
Admin
Posts: 1568
Re:Showcenter on Linksys nslu2 - 2005/08/05 11:55Yes - 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.
Rudi70
Visitor
Re:Showcenter on Linksys nslu2 - 2005/08/10 22:01Hi !
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.
admin
Admin
Posts: 1568
Re:Showcenter on Linksys nslu2 - 2005/08/11 15:52find 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.
Rudi70
User
Posts: 5
Re:Showcenter on Linksys nslu2 - 2005/08/11 16:32Thank 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.
admin
Admin
Posts: 1568
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.
bART
User
Posts: 10
Re:Showcenter on Linksys nslu2 - 2005/08/11 17:11I 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.
Rudi70
User
Posts: 5
Re:Showcenter on Linksys nslu2 - 2005/08/11 17:59Hi 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.
bART
User
Posts: 10
Re:Showcenter on Linksys nslu2 - 2005/08/11 18:03Hi 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.
bART
User
Posts: 10
Re:Showcenter on Linksys nslu2 - 2005/08/11 21:31I 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.
Rudi70
Visitor
Re:Showcenter on Linksys nslu2 - 2005/08/11 23:27Hi 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.
markfish
Visitor
Re:Showcenter on Linksys nslu2 - 2005/08/13 01:19Sorry 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 {=< )...
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.
| | The administrator has disabled public write access.
bART
User
Posts: 10
Re:Showcenter on Linksys nslu2 - 2005/08/14 12:57I had to manually populate the database with media_search.php. I still have a problem though, the playlist that is generated looks like:
| | The administrator has disabled public write access.
Rudi70
User
Posts: 5
Re:Showcenter on Linksys nslu2 - 2005/08/15 11:28Hi, 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.
bART
User
Posts: 10
Re:Showcenter on Linksys nslu2 - 2005/08/16 00:06Just 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.
Rudi70
User
Posts: 5
Re:Showcenter on Linksys nslu2 - 2005/08/16 09:52Hi 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.
bART
User
Posts: 10
Re:Showcenter on Linksys nslu2 - 2005/08/16 17:11I have started filling the Wiki on the NSLU2 site. Please feel free to edit it!
| | The administrator has disabled public write access.
bionico
User
Posts: 5
Re:Showcenter on Linksys nslu2 - 2005/08/19 15:14markfish 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.
| | The administrator has disabled public write access.
vgerwen
User
Posts: 8
Re:Showcenter on Linksys nslu2 - 2005/09/27 12:19Hi
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.
Lonebaggie
User
Posts: 24
Re:Showcenter on Linksys nslu2 - 2006/01/12 17:56HI 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.
mambok
User
Posts: 67
Re:Showcenter on Linksys nslu2 - 2006/01/23 17:27Is this bART from Groningen?
ArieUbuntu 5.10/Pinnacle ShowCenter
| | The administrator has disabled public write access.
pfh
Visitor
Re:Showcenter on Linksys nslu2 - 2006/02/01 19:58Hi 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.
RastaFaI
User
Posts: 1
Re:Showcenter on Linksys nslu2 - 2006/02/02 09:54Hi, 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.
Fodder
User
Posts: 1
Re:Showcenter on Linksys nslu2 - 2006/02/02 09:59Hi 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.
Celtic90
User
Posts: 1
Re:Showcenter on Linksys nslu2 - 2006/05/31 17:34I 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.
admin
Admin
Posts: 1568
Re:Showcenter on Linksys nslu2 - 2006/06/01 04:36I think the instructions in the wiki were written for an earlier release. Try downloading and using this version of SwissCenter:
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.
bionico
User
Posts: 5
Re:Showcenter on Linksys nslu2 - 2006/09/14 18:37
| | The administrator has disabled public write access.
bionico
User
Posts: 5
Re:Showcenter on Linksys nslu2 - 2006/09/14 18:37pfh 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.
JohnnyCrash
User
Posts: 2
Re:Showcenter on Linksys nslu2 - 2006/10/06 11:20Hi 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.
Jiheffe
User
Posts: 3
Re:Showcenter on Linksys nslu2 - 2006/10/18 11:10I 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] [info] mod_unique_id: using ip addr 192.168.2.110
[Wed Oct 18 08:49:08 2006] [notice] Digest: generating secret for digest authentication ...
[Wed Oct 18 08:49:43 2006] [notice] Digest: done
[Wed Oct 18 08:49:43 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Wed Oct 18 08:49:43 2006] [notice] LDAP: SSL support unavailable
[Wed Oct 18 08:49:43 2006] [info] mod_unique_id: using ip addr 192.168.2.110
[Wed Oct 18 08:49:45 2006] [warn] pid file /opt/var/apache2/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Oct 18 08:49:45 2006] [notice] Apache/2.0.54 (Unix) DAV/2 PHP/5.1.6 configured -- resuming normal operations
[Wed Oct 18 08:49:45 2006] [info] Server built: Sep 28 2006 01:31:56
[Wed Oct 18 08:49:45 2006] [debug] worker.c(1650): AcceptMutex: sysvsem (default: sysvsem)
[Wed Oct 18 08:49:45 2006] [debug] util_ldap.c(1666): Initialisation of global mutex /tmp/fileWwnCJk in child process 610 successful.
eAccelerator: Could not lock!
eAccelerator: Could not release lock!
eAccelerator: Could not lock!
eAccelerator: Could not lock!
When I tried to access the server at port 8000 (this afternoon):
Code:
eAccelerator: Could not lock!
eAccelerator: Could not lock!
eAccelerator: Could not release lock!
[Wed Oct 18 17:36:09 2006] [info] (32)Broken pipe: core_output_filter: writing data to the network
[Wed Oct 18 17:37:04 2006] [error] [client 192.168.2.101] PHP Fatal error: Maximum execution time of 90 seconds exceeded in /opt/share/www/swisscenter/base/image.php on line 53, referer: http://192.168.2.110:8000/
eAccelerator: Could not lock!
eAccelerator: Could not release lock!
eAccelerator: Could not release lock!
eAccelerator: Could not lock!
eAccelerator: Could not release lock!
And a whole bunch (hundreds of lines) of
Code:
eAccelerator: Could not lock!
eAccelerator: Could not release lock!
eAccelerator: Could not release lock!
eAccelerator: Could not lock!
eAccelerator: Could 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.
JohnnyCrash
User
Posts: 2
Re:Showcenter on Linksys nslu2 - 2006/10/21 16:21Hi 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.
admin
Admin
Posts: 1568
Re:Showcenter on Linksys nslu2 - 2006/10/23 08:56Now 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).