Raspberry Pi as a Repatriation Device

The Raspberry Pi is a small computer that also acts as a wifi transmitter, with no internet connection. We use it to provide files from the PARADISEC collection, but it can be used by anyone who wants to make digital material available via wifi in a small area, for people on mobile devices, like phones.

Setting up a Raspberry Pi as a repatriation device

Hardware Requirements

  • A raspberry Pi 3 model B+
  • Power supply
  • Case
  • 16 GB MicroSD Card (Class 10) – Raspberry Pi Foundation Sourced MicroSD Card with NOOBS
  • HDMI Cable
  • A USB disk to hold the data

Typically you would purchase this in a kit like this one. Note that the USB disk is purchased separately.

One Time Operating System Setup

Following assembly of the device connect a monitor using the HDMI cable and a USB keyboard and mouse. You will also need to connect the device to the network using an Ethernet cable. Following this, plug in the power cord and watch the boot sequence; you will need to press and hold the shift key (there will be a message on screen telling you this) to get in to the installation sequence. The installation menu looks like:

Select Raspbian Lite, deselect Raspbian (RECOMMENDED) then press the Install button at the top and follow the prompts. (These devices are not very powerful so we install a lighter version of the operating system which consumes less resources thereby making the device more responsive.)

One Time Device Configuration

After reinstalling the operating system and rebooting the device, the device IP address will be displayed a few lines above the login prompt. Make a note of that.

Log in to the device as the user pi and with the password raspberry then enter the command sudo systemctl start ssh.

At this point, you can SSH to the device (ssh -A pi@{IP ADDRESS FROM ABOVE}) from your normal machine or continue working locally. Either way, the next step is to configure the device as a WIFI access point with the following commands:

You can also run the following commands by typing them directly on the pi after logging in as described above.

  • sudo bash -c 'echo "nameserver 1.1.1.1" > /etc/resolv.conf'
  • curl --silent --output /tmp/setup-pi.sh https://language-archives.services/downloads/setup-pi.sh
  • sudo bash /tmp/setup-pi.sh
  • Loading data

    At this point you can fire up the data loader and load some data onto the USB disk. See the data loader documentation for more information.