• Explore Vox
  • Culture
  • Entertainment
  • Life
  • Music
  • News & Politics
  • Technology
  • Join Vox
  • Take a Tour
  • Already a Member? Sign in
besen

Blog de besen

  • besen’s Blog
  • Profile
  • Neighbors
  • Photos
  • More 
    • Audio
    • Videos
    • Books
    • Links
    • Collections

Installing Slimserver on the NSLU2...

  • Jun 21, 2007
  • Post a comment

Installer Slimserver 6.5.1 sur un NSLU2

Ce guide est une traduction partielle de http://www.openfsg.com/forum/viewtopic.php?p=14920#14920 . Tout les crédits vont donc à "bpa of openfsg.com".

Téléchargement des sources

Vous pouvez trouver les sources de Slimserver 6.5.1 à l'adresse ci-dessous:
http://homepage.eircom.net/~altondsl/slim/ss65_6.5.1-1_armeb.ipk

Pour le télécharger sur le NSLU2, vous pouvez utiliser wget ou curl.

Installation

L'installation va placer les fichier aux emplacements suivant - De ce fait si vous utilisez déjà ces emplacements, veuillez déplacer les fichiers qui sont déjà dedans.

 /home/slimserver
/opt/share/ss65

1) Login as root, and make sure your PATH is correct:

 # export PATH=$PATH:/opt/libexec:/opt/bin

2) Add the slimserver group and user by editing /etc/passwd and /etc/group. Create the /home/slimserver folder.

3) Install the perl, expat and mysql packages. The slimserver ipkg will request them but it is better to do manually in case there are problems, you'll know where to look.

 # ipkg update; ipkg install perl expat mysql perl-compress-zlib

4) Create the /home/slimserver folder, and add the slimserver group (edit /etc/group) and slimserver user (edit /etc/passwd).

5) Change current directory to where the ss65_6.5.1-1_armeb.ipk has been saved.

6) install the Slimserserver package with the command

 # ipkg install ss65_6.5.1-1_armeb.ipk 

Change the first line in /opt/share/ss65/slimserver.pl from "#!/usr/bin/perl -w" to "#!/opt/bin/perl -w", and fix some permissions:

# chmod a=rw /opt/share/ss65/Slim/Utils
# chmod -R a=rwx /opt/share/ss65

7) Edit /opt/share/ss65/MySQL/my.tt, add a "#" in front of "innodb_fast_shutdown = 1"

8) If it install goes OK, try the command

 # slimserver

The response should be

 Usage: /opt/bin/slimserver {start|stop|status|enable|disable|firewall|wanenable|wandisable|info} 

9) If it works. then try

 # slimserver info 

10) To start slimserver used the command below - it will take a couple of minutes before your see a "Slimserver Started message"

 # slimserver start 

11) To see progress through log file you can do

 # tail /home/slimserver/slimserver.log

The following is a normal start - the last line about port 9000 indicate web interface is ready.

 # tail /home/slimserver/slimserver.log

http://nslu2:9000/
2007-01-22 20:39:37.8519 Attempt to free unreferenced scalar: SV 0x1bc6b4c.
2007-01-22 20:40:51.0064 Use of uninitialized value in join or string at /opt/lib/perl5/5.8.8/File/Spec/Unix.pm line 81.
2007-01-22 20:42:07.4538 Your data source needs to be configured. Please open your web browser,
2007-01-22 20:42:07.4763 go to the following URL, and click on the "Server Settings" link.

2007-01-22 20:42:07.4785 The URL to access SlimServer is now:

http://nslu2:9000/

12) By default slimserver will not start as part of boot - if you want this then add an executable script as /opt/etc/init.d/S85slimserver:

 #!/bin/sh
/opt/bin/slimserver start

There is an issue with this build - there seems to be too many mysql processes started. bpa of openfsg.com is looking into it.

Issues

  • It seems like the mysql server gets kicked off twice: once when it is installed and then again when slimserver starts up.
  • You shouldn't bother to install this on anything but a TurboSlug?. Even turbo, scanning the whole music library took half an hour.
Post a comment Tags: nslu, slimserver

La SqueezBox OK... Le SlimServer: je sais pas encore...

  • Sep 29, 2006
  • Post a comment
1
1

Avant-hier j'ai reçu mon nouveau joujou: une SqueezeBox du constructeur SlimDevices (commande chez Domadoo, service irréprochable et prix imbattable, soit dit en passant).

La configuration est nickel et l'objet est vraiment bien pensé. Après l'ouverture d'un compte chez SqueezeNetwork et la configuration WIFI (clé WPA2 compliqué à saisir car très longue en saisie SMS), tout est ok et près à l'utilisation pour les webradios et le réveil matin :) En gros installation en 30 minutes environ sans lire la notice et cablage HiFi inclus.

Là où tout se complique dans mon cas, c'est l'installation de SlimServer sur mon portable sous XP Familial SP2... L'installation se déroule à merveille, mais impossible de le démarrer: il reste en "Starting...". J'ai réussi à le démarrer correctement une fois, mais les interfaces Web ne répondaient plus dés le deuxième clic :(

J'ai donc laissé un message sur leur forum en français pour le moment. Je vous tiendrai au courant des péripéties à venir, sachant que ce week-end je devrait installer SlimServer sur le LinkSys NSLU2.

Post a comment Tags: squeezebox, slimdevices

Gestion des packages Debian

  • Sep 28, 2006
  • Post a comment

 Gestion des packages
$> apt-get update

Mets à jour tous les packages à la dernière version
$> apt-get -u upgrade

Install Package Debian
$> apt-get install NOM_PACKAGE

Voir un Package Debian
$> apt-cache show NOM_PACKAGE

Module PHP
$> apt-cache search php4 | less

Liste modules
$> dpkg -l

Gestion des packages
$> dselect

Désinstaller un package
$> apt-get remove --purge mon_package

Efface du disque les packages téléchargés pour être installés
$> apt-get clean

Reconfigurer un package
$> dpkg-reconfigure nom_package

Exporter la liste des paquetages installés
$> dpkg --get-selections > mes_paquetages

Installer liste de paquetages
$> dpkg --set-selections < mes_paquetages

Post a comment Tags: linux, debian
besen

About Me

besen
France
View my profile

Neighborhood

Explore friends, family, friends & family, or entire neighborhood.

View my neighbors

Tags

  • debian
  • linux
  • nslu
  • slimdevices
  • slimserver
  • squeezebox
  • squeezebox3

View my tags

Archives

  • June 2007 (1)
  • September 2006 (2)
  • 2007 (1)
  • 2006 (2)

Subscribe

  • Subscribe to a feed of these posts
  • Powered by Vox
  • Theme designed by Keri Maijala
  • Use this theme

Photos

  • 1
  • Arton216

View more of my photos

  • Home
  • Explore
  • Tour Vox
  • Start a Vox Blog
Already a member? Sign in

Back to top

View Vox in your language: English | Español | Français | 日本語

Brought to you by Six Apart, creators of Movable Type, Vox and TypePad.
Six Apart Services: Blogs | Free Blogs | Content Management | Advertising

Vox © 2003-2008 Six Apart, Ltd. All Rights Reserved.
Help | Learn More | Terms of Service | Privacy Policy | Copyright | Advertise | Get a Free Vox Blog

Loading…

Adding this item will make it viewable to everyone who has access to the group.

Adding this post, and any items in it, will make it viewable to everyone who has access to the group.

Create a link to a person
Search all of Vox
Your Neighborhood
People on Vox

(Select up to five users maximum)

Vox Login

You've been logged out, please sign in to Vox with your email and password to complete this action.

Email:
Password:
 
Embed a Widget
Widget Title: This is optional
Widget Code: Insert outside code here to share media, slideshows, etc. Get more info
OK Cancel

We allow most HTML/CSS, <object> and <embed> code

Processing...
Processing
Message
Confirm
Error
Remove this member