-
Notifications
You must be signed in to change notification settings - Fork 0
Setting up the server
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.
-
First, install Raspbian Lite and load it onto the SD card. As of Feb. 2016, the current version is Jessie.
-
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.
-
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
-
Run
sudo reboot
-
If it's not already, connect the Pi to the internet.
-
Install the RF24 library as described here. Say "Y" to all the options.
-
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
-
Run
make -j 4
and wait for the project to compile without errors. -
Run
sudo bin/manager
to start the server.