Squeezebox tips

I did not found anything about Squeezebox…
It will work, but of cource no settings via the GUI.
Follow this instruction:

  • Enable SSH via the web gui… (needs a reboot afterwords)

  • ssh -l root (use putty e.g. if you are running Win) Default root password is musicbox

  • mkdir bin
    
  • cd bin
    
  • wget http://squeezelite-downloads.googlecode.com/git/squeezelite-armv6
    
  • chmod 755 squeezelite-armv6
    
  • nano /etc/init.d/squeezelite
    This will open a texteditor.

  • Paste this into it:

    #!/bin/sh

    BEGIN INIT INFO

    Provides: squeezelite

    Required-Start: $network

    Required-Stop: $network

    Should-Start: alsa-utils pulseaudio

    Default-Start: 2 3 4 5

    Default-Stop: 0 1 6

    Short-Description: Squeezelite music server

    END INIT INFO

    squeezeNAME=cat /etc/hostname
    case “$1” in
    start)
    echo "Starting script squeezelite "
    /root/bin/squeezelite-armv6 -n $squeezeNAME -a 160 &
    ;;
    stop)
    echo "Stopping script squeezelite"
    pkill squeezelite-armv6
    ;;
    *)
    echo "Usage: /etc/init.d/squeezelite {start|stop}"
    exit 1
    ;;
    esac

    exit 0

  • Save with ctrl-X (ansver Y if you want to save, enter when asked for the filename)
    OK… back at the prompt, change the file to be executable:

  • chmod 755 /etc/init.d/squeezelite
    To autostart

  • update-rc.d squeezelite defaults
    Restart by typing reboot at the prompt or do it with the gui.
    Done.