Skip to content

software

Lukas Sigrist edited this page Mar 3, 2017 · 50 revisions

RocketLogger Software Installation Guide

  • Download the official Debian 7.11 (Wheezy) system image for the Beaglebone from the BeagleBone firmware website (scroll down to Older Debian images) and flash it onto an empty SD card.
  • Boot your system and login via ssh as root: ssh root@<device-address> (NOTE: for security reasons, this will login will be deactivated by the setup script)
  • Install and update system components as explained in the project's README. To install the packages needed for a standard installation (base installation + web interface) use the following command:
apt-get install ntp gcc libncurses5-dev libi2c-dev clang linux-headers-$(uname -r) lighttpd php5-cgi unzip
  • Clone this repository on the RocketLogger or copy the 'software' folder to it
  • Change to the subfolder software/debian/
  • Run the setup script ./setup_beaglebone.sh
  • Confirm to reboot at the end of the installation script or reboot the system manually with reboot

After this initial system setup you will only be able to login as user rocketlogger using the an default ssh key. The required settings are

  • SSH port: 2322
  • SSH private key: can be downloaded here, the passphrase to unlock it is available here.

We highly recommend that you generate you own ssh key and replace the standard key (both files in the /home/rocketlogger/.ssh/ folder)!

See for example at SSH Help at Gitlab.

Device Tree Overlay

  • Change to the subfolder software/device_tree_overlay
  • Compile and install device tree overlay: make and sudo make install

RocketLogger Binary

  • Change to the subfolder software/rocketlogger
  • Build and install software: make and sudo make install
  • Reboot to apply all changes
  • Do a calibration run (see Calibration Guide).

Webserver/Control Interface

This component is optional, but highly recommended for convenient device control.

  • Change to the subfolder software/webserver
  • Run ./setup_web.sh
  • Create password file htpasswd -c /home/rocketlogger/.htpasswd "username"
Clone this wiki locally