My Raspian image with squeezelite
Here is the image that I use to run my Rpi as a squeezebox using squeezelite. Please note that LMS must be running on another computer on the same network.
You will need at least a 4gb SD card (I recommend class 10 or higher) an ethernet cable, another computer, a wireless dongle, mini-jack to rca plug wire, and a two free programs, called Putty and Win32DiskImager. I am assuming that you are using a windows machine for this tutorial.
When fully installed you will have a Raspberry Pi with the following programs and settings:
- Raspian OS
- Squeezelite outputting from the mini-jack. Don't worry it is easy to change to a usb DAC
- Wifi
- overclocking to 900Mhz
- +2V overvolting
- wavemon - a little program to monitor your wifi strength via the putty terminal
INSTRUCTIONS:
Using your windows computer:
Download Win32DiskImager from here:
win32diskimager/
Download Putty from here:
putty
Download raspian_SL_AK.img from here:
RPi image
Burn the raspian_SL_AK.img to the SD card using Win32DiskImager using your windows computer
Insert the SD card in to the Rpi.
Plug ethernet cable into RPi and your router.
Plug monitor into HDMI port on Rpi (optional)
Boot Rpi.
Find IP address of Rpi (three ways)
1) If you used a monitor, the IP address is at the bottom of the screen
2) Click the network button on the start menu look for “squeezelite”
3) open LMS and see if there is “squeezelite” listed in the drop down menu in the upper right hand corner. If there is, click the settings icon on the bottom right of the screen. Click the information tab and look for squeezelite
Open Putty
Type in the Rpi's IP Address
A terminal window will open and a screen may pop up asking about a key, just accept it.
Login is “pi”
Password is “raspberry”
If you want wireless:
(BTW, I am using the Ralink RT5370 Wireless adapter which I bought for $5 on that auction site)
type in
sudo nano /etc/network/interfaces
enter your wireless ssid on the third line from the bottom (keep the quotes)
enter your wireless password on the second line from the bottom (keep the quotes)
control + x
enter “y” to save
press enter to save to the same file we opened
you should now be back at the putty screen with the pi awaiting your next command
If you want to change the name of your squeezelite player do the following:
type in
sudo nano /etc/init.d/squeezelite
On line 30 which starts with SL_NAME, between the qoute marks, erase Squeezelite and put in the name you want to use. Make sure you keep the qoute marks.
Control + x
enter “y” to save
press enter to save to the same file name we opened
unplug the ethernet cord
unplug the pi
plug in the wireless dongle
plug in the pi
the pi may now have a different ip address because of the new mac address of the wifi dongle. Find out what it is (see above).
Open putty and type in ip address
relogin: pi, raspberry
type in
alsamixer
set the volume of the with the up arrow to between 90 and 100%
press escape
plug in mini-jack to pi and rca jacks to cd or aux in receiver or preamp
use LMS to play music
To use usb DAC, it has to be connected to RPi
type in
cd /usr/bin
type in
sudo squeezelite-armv6hf -l
Look for your DAC and write it down
To make the usb DAC start from bootup change the squeezelite file:
type in
sudo nano /etc/init.d/squeezelite
on line 34 which starts with SL_SOUNDCARD, change to the sound card you got by following the above command.
to see the wireless signal strength:
type in
wavemon in the putty terminal
I hope you can all follow this and find it useful.