Skip to content

Setting up the server

Alex Cordonnier edited this page Sep 1, 2016 · 1 revision

Although other setups may be possible, this article will describe how to set up a Raspberry Pi 2 Model B as the server/base station. It assumes the hardware has already been built.

  1. First, install Raspbian Lite and load it onto the SD card. As of Feb. 2016, the current version is Jessie.

  2. Boot into Raspbian and login as pi (default password: raspberry). This can be done with a monitor and keyboard setup or headless via SSH if you prefer.

  3. Run sudo raspi-config and configure the following options:

    • Change user password to something other than "raspberry"
    • Expand the filesystem to fill the SD card
    • Under "Advanced Options", enable SPI
    • If desired, under "Advanced Options", change the hostname
  4. Run sudo reboot

  5. If it's not already, connect the Pi to the internet.

  6. Install the RF24 library as described here. Say "Y" to all the options.

  7. Run the following:

     sudo apt-get update
     sudo apt-get upgrade
     sudo apt-get install libssl-dev ntpdate
     cd ~
     git clone https://github.com/SIGMusic/tonal-lightfield.git
     cd tonal-starfield
     git checkout rf
     cd src/manager
     mkdir bin
    
  8. Run make -j 4 and wait for the project to compile without errors.

  9. Run sudo bin/manager to start the server.

Clone this wiki locally