Hardware Setup
Bill of Materials¶
Following is the recommended hardware list for the full Whitebox setup. Direct links to the products are provided for convenience, we do not endorse any specific sellers.
1. Compute & Storage¶
- Single Board Computer (SBC)
- Orange Pi 5 Plus
- MicroSD Card – 64GB or larger (V30, A2 rated or better)
2. Connectivity & Networking¶
- M.2 Wi-Fi Card
- Ethernet Cable – for connecting to router with internet access when setting up
- USB Wi-Fi Adapter
- Dual-band (2.4GHz + 5GHz)
- Plug-and-play Linux compatibility
- Preferably Intel chipset
- A few examples:
3. Radio & GPS Modules¶
- Software Defined Radio (SDR) Modules (x2)
- Nooelec RTL-SDR v5 (local resellers per country are listed on the page)
- GPS/GNSS Module
- Antennas (x3)
- Frequency range: 600 MHz – 1700 MHz
- SMA connector
- Minimum 2 dBi gain
- A few examples:
4. Power & Cabling¶
- Portable Power Bank – compact, sufficient to power Orange Pi with minimum 20W output.
- USB Power Cable – USB-A → USB-C or USB-C → USB-C (for powering Orange Pi from a power bank).
- USB Extension Cables (x4) – 15 cm each, for SDR modules and accessories
5. Camera¶
- Insta360 Camera
- X3 and X4 models are currently supported
Minimal hardware setup¶
Whitebox is best with full hardware setup, but you can quickly start with just an Orange Pi, a supported Wi-Fi dongle, an Insta360 camera, and a powerbank that can run the Orange Pi for the duration of your flight. You will not have any location or traffic data, but you'll be able to view and record camera feeds, annotate the flight, or record key moments for more convenient playback.
Setting up the Orange Pi 5 Plus¶
-
Install the M.2 Wi-Fi card into the Orange Pi.
-
Download the OS to flash to your MicroSD card
- Go to Orange Pi's support website
- Navigate down and click at
Downloadsin theUbuntu Imagesection - Download the
Orangepi5plus_1.2.0_ubuntu_jammy_server_linux6.1.43.7zfile
-
Flash the file to your MicroSD card
- Download a tool for flashing SD cards, like Balena Etcher
- Extract the
.imgfile from the.7zfile you downloaded from Orange Pi's website- If you are using an older operating system that does not support
.7zfiles, you can download 7-Zip to extract it
- If you are using an older operating system that does not support
- Connect your MicroSD card to the PC
- Run Balena Etcher and flash the previously extracted
.imgfile to the SD card-
If you are using Balena Etcher on Mac, you might get a message like this when the flashing finishes:
This message is safe to ignore, just clickEject.
-
-
After the installer has written the image on the MicroSD card, put the card in your Orange Pi, connect it to USB-C power cable, and plug it to your internet router using the ethernet cable. Internet connection will be required to set up the Whitebox for the first time.
-
Either connect a screen and keyboard to your Orange Pi, or find its IP to access it from another computer using the following command, which will list all the IPs open for connection on the SSH server port, which should include your Orange Pi:
replacing
192.168.1.0/24with your local network IP range. You can SSH into your Orange Pi using:replacing
192.168.1.120with the IP identified vianmap. The password should beorangepiby default.
Installation¶
This method sets up the full Whitebox system automatically on an Orange Pi 5 Plus. No additional steps are required!
If you wish to install a specific branch, use the branch parameter:
After installation completes, before restarting, make sure to connect the USB Wi-Fi adapter, two SDR devices and the GPS device to the Whitebox.
After the restart, you should be able to log in as the whitebox user and
connect to the whitebox Wi-Fi network.
Manual Installation (Alternative)¶
If you prefer not to use the automated installation script, you can set up Whitebox manually by following these steps:
Step 1: Install Prerequisites¶
# Update package lists
sudo apt update -y
# Install required packages
sudo apt install -y git git-lfs jq docker.io docker-compose
# Add current user to docker group (or create whitebox user - see Step 2)
sudo usermod -aG docker $USER
Step 2: Create whitebox User (optional, but recommended)¶
# Create whitebox user
sudo useradd -m -s /bin/bash -G sudo whitebox
# Set password for whitebox user
sudo passwd whitebox
# Add user to docker group
sudo usermod -aG docker whitebox
Step 3: Clone Whitebox Repository¶
# Clone to /whitebox directory (recommended for production)
sudo git clone https://gitlab.com/whitebox-aero/whitebox /whitebox
sudo chown -R whitebox:whitebox /whitebox
# Or clone to your home directory (for testing)
cd ~
git clone https://gitlab.com/whitebox-aero/whitebox
cd whitebox
Step 4: Configure Network Interface Naming (Orange Pi only)¶
This step disables predictable network interface naming, which is required for the Wi-Fi access point setup.
This command will:
- Check if you're running on an Orange Pi
- Configure network interface naming to use traditional names (
eth0,wlan0) - Automatically handle the configuration file updates
- Warn you that a reboot is required for changes to take effect
Step 5: Set Up udev Rules for SDR Devices¶
This command will:
- Download the required
udevrules for Stratux/SDR devices - Install them to the correct location
- Reload the
udevrules automatically
Step 6: Set Up Wi-Fi Access Point (Orange Pi only)¶
# Install linux-wifi-hotspot
cd /tmp
git clone https://github.com/lakinduakash/linux-wifi-hotspot.git
cd linux-wifi-hotspot/src/scripts
sudo make install
# Configure access point settings
sudo sed -i \
-e "s/^GATEWAY=.*/GATEWAY=10.42.0.1/" \
-e "s/^WIFI_IFACE=.*/WIFI_IFACE=wlan0/" \
-e "s/^SSID=.*/SSID=whitebox/" \
-e "s/^PASSPHRASE=.*/PASSPHRASE=whitebox/" \
/etc/create_ap.conf
# Enable and start the access point service
sudo systemctl enable create_ap
sudo systemctl start create_ap
# Clean up
cd ~ && rm -rf /tmp/linux-wifi-hotspot
Step 7: Create .env file¶
cd /whitebox # or wherever you cloned the repository
# Create .env file and populate required variables
# Refer to .env.example for examples
cp .env.example .env
# Edit .env to set env vars as needed and save the file
nano .env
Step 8: Build & Deploy Whitebox Services¶
If you'd like to force all containers to be re-created even if there are no
changes to apply to them, you can use --force-recreate:
Step 9: Post-Installation¶
- Connect Hardware: Attach the USB Wi-Fi adapter, two SDR devices, and GPS module to your device
- Reboot (especially if you configured network interface naming):
sudo reboot - Connect to Wi-Fi: Join the
whiteboxnetwork (password:whitebox) - Access Whitebox: Open your browser and go to
http://10.42.0.1
Starting Whitebox¶
If you have followed the steps above, Whitebox should be running in a few moments!
You can access Whitebox at http://10.42.0.1/.
- Learn more about the Whitebox Architecture
- Check out the Development Guide
- Explore the Plugin Guide to start making your own plugins