Skip to content

Raspberry Pi Setup

Daniel Høier Øhrgaard edited this page Mar 12, 2018 · 1 revision

Overview

The following details how to setup a Raspberry Pi 3 model B for use in Klogskabet's modules.

Necessary equipment

You’ll need:

  1. A Raspberry Pi + power supply
  2. A micro-SD card (min. 8GB)
  3. An SD-card reader
  4. An HDMI monitor + HDMI cable
  5. A USB keyboard

Installing the OS

  1. Grab Raspbian Stretch Lite from raspberrypi.org
  2. Follow the installation guide to create a bootable SD card with Raspbian on it.
  3. Insert the SD card into the Raspberry Pi
  4. Connect the Raspberry Pi to the monitor
  5. Connect the Raspberry Pi’s power supply (it’ll turn on automatically)

Let the Raspberry Pi boot. Before long you should see the login prompt. The default username is pi and the default password is raspberry.

Initial setup

Once logged in, do some configuration of the Raspberry Pi:

  1. Type sudo raspi-config and press enter.
  2. Use the arrow keys and enter to select and set/change the following options:
  3. The password (Important! The default password is the same for all Raspberry Pis ever, so it’s not exactly secret. Choose and set a custom password.)
  4. The internationalization/locale options (like timezone and keyboard layout)
  5. WiFi connection (if necessary - an alternative method for setting it up is provided below)
  6. Under Advanced, enable SSH so you can access the Pi over the local network (alternative method for enabling SSH is provided below)
  7. Pick "Finish" when you’re done, and you’ll be back to the terminal prompt.

You can check whether the Pi is online over WiFi by typing ifconfig, pressing enter, and looking for an IP address by the wlan0 interface.

General setup

Enabling SSH (without using raspi-config)

If you’d like to access the Pi over SSH, you can set up the SSH server to start automatically, by typing sudo touch /boot/ssh and pressing enter.

After this, you should be able to access the Pi over your local network using ssh pi@<IP address of the Pi>.

WiFi setup (without using raspi-config)

Follow these instructions

Module-specific setup

To set up the Raspberry Pi for use as an audio module, see the readme for the audio module software.

To use as a receipt printer module, see the readme for the receipt module software.