CRoCS wiki will be undergoing maintenance on Tuesday 3rd August from 17:00 to 20:00. The site might not be available for short periods of time.

Raspberry Pi

OS?

  • NOOBS
  • Raspbian
  • Probabbly any other Linux with ARM support

Provide enough power (undervoltage causes instability).

Connect HDMI - if applicable (no cable present at boot will by default disable video output).

Connect peripheals?

edit/create in /boot

  • enable ssh? - create empty file “ssh”)
  • preconfigure Wi-Fi? file wpa_supplicant.conf

Example:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=CZ

network={
    ssid="YOURSSID"
    psk="YOURPASSWORD"
    scan_ssid=1
}
  • System configuration “config” file
    • force HDMI out
    • many other system options

User: pi Password: raspberry

  • Change default password?
  • Connect to internet?
  • apt update & upgrade
  • raspi-config

Python recomended, any language should be feasible though. Many libraries available (as usual with python https://xkcd.com/353/)

example of /etc/network/interfaces

auto wlan0
iface wlan0 inet static
    address {{ wlan_ip }}
    netmask 255.255.255.0
    wireless-channel 48
    wireless-essid crocs-raspi-net
    wireless-txpower 1
    wireless-mode ad-hoc