GLORYSmart Safe Client

Raspberry Pi from scratch

Write Raspberry Pi OS Lite to the microSD card with Raspberry Pi Imager, with the user, the network and SSH ready for the Smart Safe Client.

This page prepares a Raspberry Pi 4 or later with Raspberry Pi OS Lite (64-bit): the system without a desktop, only the minimum, with SSH access so you can work from your laptop. The Smart Safe Client installer later adds the minimal graphical part that kiosk mode needs.

First time with Linux?

The words with a link are explained in the Linux glossary

1. Install Raspberry Pi Imager

On your Windows computer, download Raspberry Pi Imager from raspberrypi.com/software and install it. Connect the microSD card with a card reader.

The card is erased

Writing it erases everything on the card. Use one of 16 GB or more (class 10), with nothing important on it.

This page follows Raspberry Pi Imager 2.0 or newer. The Imager appears in the language of Windows: the names and the pictures on this page are the ones it shows in English.

On the left, Setup steps shows which step you are on. To move forward, tap Next; to go back to the previous step, Back.

2. Choose the device

Open Raspberry Pi Imager. In Device, tap your Raspberry Pi model (for example Raspberry Pi 4 or Raspberry Pi 5) and tap Next.

Raspberry Pi Imager, Device step: the list of models, with Raspberry Pi 5 selected

3. Choose the operating system

In OS, scroll down the list and tap Raspberry Pi OS (other).

Raspberry Pi Imager, OS step: the Raspberry Pi OS (other) option selected

Tap Raspberry Pi OS Lite (64-bit) and then Next.

Raspberry Pi Imager: Raspberry Pi OS Lite (64-bit), “A port of Debian Trixie with no desktop environment”, selected

It must be the version based on Debian Trixie

The description of Raspberry Pi OS Lite (64-bit) says which Debian version it is based on: it must say Trixie (Debian 13). With a version based on Bookworm, the Smart Safe Client does not work. Do not choose the Full version: it comes with a desktop and programs that the Smart Safe Client does not use.

4. Choose the card

In Storage, tap the microSD card (in the picture, a 4 GB USB drive: the card appears the same way, with its size). Leave Exclude system drives checked: that way your computer's disk does not appear in the list and cannot be erased by mistake. Tap Next.

Raspberry Pi Imager, Storage step: the 4 GB USB drive in the list and Exclude system drives checked

Not showing up? Unplug the card reader and plug it back in. If it still does not appear, try another USB port.

5. Customize the system

The Imager lets you configure the Raspberry Pi before writing the card: that way you do not need to connect a keyboard or a monitor to it for that. There are six screens, one at a time. Fill them all in and do not tap Skip customisation: without this, the Raspberry Pi has neither the user nor SSH access.

Hostname. Type rpi-ss2 and tap Next.

Raspberry Pi Imager, customization: hostname rpi-ss2

Localisation. In Capital city, choose the capital of the customer's country (in the picture, Brasília). The Time zone and the Keyboard layout fill in by themselves: check that the time zone is the country's, for example America/Panama or America/Santo_Domingo, and that the keyboard is the one that will be used (latam for a Latin American keyboard, es for one from Spain). Tap Next.

Raspberry Pi Imager, customization: Localisation with the capital city, the time zone and the keyboard

User. In Username, type glory. In Password and Confirm password, type the standard password of the technical team. Tap Next.

Raspberry Pi Imager, customization: user glory with the password hidden

Wi-Fi. It is optional: fill it in only if the Raspberry Pi will not have a network cable. Leave Secure network, type the exact network name in SSID (upper and lower case included) and the network password in Password and Confirm password. If the network does not appear in the list of networks on cell phones, check Hidden SSID. With a cable, leave everything empty. Tap Next.

Raspberry Pi Imager, customization: Wi-Fi with Secure network, the network name and the password hidden

Remote access. This one is required: turn on Enable SSH and leave Use password authentication selected. Without SSH you cannot work on the Raspberry Pi from your laptop (Remote access over SSH explains how it is used). Tap Next.

Raspberry Pi Imager, customization: Enable SSH turned on, with password authentication

Raspberry Pi Connect. Leave it turned off and tap Next. GLORY support uses its own remote access, RustDesk, which is installed later from the Smart Safe Client (see Remote access)

6. Write the card

In Write image, check the summary: the Device, the Operating system (Raspberry Pi OS Lite (64-bit)) and the Storage. Under Customisations to apply you must see the hostname, the localization, the user account and SSH (and Wi-Fi, if you filled it in).

Raspberry Pi Imager, Write image step: the summary with the device, the system, the storage and the customizations

Tap Write. The Imager warns You are about to ERASE all data on the card: tap I understand, erase and write. If Windows asks for permission, tap Yes.

Wait: first it writes and then it verifies (Verifying…). It takes a few minutes. Do not remove the card in the meantime.

When Write completed successfully! appears, remove the card.

7. Turn on the Raspberry Pi

Put the card in the Raspberry Pi. Connect the monitor (HDMI) before you turn the Raspberry Pi on: if you connect the monitor later, the picture may stay at a low resolution. Also connect the network cable and, if you want, a keyboard.

Connect the Raspberry Pi's official power supply. The first boot takes a little longer: the Raspberry Pi prepares the card.

A black screen with text appears: it is the terminal, with no desktop. This is normal. Where it says rpi-ss2 login:, type glory, Enter, the standard password and Enter.

Without a keyboard: connect from your laptop over SSH with ssh glory@ and the Raspberry Pi's address. The address appears in the list of connected devices on the customer's router, or on the Raspberry Pi's screen with hostname -I.

8. Check the computer

Run these commands one at a time. If any of them fails, fix it before you go on.

To checkCommandWhat must appear
The networkip aAn inet line with an address, for example inet 192.168.0.51/24. See ip
Internetping -c 3 1.1.1.13 received. See ping
Remote accesssystemctl status sshactive (running). Press q to go back. See systemctl
The date and timedateThe local date and time. See date

Then test the GLORY server (if curl is already installed, the first command just says so):

sudo apt update && sudo apt install -y curl
curl -fsS https://api.smartsafe2.com/health

A response that starts with {"success":true,"data":{"status":"ok" must appear. See curl

Do not use ping with the GLORY server

The api.smartsafe2.com server does not answer ping, even when it works fine. To test it, always use the curl command above.

If the time is wrong, fix it before you install and activate the license: if the clock later goes back more than 5 minutes, the license warns “System time manipulation detected”. Set the country's time zone and automatic time (see timedatectl):

sudo timedatectl set-timezone America/Panama
sudo timedatectl set-ntp true

Language

The Smart Safe Client starts in the language of the Raspberry Pi. If it ended up in English, change it with the flags on the Smart Safe Client's activation screen, or on the Raspberry Pi with sudo raspi-config › Localisation Options › Locale (see raspi-config)

Next step

The Raspberry Pi is ready. On the Raspberry Pi, the Smart Safe Client installer also sets the screen to 1920 × 1080, if the monitor supports it. Continue with 3. Install on Linux

On this page