**This is an old revision of the document!**
Fusion 2018 - tallycoms
At Fusion 2018 we ran a two camera setup for recording only. With the flight cases for room 1 and room 2 came two tallycoms whose config differed from their label and whose config was inconsistent.
Status
device | ipv4 | /etc/issue | config |
---|---|---|---|
tallycom2-1 | 10.73.2.15/16 | Raspbian GNU/Linux 9 | partially ansibilised, please redo completely for next event |
tallycom3-2 | 10.73.2.17/16 (should be 10.73.3.16/16) | Raspbian GNU/Linux 8 | partially ansibilised, please redo completely for next event |
Getting voctolight on both tallycoms to (manually) work took unnecessarily much time. It boils down to being new to the matter, wrong labels, wrong config and different behavior after correcting the config, due to different base OS versions (https://www.raspberrypi.org/forums/viewtopic.php?t=187225).
Step for step rebuild
Below is written from scratch, so that someone who brings their (linux) laptop and never worked with the VOC before, has a good starting point. This section can be moved to a separate page in true wiki fashion.
1. Flash latest Raspberry lite
- Ensure that you have access to this wiki. If you haven't, you can't read this. :brainexplosion: - Download + unzip the latest Raspbian lite - https://downloads.raspberrypi.org/raspbian_latest (at the time of writing April 2018)
WARNING: 350 MB - A lot in case of shitty/shared uplink… <code> user@laptop$ cd ~/Downloads user@laptop$ wget http://director.downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2018-04-19/2018-04-18-raspbian-stretch-lite.zip </code> - Unpack and write the Raspbian image to a microSD card (replace /dev/sdX with the correct device name)
More details here: https://www.raspberrypi.org/documentation/installation/installing-images/linux.md <code> user@laptop$ cd ~/Downloads user@laptop$ unzip -p 2018-04-18-raspbian-stretch-lite.zip | sudo dd of=/dev/sdX bs=4M conv=fsync </code>== 2. Setup ansible + VOC cm repo == - Install ansible and git <code> user@laptop$ sudo {dnf,yum,apt-get} install ansible git </code> - Clone the VOC cm repo <code> user@laptop$ mkdir -p ~/Documents/voc/ user@laptop$ cd ~/Documents/voc/ user@laptop$ git clone https://github.com/voc/cm.git </code>
== 3. Final ansible run == - Run on multiple tallycoms - WARNING: placeholder only <code> user@laptop$ cd ~/Documents/voc/cm/ user@laptop$ ./ansible-playbook-keepass -u voc –ask-pass –become –become-method=sudo –ask-become-pass \ -i event -t tally \ -l 10.73.1.15,10.73.1.16,10.73.2.15,10.73.2.16,10.73.3.16,10.73.4.15,10.73.4.16 \ -t tally \ tally-pis.yml </code>
=== Sources/Hints === * tallycom - Base info about the raspberry pi 3 based tallycoms. * Ansible - Base explanation of the VOC ansible repo. * 34C4 Tally - Use the tally-pis branch from https://github.com/voc/cm, might need some work and should probably be merged into the master branch eventually. * https://www.raspberrypi.org/documentation/installation/installing-images/linux.md