Hardware: Raspberry Pi 3 Model B v1.2
Software: Raspbian Jessie Lite (2016-05-27)
Host OS: macOS Sierra
-
Download Raspbian Lite: https://www.raspberrypi.org/downloads/raspbian/
-
Install it to the SD card: https://www.raspberrypi.org/documentation/installation/installing-images/mac.md
-
Insert SD card in Raspberry Pi, hook up Ethernet, and boot.
The SSH user is pi and the password is raspberry
- Connect to the Wi-Fi network
$ wpa_cli
> add_network
0
> set_network 0 ssid "********"
OK
> set_network 0 psk "********"
OK
> enable_network 0
OK
<3>CTRL-EVENT-SCAN-STARTED
<3>CTRL-EVENT-SCAN-RESULTS
<3>WPS-AP-AVAILABLE
<3>Trying to associate with SSID '********'
<3>Associated with **:**:**:**:**:**
<3>WPA: Key negotiation completed with **:**:**:**:**:** [PTK=CCMP GTK=CCMP]
<3>CTRL-EVENT-CONNECTED - Connection to **:**:**:**:**:** completed [id=0 id_str=]
> save_config
OK
-
Change the hostname: sudo sed -i -e 's/raspberrypi/musicbox/' /etc/hosts /etc/hostname
-
Reboot the device
-
Add
audio_pwm_mode=2
to /boot/config.txt to enable the higher quality audio driver (per this) -
Run
speaker-test -c 2
to test that audio output is working
-
Install Mopidy per https://docs.mopidy.com/en/latest/installation/debian/
-
Configure Mopidy to run as a service: sudo systemctl enable mopidy
-
apt-get install gstreamer1.0-plugins-bad && easy_install pip && /usr/local/bin/pip install mopidy-moped