One command on the box, then log in
As of version 1.0, the IRL4YOU BOX is no longer a beta. You install it on the BELABOX with a single command. This guide walks you through every step, tells you what you will see along the way, and what to do if something does not work.
You do not need any Linux experience. All you have to be able to do is paste a command into a terminal.
1. What you need
- A BELABOX with the BELABOX image. The Orange Pi 5 Plus and the Radxa ROCK 5B+ are tested. How to put the image on the card is covered in the guide Setting up the BELABOX.
- Internet on the box. The installation downloads any missing packages.
- A terminal on the box. The easiest way is SSH from your computer. A keyboard and screen connected directly to the box work too.
- A BELABOX password. The BOX interface uses the same password as the BELABOX. If your box does not have one yet, you set it in step 1.
2. The video
The video (in German) shows the installation from start to finish, just as it is described here. The terminal output in it is the real output of an installation, with the address and progress bars shortened. The BELABOX interface is redrawn schematically, and the labels can differ depending on the version. All screens show example data.
The video still has the word “Beta” in its title and description. Since version 1.0, the command on this page is the one that applies. If anything in the video differs from it, this page is correct.
Chapters in the video (video in German)
3. Set the BELABOX password
The BOX interface logs you in with the password of the BELABOX. There is no separate setup code.
- In your browser, open the BELABOX interface:
http://<address of the box>/. You can find the box's address, for example, in the device list of your router. - If the box already has a password, you are done here. Go to step 2.
- If it does not have one yet, for example after the first start of a fresh image, set one now. Remember it. You will need it again in a moment.
4. Turn on SSH and connect
You enter the installation command on the box, not on your computer. To do that, you connect to the box over SSH.
- Turn on SSH: The BELABOX interface has a section called “Advanced / developer”. There you start the SSH server (“Start SSH server”). “Show” displays the SSH password, and “Reset” creates a new one. The user name is
user. The labels can differ slightly depending on your BELABOX version. - Open a terminal on your computer: On Windows, use PuTTY. On Mac and Linux, use the “Terminal” app.
- Connect: Enter
ssh user@IP-OF-THE-BOXand replaceIP-OF-THE-BOXwith the address of your box. Then enter the SSH password.
With a keyboard and screen connected directly to the box, you do not need SSH. You just type the command in the terminal there.
5. Run the installation command
Copy this one command, paste it into the terminal on the box, and press Enter:
cd /tmp && rm -rf irl4you-pip-main irl4you-pip.tar.gz && wget -q -O irl4you-pip.tar.gz https://github.com/IRL4YOU/irl4you-pip/archive/refs/heads/main.tar.gz && tar xzf irl4you-pip.tar.gz && cd irl4you-pip-main && sudo sh install/setup.shHere is what the command does, from left to right:
cd /tmp && rm -rf irl4you-pip-main irl4you-pip.tar.gz: switches to the/tmpfolder and clears out leftovers from an earlier attempt.wget -q -O irl4you-pip.tar.gz https://github.com/…/main.tar.gz: downloads the package from GitHub.tar xzf irl4you-pip.tar.gz && cd irl4you-pip-main: unpacks it and switches to the unpacked folder.sudo sh install/setup.sh: starts the installation.
First, the installation updates the base system of the box. Depending on its state, that can take a long time and often brings a new kernel. After that, it installs the IRL4YOU BOX.
Variants
- Without the system update: use
sudo sh install/setup.sh --ohne-systemupdateinstead of the last part. - Classic, without the helper script and with full output: download and unpack the package as above, then run
sudo sh install/install.sh. This does not do a system update and does not show a progress bar.
main branch.6. What you will see
- Step 1 of 2: base system. You only see a progress bar. The script does the same thing as the update function of the BELABOX (
apt-get update, thendist-upgrade). The package list appears later in the log. - Step 2 of 2: installation. One line per step: checking packages, creating the user and data, copying programs, the picture-in-picture component, building the SRTLA sender and encoder, starting the services. The building takes a few minutes.
- Result. At the end, you see “Alles fehlerfrei installiert.” (German for “installed without errors”) in green, and a link to the interface. If there are notes, they appear there.
sudo reboot. After that, it takes about a minute until the interface is back.The log: Everything that was printed during the installation is saved in ~/install-ausgabe.txt. You can read it with cat ~/install-ausgabe.txt. Harmless lines from Ubuntu packages, for example “rehash: warning: skipping ca-certificates.crt”, appear only there.
If the installation of the Bluetooth library bleak, which the DJI service needs, does not work, the installation stops with a message before anything has been changed.
7. Open the interface and log in
- In your browser, open
http://<address of the box>:8780(or the link that the installation shows at the end). The important part is the ending:8780. - Log in with the BELABOX password. If you tick Stay logged in, you stay logged in for 30 days, even across updates.
- The first time you open it, you choose the language. There are 14 languages. Apart from German, they are machine translated and have not been checked by native speakers.
If no password is set yet, the page tells you that you first have to set one in the BELABOX interface. The login then appears on its own.
The interface only accepts requests from private networks, from the box itself, and over Tailscale. Public addresses are rejected. After 5 failed login attempts, you are locked out.
8. What comes next?
The BOX is running now. You take the next steps in the interface. The guides in the project walk you through the individual areas (they are in German):
- Connecting cameras: RTMP, DJI, HDMI, and USB, plus GoPro
- Sending: SRTLA, sending paths, building the picture, live and preview
- Twitch chat, moderation, and battery warning
- Operation and maintenance: update, backup, logs, reporting bugs
- Remote access over Tailscale
- Hardware: Bluetooth and Wi-Fi stick, Wi-Fi of the cameras
For sending, you need a server that bonds the paths back together. The SRTLA server with Docker and the SRTLA relay server both work for that.
9. Updates, backup, and the way back
Software update of the BOX
A yellow dot in the header bar (labeled as an interface update) shows that a newer version is available. Cameras, servers, and settings are kept during the update.
- End any running broadcast. The update is locked while a broadcast is running.
- Open the Software update (IRL4YOU BOX) card and click Check for updates.
- Click Install update and confirm. The interface restarts briefly during this, for about half a minute. After that, the page reloads on its own.
The current version is backed up first, and the last 5 versions stay backed up. If an update does not work, the update helper restores the previous version automatically. Under “Switch to a specific version”, you can go back to an earlier version if needed. You do not need to run the installation command again for that.
System updates of the BELABOX
The System updates (BELABOX) card installs real system updates, including kernels. Use it only when no broadcast is running and the power supply is stable. A restart is usually needed afterward, and you should check the cameras again. There is no automatic rollback here.
Back up settings
This helps, for example, when you write the image to the memory card again. In the Back up settings card, you download a file. If it contains passwords, it is always encrypted (AES-256). The password for the file is not stored anywhere, so remember it well. Not included are the interface password, SSH, keys, the Twitch token, Tailscale, and the Bluetooth pairing of the DJI cameras. After restoring, you pair the DJI cameras again, log in to Twitch again, and reconnect Tailscale.
The way back
You can remove the BOX again: in the folder irl4you-pip-main, run the command sudo sh install/install.sh uninstall. This removes the services and programs. State, backups, logs, and the user pipbox stay behind. If the folder is gone, download the package again with the first three parts of the command from step 3.
10. If something does not work
| Problem | What you can do |
|---|---|
| The page on port 8780 does not open | Check the box's address and :8780. You have to be on a private network (or use Tailscale), because public addresses are rejected. |
| Login does not work | The BELABOX password applies. After 5 failed attempts, you are locked out. If the page says a password has to be set first, set it in the BELABOX interface. |
| The installation stops or shows notes | Read the message and look at ~/install-ausgabe.txt. Often the box has no internet. Check the internet connection and run the command from step 3 again, because it can be repeated. Attach the file when you report the problem. |
| After the restart, the page is gone | Wait about a minute, then reload. |
| The software update will not start | Is a broadcast running right now? Then it is locked. End it. If it says the update helper is not installed, run the installation command from step 3 again. |
| An update fails | The update helper restores the previous version automatically. After the page reloads, the message appears in the card. Download the log and report it. |
| A new version causes problems | In the software update card, switch to an earlier version. |
| The box shuts off by itself | Check the power supply. Turn on the log level “Detailed” so that traces remain after a failure, and report the log. |
| The SSH password is unknown | In the BOX interface under “Developer”, click Show password or Reset password. |
| The page cannot be reached on a guest Wi-Fi network | Is “Block over guest Wi-Fi networks” turned on? Then it only works over Tailscale, Ethernet, your own hotspot, or USB. |
Report a problem: The easiest way is in the BOX interface under Options → Report a problem / make a request. The box prepares the form on GitHub. Before you pass the log on, download it in the Logs card and skim through it. You can also ask questions on Discord.
11. Security in brief
- Trust the repository. During updates, code from the repository runs as root on your box.
- Guest Wi-Fi networks: On the network that the box sends over, the interface is unencrypted (HTTP). Anyone there can read along. Use it there only over Tailscale (HTTPS), or turn on “Block over guest Wi-Fi networks”.
- From out and about: Use Tailscale instead of a public share. The “Funnel” button makes the interface public on the internet, protected only by the BELABOX password. Turn it on only if you really want that.
- Credentials (BELABOX password, stream ID, Wi-Fi details) are stored only on the box, with restricted permissions.
- SSH: turn it on only when you need it.
12. Common questions
Do I need a new image or do I have to reflash the card?
No. The BOX runs on a normal BELABOX image. You only run the command from step 3. For the Orange Pi 5 Plus there was a ready-made image with version 0.9.161. Version 1.0.0 did not add a new one, so new installations use the one-command way.
Does the BOX change anything on the BELABOX?
Only a single setting of the BELABOX RTMP server, with a backup and a way back. Otherwise the BOX does not touch any BELABOX files, so BELABOX updates keep working.
Can I run the command again?
Yes. The command can be repeated. That helps, for example, if the box had no internet the first time.
Do I have to do the system update?
No. You can skip it with sudo sh install/setup.sh --ohne-systemupdate. Without this option, the installation first updates the base system. That can bring a new kernel and then ask for a restart.
Which hardware does this work on?
The Orange Pi 5 Plus and the Radxa ROCK 5B+ with the BELABOX image are tested. The installation is not tested on other hardware.
What does the BOX cost?
Nothing. The BOX is free and open source (MIT license). Exceptions to the licenses are listed in the project on GitHub, for example the srtla/ folder under AGPL-3.0.
Where do I report a bug or ask for a feature?
The easiest way is in the interface under “Options → Report a problem / make a request”. The box prepares the form on GitHub, and you need a free GitHub account for it. Questions and ideas are also welcome on Discord.
More about the BOX
- IRL4YOU BOX: features, test status, and tested hardware
- IRL4YOU BOX 1.0 is here: what is new
- Setting up the BELABOX: the basis for everything else
- GitHub with source code and guides, questions and ideas on Discord
Independent add-on project: The IRL4YOU BOX is not a product of BELABOX, Radxa, or DJI.