This is the second part of the four part SqueezePi series. Here I will be guiding you through the configuration of the project's heart, the RaspberryPi.
Once ArchLinux is installed, on the Pi's SD card, as the operating system, all configurations will be done over SSH. The goal will be to have the RaspberryPi on power up, boot quickly, connect to the WiFi network, and start SqueezeLite with USB audio output enabled.
The instructions in this post could easily be adapted for other projects where you are trying to setup a headless wireless device. Just nix the audio and SqueezeLite sections and substitute your desired application to autostart.
The setup below is for the Edimax EW-7811UN under ArchLinux. Plug the WiFi adapter into one of the free USB ports.
Symbolic link to kernel source (note directory changes with linux kernel updates).
The setup below is for the Edimax EW-7811UN under ArchLinux.
You can now disconnect the ethernet cable. When you restart, the RaspberryPi will autoconnect to the configured WiFi network.
This will sound much better and is what I used. A cmedia usb sound card should just work without any additional drivers. I used the Syba SD-CM-UAUD USB Stereo Audio Adapter. Plug in the USB Stereo adapter to the remaining USB port.
Change alsa to USB sound card.
ExecStart=/usr/bin/squeezelite-armv6hf -o "front:CARDevice,DEV=0" -n "squeezePi"
Now that everything is configured, I would highly recommend making a backup of your SD card. You can do that fairly quickly by using the Win32 Disk Imager that you used to write ArchLinux to the SD card. You just need to specify where you want to save the image and click Read instead of Write.
OK, so now that you have you RaspberryPi configured and backed up, you can put it to the side until we are ready to install it during the fourth installment of the SqueezePi Series.
2 Responses to "SqueezePi (Part 2 – RaspberryPi)"
Great article! Looking forward to parts 3 and 4!