Skip to content
Carl Karsten edited this page Oct 8, 2021 · 1 revision

There are 2 types of boxes:

  1. server - linux box, specs hardly matter - it could be a pi, or it could be an x86, or even a VM.
  2. nodes - Raspberry Pi 3 or 4

Server

hostname pib dhcp/tftp/nfs server 2 nics:

  • upstream internet (pubic ish IP)
  • private rpi lan PoE

dnsmasq.conf

  • mac:IP,hostname,boot file

users: admin - tim, carl -sudo privs on pib pici - runs automated tests guest - ssh's into pi - sudo privs?

pib/home/admin - pub key put on all pi's/root so admin can scp (like camera image jpg)

Nodes

pi boots dhcp:

  • IP,
  • hostname:
  • boot file dhcp-boot=tag:bios,tag:noipxe,boot/grub/i386-pc/core.0

tftp kernel + rootfs

read only os stuff nfs mount pib/pi3/root /

rw os stuff: nfs or local (sd or usb) local seems easier/quicker to wipe: (overlay / nfs mount pib/rw/$hostname /

pi startup script: snap picture, save to local fs raspistill -o image.jpg

Clone this wiki locally