Skip to main content

Raspberry Pi DIY Agent Setup

Flash and register a Raspberry Pi 4 or 5 as a DIY wired or Wi-Fi NetBeez Network Agent using your NextGen Server Secret Key.

Written by Panickos Neophytou

You can turn a standard Raspberry Pi into a DIY NetBeez wired or Wi-Fi hardware monitoring sensor. A Raspberry Pi DIY agent executes continuous Ping, DNS, HTTP, Traceroute, Path Analysis, and Scheduled Tests—and when configured as a wireless sensor, captures RF telemetry including Wi-Fi signal strength, link quality, SSID scans, and connection timing.

In this article:

Prerequisites

  1. An active NetBeez NextGen dashboard with available Network Agent license capacity (Settings → License) and your Server Secret Key.

  2. A Raspberry Pi 4 or Raspberry Pi 5 (or later).

  3. A 16 GB (or larger) microSD card.

  4. The pre-built NetBeez Raspberry Pi DIY image:

  5. Optional (for Wi-Fi 6 / Wi-Fi 6E monitoring): A supported external USB Wi-Fi adapter, such as the Netgear AX3000 or Panda AXE3000.

  6. An SD card flashing utility on your workstation, such as Raspberry Pi Imager or BalenaEtcher (if decompressing the .zip archive manually on Windows, use 7-Zip).

Step 1 — Download and Flash the Image

  1. Download the NetBeez Raspberry Pi DIY image to your computer and optionally verify its MD5 checksum.

  2. Insert your microSD card and flash the downloaded image using Raspberry Pi Imager or BalenaEtcher.

Step 2 — Boot and Secure the Raspberry Pi

  1. Insert the flashed microSD card into the Raspberry Pi, connect an Ethernet cable to a network with DHCP and outbound connectivity to your NetBeez server, and connect power.

  2. Log in via SSH or local keyboard/monitor as user netbeez (default password: netbeez) and immediately set a new password:

    passwd

Step 3 — Register with Your NetBeez Dashboard

  1. As a NetBeez Administrator, locate your Server Secret Key in Settings → Information & Health under Server Information—or open Agents → Network Agents → Install Network Agent → Wired (or Wi-Fi) to copy the pre-populated setup command directly.

  2. On the Raspberry Pi, download and run the NetBeez agent setup script with your secret key:

    curl -L -O https://raw.githubusercontent.com/netbeez/agent-installation/master/agent_setup.sh
    sudo bash agent_setup.sh --secret=<your_secret_key>
  3. During execution, the setup script prompts whether to leave the Raspberry Pi's onboard Wi-Fi module enabled or disabled:

    • Wired Sensor or External USB Wi-Fi 6/6E Adapter: Choose to disable the onboard Wi-Fi module to avoid wireless interface conflicts.

    • Onboard Dual-Band Wi-Fi Sensor: Leave the onboard Wi-Fi module enabled.

Verifying Installation

Once the script finishes, open Agents → Network Agents in your NetBeez NextGen dashboard. Your Raspberry Pi will appear online as a Network Agent, ready to receive Targets, Agent Groups, Wi-Fi Profiles, Hopping Groups, and Scheduled Tests via Manage Assignments. If the sensor does not connect within a few minutes, review Agent Doesn't Connect to the Dashboard.

Did this answer your question?