MuPiBox Documentation MuPiBox NG

System – status, boot analysis and tuning

Watch MuPiBox live values, analyse the boot and tune swap, waiting for the network, CPU profile, SD card clock and initial turbo deliberately.

Use System & Maintenance → Status for live values. System & Maintenance → Performance contains tuning and the expandable boot analysis.

System

Live system status

CPU usage, RAM, storage and CPU temperature as a history, updated every 3 seconds. The time span can be chosen; data is only collected while the status tab is open.

Boot analysis

Shows how long the last start took and how much time each service needed. Useful before you change the tuning options below.

System tuning

OptionEffectRecommendation
Swapswap space on the SD card. Off means fewer writes; when memory runs short, programs are ended earlier.usually off for a pure audio box
Wait for network at bootoff speeds up a start without network; online content loads once the network is there.off
CPU profile"Performance" reacts faster but uses more power and gets warmer.balanced; power saving on battery
SD card clockoverclocks the microSD interface and can speed up booting and loading noticeably.only with good cards, see warning
Initial turbohighest CPU clock for n seconds at boot (DietPi recommends 20 s, 0 = off).20 s

Good to know

  • With a MuPiHAT on battery, "Performance" and initial turbo cost noticeable runtime.
  • In standby the CPU switches to power saving regardless of the profile and back afterwards.

Browser terminal (Advanced mode)

Under Settings > System & maintenance > Browser terminal, an authenticated administrator can start a real interactive PTY shell when Advanced mode is enabled. It runs as the unprivileged Linux user mupibox, not root. The browser connects to the box using its own WebSocket endpoint; there is no separate SSH daemon, DietPi Dashboard or hosted backend.

An Admin password and an authenticated Admin session are mandatory. The embedded shell requires explicit confirmation; the dedicated shell tab starts automatically after verifying an existing Admin login. Only one session may run per box, and it closes on navigation away, after 10 minutes without input, or after 30 minutes in total. There is no saved command history.

Security: The shell has the MuPiBox service user's file permissions and can modify box data. HTTP may be used on a trusted home network, but it is unencrypted; other network participants may intercept the Admin session and shell commands. HTTPS protects the connection. Enabling Advanced mode is not a substitute for authentication.

CPU & boot performance: The former “Initial Turbo” setting is under Settings > System & maintenance > CPU & boot performance. Presets of 0, 20, 30, and 60 seconds request maximum CPU frequency during boot. CPU profile, swap, network wait and SD overclock settings remain available. Boot turbo changes require a reboot.

Boot order: The Raspberry Pi EEPROM boot order is under Settings > System & maintenance > Restart & power, only shown in Advanced mode on supported devices. CPU boot boost remains under CPU & boot performance.

PuTTY-like shell tab: Open in new tab opens a black, full-window console without Admin controls. It connects automatically after verifying the existing Admin login, resizes with the browser, and supports a blinking block cursor, ANSI colors, scrollback, Ctrl+Shift+C (copy selection), Ctrl+Shift+Plus/Minus (font size) and Ctrl+Shift+0 (reset font size). Ctrl+Shift+V requires browser clipboard permission and may not work on plain HTTP.

PuTTY-style mouse controls: Drag to select text using the left mouse button. Releasing the mouse copies the selection (subject to browser permissions). On HTTPS, right-click pastes the system clipboard directly through xterm. On plain HTTP, browser security typically blocks clipboard reads: right-click shows a small paste field where Ctrl+V or the browser native Paste menu still works. Ctrl+Shift+C also copies the current terminal selection. Applications that enable mouse reporting (for example vim or tmux) may require Shift+drag to select.

Text selection inside htop: MuPiBox suppresses mouse-reporting requests from full-screen terminal applications, so left-dragging selects and copies text in htop, vim and similar tools. Those applications remain keyboard-controlled. The embedded terminal also has a Maximize button and Esc to restore its size.

Terminal diagnostics: Ctrl+Alt+Y in the standalone shell briefly shows the running Admin build, the actual terminal columns/rows, font size and font load status. Standalone assets have content-hashed URLs to avoid stale browser code. Default font sizes are 13 px standalone and 14 px embedded.

wterm — lightweight alternative browser terminal

System & Maintenance → Terminal → Open in new tab opens the new DOM-based wterm renderer. The prior shell remains linked as Previous terminal. Both share the same authenticated Go PTY connection and run as mupibox; only one session per box can be open. No additional daemon, port or Node.js runtime is required on the Raspberry Pi. The new client loads on demand.

Select text with the left mouse button and copy on mouse release, even in full-screen programs such as htop. Right click attempts paste; on insecure HTTP the browser's clipboard restrictions require the provided paste field. Full-screen programs remain keyboard-controlled.

Open source: wterm 0.5.5, Apache-2.0. See LICENSES/wterm-apache-2.0.txt and THIRD_PARTY_NOTICES.md.

The wterm view uses the Ghostty VT core for full-screen applications and cursor positioning. The WASM module only loads in the browser on demand.

Terminal embedded in the Admin interface

In Expert Mode, System & Maintenance → Terminal → Open terminal opens the same proven wterm/Ghostty shell inside the Admin view. No second Admin document or Raspberry Pi service is loaded. The browser terminal starts on demand; disconnect, navigation away, logout or leaving Expert Mode disposes the shell and its authenticated PTY connection.

Maximize expands to the browser viewport, and Restore remains available in the top-right corner. The terminal uses IBM Plex Mono by default. Native selection, automatic copy, right-click paste, and the HTTP paste fallback behave exactly as in the separate tab. The legacy xterm shell remains a standalone fallback, but is no longer loaded into the regular Admin page.

Terminal colors: The wterm/Ghostty shell uses a coordinated, high-contrast 16-color ANSI palette in the VT engine and browser renderer. Applications such as htop, ls --color and grep --color receive distinct colors, without changing Raspberry Pi settings or shell commands. htop's own color scheme can still be adjusted with F2.

© 2026 MuPiBox