Hardware Reference
In-Depth Information
After you edit the basic settings, you can boot Pi MusicBox. You can edit many more
settings, but it's good to try booting with the basic ones first, check to see that it's all
working, then come back later to add the rest.
Note that the Pi MusicBox requires a network connection to operate. It will not start
without one. If you use a wired network, all you have to do is plug the network cable in
the Pi and it will be configured using DHCP. If you want to use a static address, you
need to get into the console and configure it yourself (see “Getting Your Hands
Dirty” on page 243 ).
Connecting through WiFi using a dongle is also supported. If you connect a supported
WiFi dongle to your Pi, the MusicBox software should be able to detect and use it
instead of a cable connection. Most dongles are supported, but not all. If you buy one,
make sure it's supported by Raspbian, the Linux distribution on which MusicBox is
based.
To make WiFi work, you have to fill in the network name (SSID) and your password in
the config file. Add these lines to the basic configuration shown previously, or edit the
default file supplied with MusicBox:
WIFI_NETWORK = 'mywifinetwork'
WIFI_PASSWORD = 'mypassword'
Substitute mywifinetwork and mypassword with the correct values of your own network.
For now, the WiFi on Pi MusicBox supports only WPA(2) encrypted networks config-
ured via DHCP. As with a wired network, if you want to use a static address, WEP
encryption, or no encryption, you need to get into the console and configure it yourself
(see “Getting Your Hands Dirty” on page 243 ).
Playing Music
Once you've booted the Pi MusicBox, if you have a monitor attached, you will see a
message that says:
Now the output of Mopidy (the musicserver) appears. Nothing to worry about
(it's shown for if something's wrong), you can log in if you want (the out
put of Mopidy could continue).
Below that you'll see some information about your MusicBox setup, such as the active
connections. You can start typing a login name (there's no prompt), but you don't
need to. Pi MusicBox is designed to be operated not from the Pi itself, but from another
computer, such as a laptop, desktop, tablet, or smartphone. You can use almost any
device with a modern web browser (Chrome 14+, Safari 6+, Firefox 11+, or Internet
Explorer 10+) to operate it.
Point your browser to the Pi at http://musicbox.local . Most OS X/iOS and Windows
devices will find it immediately. If it doesn't work, you could try to install Apple Bonjour
Search WWH ::




Custom Search