Installing MuPiBox NG – step by step
From the DietPi image and the SD card through direct template downloads to the first MuPiBox start, including Wi-Fi, password and checks.
This guide starts with an empty microSD card and takes you to the first MuPiBox NG screen. No Linux knowledge is needed. Afterwards, First boot explains how to finish setting up the box and play the first audio play.
1. What you need
| Part | Recommendation |
|---|---|
| Raspberry Pi | 4 or 5 recommended; 3B/3B+ possible but slower |
| microSD card | at least 16 GB; more for larger audio play collections |
| Power supply | enough power for Pi, display and audio |
| Computer | PC or laptop with an SD card reader |
| Network | internet for the installation, preferably via LAN |
| Speakers | for the later test; the audio hardware must suit the Pi |
| Touch display | recommended for children; not required for a headless installation |
Optional: MuPiHAT, RFID, buttons and fan. Check the pin plan before connecting GPIO accessories.
Requirements: Raspberry Pi 3, 4 or 5 with 64-bit DietPi (ARM64), DietPi 10.7 or newer (a freshly downloaded image is recent enough; the installer refuses older versions) and at least 1 GB of free space. Classic installation files are not suitable for NG. A card with an existing system or media is completely erased when written.
Hardware not connected yet? Do the assembly first. See the shopping list for existing recommended products and referral links. All products are optional; check hardware compatibility before buying.
2. Choose your installation path
- New SD card: Path A – automatic installation.
- A fresh DietPi is already running: Path B – install over SSH.
Network: a LAN cable is the easiest start. For Wi-Fi you enter the credentials before switching on. Waveshare DSI displays have special templates; other displays use the standard template first.
Path A: writing DietPi to a new SD card
Step 1 – download and flash DietPi
- At DietPi, download the image for your Raspberry Pi model in the 64-bit variant (ARMv8), not 32-bit. The file ends in
.img.xz; you do not need to unpack it. - Install and start Raspberry Pi Imager on your computer.
- As the device, choose your Raspberry Pi model. Under operating system, choose Use custom at the very bottom and select the downloaded DietPi file. The exact labels depend on the Imager version.
- Insert the SD card into the card reader and choose exactly this drive as storage. All previous data on this drive is erased – check size and name so you do not accidentally pick another disk or a USB stick.
- If Imager asks about OS customisation, choose No. These options are for Raspberry Pi OS; with DietPi the template file from the next steps takes over this job.
- Let it write and verify. This takes a few minutes.
- Windows may then say "You need to format the disk" – always click "Cancel"! The Pi can read the other parts of the card, Windows cannot. Formatting would erase the system you just wrote.
- Unplug the card once and plug it back in. A readable drive now appears – the boot partition with files such as
dietpi.txtandconfig.txt. Open it.
Step 2 – choose the right MuPiBox template
The files are linked directly because the folder on the release server offers no browsable download list.
| Display | LAN cable | Wi-Fi |
|---|---|---|
| Standard / official Pi display / HDMI / no display | LAN template | Wi-Fi template |
| Waveshare 5 inch DSI, 800 × 480 | LAN 5" | Wi-Fi 5" |
| Waveshare 4.3 inch DSI, 800 × 480 | LAN 4.3" | Wi-Fi 4.3" |
Download exactly one template. Use it to replace the existing dietpi.txt file on the boot partition. The file name must then be exactly dietpi.txt. On Windows, enable View → Show → File name extensions in Explorer so you do not accidentally create dietpi.txt.txt.
A different display? Install every display without its own template with the standard template and set the display afterwards:
| Display | Template | After the first start |
|---|---|---|
| HDMI monitor, also with USB touch | Standard | nothing, detected automatically |
| Raspberry Pi Touch Display 7″ (1st generation) | Standard | usually nothing; if it stays dark, choose its profile |
| Raspberry Pi Touch Display 2 (5″, 7″, 10″) | Standard | choose the profile, restart |
| Waveshare DSI 7″ to 12.3″ | Standard | choose the profile, restart |
| EDATEC DSI 7″ or 10″ | Standard | choose the profile, restart |
| no display | Standard | nothing |
Until the profile is set, these DSI displays stay dark. Open the Admin interface on a PC or phone using the IP address from your router or the box's name (see First boot) and choose the profile under Hardware → Display, see Display & touch. So far only the Waveshare 5″ has been tested on a real MuPiBox; the other profiles use the drivers from the Raspberry Pi kernel.
Step 3 – important: change the SSH password
SSH is remote access to the Pi's command line. You do not need it for normal use, but it is active and therefore needs a secure password.
Open the newly saved dietpi.txt with a plain text editor: Notepad on Windows, TextEdit on a Mac (first choose Format → Make Plain Text). Word processors such as Word are not suitable. Find the line:
AUTO_SETUP_GLOBAL_PASSWORD=mupibox
Replace the example value with your own strong password – before the first start! The template enables DietPi's SSH service; the box should not run with the public example password. This DietPi/SSH password is not the later MuPiBox admin password, which is set separately after installation.
Step 4 – Wi-Fi only
- In dietpi.txt, set your actual country, for example AUTO_SETUP_NET_WIFI_COUNTRY_CODE=US or GB.
- On the boot partition, open the existing dietpi-wifi.txt. If it is missing, download the Wi-Fi example file and save it as dietpi-wifi.txt.
- Enter the first Wi-Fi connection (replace the example values with your data):
aWIFI_SSID[0]='MyWiFi'
aWIFI_KEY[0]='MyWiFiPassword'
aWIFI_KEYMGR[0]='WPA-PSK'
The single quotes are part of the format. Never put Wi-Fi passwords into support screenshots or public logs. With LAN you do not need this step.
Step 5 – wait for the first installation
- Safely eject the SD card and insert it into the switched-off Pi.
- Connect the display, speakers and, for the LAN variant, the network cable if present; then connect the power supply.
- DietPi runs its first-time setup (system update, network, time) and then downloads the MuPiBox installer. The installer fetches the current MuPiBox release, checks its signature and checksum, installs the required packages and sets up services and the interface.
- Several restarts and longer dark or text-only screen phases are normal. Do not cut the power early. How long it takes depends mostly on the internet connection and the SD card – allow enough time.
- When finished, the MuPiBox kids' interface appears on a connected, supported display.
For a headless installation the display is no indicator. Check the device in your router and the admin address instead. If the process does not continue, see Installation help.
Path B: installing on a running DietPi
Only for a fresh, compatible 64-bit DietPi with internet. Log in to the Pi via SSH and run the following commands:
server_date="$(curl -fsSI --max-time 5 http://releases.mupibox.de/ | sed -n 's/^[Dd]ate:[[:space:]]*//p' | tr -d '\r' | head -n1)"
[ -z "$server_date" ] || sudo date -u -s "$server_date" >/dev/null
sudo timedatectl set-ntp true >/dev/null 2>&1 || true
curl -fsSL https://releases.mupibox.de/installer/install.sh | sudo bash -s -- auto generic
The first three lines help a Pi without a real-time clock to get a valid system time for HTTPS. For a Waveshare display, replace generic with waveshare-5-dsi or waveshare-4.3-dsi.
auto picks the most mature published channel: Stable → Alpha → Test → Development. Testers can explicitly specify test or development. The installer checks the manifest signature and the checksum of the release package.
How do I know the box is ready?
- With a display connected, the kids' interface appears.
- Your router's device list usually shows a device with the host name mupibox.
- On a PC or phone in the same home network, the Admin interface opens at http://mupibox.local:8090/ or http://mupibox:8090/. If no name works, use http://<IP address>:8090/ (do not forget port 8090). Which form works when is explained in First boot.
- After the first installation there may be no admin password yet. Set one immediately under Security. The SSH password alone does not protect the Admin interface.
For network, display or startup problems see Installation help.
Next step: First boot – open the Admin interface, set a password, test the sound and play the first audio play.