These steps are based upon the work of Thomas Ruhl and Jeff Doozan. They deserve the credit for this work. I have only simplified the installation steps from those put together by Thomas on the Squeezeplug wiki site http://wiki.slimdevices.com/index.php/SqueezePlug.
*** If you are using a Pogoplug be aware that some models of Pogoplug WILL NOT WORK with this! ***
I am using a Pogoplug Pink model POGO-E02. You can find the model number on the base of the Pogoplug. Some newer models including some of the “Pink” models may not work and you risk bricking your device.
Step 1. Things you will need:
- A USB Flash drive for the operating system. I used a 4Gb Sandisk Cruzer drive.
- An external USB hard drive for storing your music files. As big as you need!
- A copy of the latest Squeezeplug Dockstar image from Thomas Ruhl’s website (squeezeplug.de)
- A copy of USB Image Tool from here (www.alexpage.de)
- Putty which is a program that allows you to run a command line console on the Pogoplug from your PC. You can get it here. (note that you only need Putty.exe; not the additional programs)
Step 2. Setup your music hard drive.
Format your external hard drive (NTFS or FAT32 is fine), setup a partition and copy your music files onto it. You can use sub-directories on it if you wish because the Squeezebox Server will scan those too.
Step 3. Copy the Debian image onto your USB Flash drive.
- Do a virus scan on the Squeezeplug Debian image file and then run it (it is a self-extracting .exe file)
- Extract the USB Image Tool. Plug your USB Flash drive into your PC and run the USB Image Tool.exe file. You should see your USB drive in the main window like this:
- Now select the Options tab and check all of the boxes.
- Ensure that the USB Image Tool is set to “Device Mode” (see the upper left corner of the window).
- Now click the “Restore” button. You will be prompted to select the Debian image file that you extracted earlier. The restore process took about 15 minutes for me.
Step 4. Load a new bootloader onto the Pogoplug.
The bootloader is responsible for getting the operating system started on the Pogoplug. Basically it runs after power is turned on and “loads” the main operating system. We need to change the standard bootloader so that we can use our USB Flash drive. I’m going to assume that you have already registered your device on the Pogoplug service.
- Plugin and power up your Pogoplug. Connect it to your local router.
- Login to the Pogoplug service website my.pogoplug.com. Enable the “Use full security sessions” setting in the “Security Settings” page. This enables us to use SSH (secure shell) as our communications medium with the Pogoplug.
- Determine the IP address of your Pogoplug. You can find this from your router, usually in the DHCP settings page or a status page.
- Start the Putty application and enter the Pogoplug IP address in the “Host name (or IP address)” field. Ensure that SSH is selected. Click on the “Open” button. You should get a new window with a login prompt. Login with the username “root” and password “ceadmin”. Note that these will only work with a Pogoplug. Other devices will have different usernames and/or passwords. I believe that the login for a Dockstar is “root” and “stxadmin”.
- Now enter the following commands (note that Linux commands are case sensitive!):
chmod +x install_uboot_mtd0.sh
Respond to the prompts and the new bootloader will be installed.
- Power down your Pogoplug: enter the following command:
- Wait about 60 seconds and then unplug the power. You can close the Putty window now. Plug your USB Flash drive into one of the USB ports on the Pogoplug and then plug the power back in.
- After a minute or so the Pogoplug should be restarted. It may have a new IP address so go and check that; the device name in your router’s DHCP client list will be “squeezeplug”. Start the Putty application again and enter the new IP address and open the connection.
- Login with the username “root” and password “nosoup4u”. You will see some introductory messages. Note that the date and time will be wrong. You now have a basic Debian operating system running on your Pogoplug!
Step 5. Configure the system to run Squeezebox Server.
- Plug your external hard drive (the one with your music files) into a USB port on the Pogoplug.
- Enter the following command in your Putty console window:
You will see something like this:
- Note the Device listing tables, these show your hard drives, including the USB Flash drive. The first two (SDA1 and SDA2) are the operating system partitions on your USB Flash Drive. The final listing (sdb1) is my external hard drive that holds my music files. Note down the device name (/dev/sdb1 in my case).
- Enter the following command in your Putty console window:
You will see the following window:
The instructions are fairly self-explanatory here. The operating system already has basic networking setup so you don’t really need to do anything with that.
- Select the “Library” configuration option then select the type of drive you are using (it is likely a USB drive). The configuration script should detect your external USB drive. Check that the device name is the same as you recorded earlier and proceed.
- After the configuration has finished go ahead and let the Pogoplug reboot (this is an option in the script).
- Log back into the system again using Putty and run the “setup” command again. This time select the “Install” option. This will install the Squeezebox Server application onto your device. You can install the default version for now and update it later.
- If you want to install the newest stable version you need to find the nightly builds. You don’t need to download anything here but you do need to copy the link address of the version that you want to use. I would use the latest stable build (7.5.3 at time of writing this) Go to that page and copy the link address for the “squeezeboxserver_7.5.3_all.deb” file. It’s at the bottom of the list. When prompted in the install script you can paste that link into the script.
You may see some errors while the install script runs, don’t worry too much about these because the script has some built in correction. You will see errors relating to missing MySQL files if you use the default version. The script will install these. When prompted you can enter a MySQL password if you wish. The complete install will take several minutes.
- Startup your web browser and type in the following address:
This should start the Squeezebox Server configuration. Follow the prompts. Note when asked to provide the location of your music files, they should be in the “/music” directory. The server will now scan all of your music files to build a new database.
Congratulations! You have now completed the basic setup of your Pogoplug (or other device) as a Squeezebox Server. In the next post we will do further configuration of the operating system to enable extra functionality.