Raspberry Pi, Squeezeplug setup

RaspberryPiI’m writing these instructions, mainly for a reminder for myself as I add more raspberry pi’s to my home audio setup.

1. Use SDformatter to format my sd card (set options to “on”)

2. Place card in Raspberry pi and hook up to a wired connection, then attach power cable (use a 2 amp power supply, or you will run into difficulties booting into the pi via wifi)

3. go to http://max2play/ and edit settings (change name if you wish). ¬†Turn off airplay and don’t autostart. ¬†Turn on squeezelite and autostart. ¬†Under squeezelite advanced options, select Use USB-DAC.

4. Install squeezbox server, if this will be the server, otherwise, leave it uninstalled.

5, Go to wifi settings and enter the SSID and password and check “load wifi interface”.

6. While connected via ethernet cable, reboot.

7. To fix a boot error (this may not be necessary as bugs are fixed in the future), open up SSH (I like putty) and enter in the server hostname (the name you changed in 3).  Root login is root:max2play, or your can use pi:raspberry.  Then do this:


cd /etc/udev/rules.d/

mv 70-persistent-net.rules 70-persistent-net.rulesOLD

8. Enter this code:

sudo nano /etc/modprobe.d/alsa-base.conf

Change this line from this:

options snd-usb-audio index=-2

to this:

#options snd-usb-audio index=-2

The purpose for step 8 is to make the USB DAC the default device, but if there is no USB DAC, then it will default to the headphones or HDMI (HDMI if one is present).

9. Setup Wifi:

sudo apt-get update

sudo apt-get upgrade

Then, edit this file:

sudo nano /etc/network/interfaces

And add these lines if not already there (should already be there):

allow-hotplug wlan0

auto wlan0

iface wlan0 inet dhcp

pre-up wpa_supplicant -B w -D wext -i wlan0 -c /opt/max2play/wpa_supplicant.conf

post-down killall -q wpa_supplicant

Sometimes, the above settings don’t work, so forcing the network settings can be done with this supplicant.conf file:

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

and add these lines:





10. Bring up wifi

sudo ifup wlan0

11. Reboot with ethernet cable still plugged in

12. Disconnect cable, verify that wireless is working

13. reboot

14 verify that wireless is still working (I can’t figure out why, but the pi gives errors when loading after settings changed if not connected via ethernet cable)

15. shutdown, and move pi to intended location in the home, then bring it up again.


Music Subscription

About ten years ago I started using Internet radio, yahoo was my first. I loved it, but I wanted more. Pandora came out, and it was a no name project with the intent to categories your music tastes. That was pretty awesome, too. Unfortunately, you needed a computer to play music.

My father bought me a creative zen, so I wanted to use its massive storage space, I found rhapsody, a service owned by real networks that allowed me to sync my music to my zen via Windows media player. This was heaven!

Fast forward a couple of years and Apple releases the iPhone. Seems like an awesome device, but I was still hooked on my treo and had no intention of switching.

The iPhone proved to be a game changer, and rhapsody answered the call. They released the first music streaming service on the iPhone, and I jumped ship. The initial app wasn’t all that great, you couldn’t download the music, so you had to stream it. Edge was the fastest I could get, so it was touchy. Shortly thereafter, they allowed downloads.

Over the ensuing years, multiple streaming services have come to play and what was once a fringe service is now mainstream.

Services I’ve paid for:

Google play

Services I’ve tried:

Amazon Music

My current service:


Tastes of Brasil, Hot Dog that you MUST try

Cachorro Quente PaulistaNow that all eyes are on Brazil, I think it would be fun to write some posts about “must haves” while visiting. ¬†Post 1 is about the Brazilian Hot Dog, or “Cachorro Quente”. ¬†You’ve never eaten a hot dog quite like it. ¬†One dog can fill you up for the whole day! ¬†I think the best dog is the “Cachorro Quente Paulista”, which has some extra special toppings not seen elsewhere.

First, you start with a HUGE bun, then add the dog, then, you add corn. Add a little bit of vinagrette.  You may add peas, if you like, or maybe even an egg.  Chopped up bacon is next.  Then, and this is the Paulista version, add mashed potatoes!  If you are lucky enough to have access to catupiry, then smother that on liberally.  Ketchup and Mustard (maybe even mayonnaise), then top it off with shoestring potatoes (batata palhas).

What you have is one of my favorite meals that doesn’t include rice or beans!

Kids and Sprinklers

I was putting my 3 year-old to bed tonight and I noticed that he was soaked. ¬†You see, he had run out to play in the sprinklers after getting ready for bed. ¬†Now, my first instinct is frustration; he knows that he shouldn’t be running around after he is ready for bed. ¬†My second thought was, “wow, what fun he must have just had”. ¬†The third thought was, “wow, I left the sprinklers on”.

You see, I accidentally cut the timer wire to the sprinklers a while back when planting bushes. ¬†I’ve yet to find the break, so for two zones of sprinklers I’m manually turning them on at the manifold. ¬†This evening I turned them on and thought, “I should set an alarm to remind me to turn these off”. ¬†I failed to heed my warning, and, two hours later the lawn is¬†very wet. ¬†Big thanks to my son who played in the sprinklers and prevented them from running all night and into the next day tomorrow!

Drupal to WordPress

I’ve always wanted to stick with a cms that was chock full of features, so I used Drupal. However, I’m no longer able to manage the domain like I used to, so I need something that allows automatic updates to the core, thus the change to WordPress.

I hope to use this to help others learn about house call medicine in Cedar City, Utah.