This guide covers connecting Analog Devices ADALM-PLUTO (“Pluto”) SDRs to a RemoteRF server or host. Support is included in the built-in adalm_pluto schema.
Overview
RemoteRF supports the ADALM-PLUTO through the built-in adalm_pluto schema. The setup steps are the same whether a Pluto is plugged directly into the main RemoteRF server or attached to a remote host:
- Install the native
libiiolibraries and tools on the Linux machine physically connected to the Pluto (pyadi-iiois already installed withremoterf-serverandremoterf-host). - Confirm that
iio_info -sdetects the Pluto’s USB serial number withoutsudo. - Add each Pluto to
devices.ymlon that machine. - Restart
serverrforhostrf.
Install and Detect
1. Install Native Pluto Libraries
The remoterf-server and remoterf-host packages already install the Python Pluto bindings (pyadi-iio). On the Linux machine that owns the Pluto, install the underlying libiio runtime and utilities:
conda install -y -c conda-forge libiio libusb
sudo apt install -y libiio-utilsNote: Avoid installing
pyadi-iiovia Conda after installingremoterf-server, as Conda can replace pip’scryptographypackage and disableaioquic(used for the direct WebRTC/QUIC sample streaming path). Ifaioquicis ever overwritten by a Conda install, runpip install --force-reinstall remoterf-server.
2. Verify USB Detection
Connect the Pluto over USB and check that iio_info detects it without elevated privileges:
iio_info -sLook for a line containing your Pluto’s serial number and USB URI (for example, serial=104473f6... [usb:1.2.3]). Copy the serial string for use in devices.yml.
3. Fix USB Permissions (If Needed)
If the Pluto only appears when you run sudo iio_info -s, add a udev rule for the Analog Devices USB vendor ID (0456) and add your user account to the plugdev group:
sudo groupadd -f plugdev
sudo usermod -aG plugdev "$USER"
sudo tee /etc/udev/rules.d/53-adi-usb.rules >/dev/null <<'EOF'
SUBSYSTEM=="usb", ATTR{idVendor}=="0456", MODE="0660", GROUP="plugdev"
EOF
sudo udevadm control --reload-rules
sudo udevadm triggerUnplug and reconnect the Pluto, then log out and log back in (or reboot) so the plugdev group membership takes effect. Confirm that iio_info -s succeeds without sudo before continuing.
Device Configuration
Add each Pluto to ~/.config/remoterf/devices.yml on the main server (or ~/.config/remoterf/host/devices.yml on a RemoteRF host):
devices:
- device_id: 1
device_type: adalm_pluto
name: Pluto A
init:
serial: "104473f6"
- device_id: 2
device_type: adalm_pluto
name: Pluto B
init:
serial: "58472j"You can add an entry interactively with the guided wizard or directly from the command line:
# Interactive guided wizard on the server:
serverrf devices add pluto
# Or non-interactively on the main server:
serverrf devices add pluto "Pluto A" --serial 104473f6 --id 1
serverrf devices list
# Or on a RemoteRF host:
hostrf --device --add --pluto "1:Pluto A:104473f6"Important: Set device_type to adalm_pluto and init.serial to the serial string reported by iio_info -s (usb_port is only supported on adalm_pluto_mimo). Make sure each device_id and name is unique across the server and all attached hosts.
Ethernet & PoE Switch Plutos (Optional)
In addition to USB (serial), the adalm_pluto driver and serverrf devices add pluto wizard support Plutos connected over Ethernet (ip) and Plutos powered through a MikroTik RouterOS PoE switch (which keeps the port powered off when idle and automatically boots the Pluto when a reservation starts):
devices:
- device_id: 3
device_type: adalm_pluto
name: Pluto_PoE_1
init:
ip: "192.168.88.21"
serial: "104473f6"
poe: true
poe_port: "ether7"
poe_switch: "192.168.88.1"
poe_user: "admin"When poe: true is configured via serverrf devices add pluto, the switch password is stored in ~/.config/remoterf/poe_switch_password (chmod 600).
Verification
Start the server with serverrf -s (or the host with hostrf -s). When the Pluto initializes, the console prints a connection message similar to:
Connected to Pluto serial=104473f6 via usb:...In the interactive serverrf -s prompt, run devices list to confirm the Pluto appears as online. For a host-attached Pluto, run hostrf --device --show on the host to check the configured inventory and devices list in serverrf -s to confirm the server registered the host’s device.
Next Steps
This guide covers connecting an ADALM-PLUTO MIMO or Pluto+ configured for 2 × 2 MIMO operation to a RemoteRF server or host. Support is included in the built-in adalm_pluto_mimo schema.
Overview
RemoteRF provides two separate built-in Pluto drivers:
adalm_pluto: Standard 1 × 1 single-channel Pluto operation.adalm_pluto_mimo: 2 × 2 MIMO operation with independent transmit and receive gain controls for both channels.
The adalm_pluto_mimo driver has been verified on the following hardware models:
- 2 × 2 unlocked Analog Devices ADALM-PLUTO
- Pluto+
Hardware prerequisite: Registering a radio as adalm_pluto_mimo does not enable the second RF channel in firmware by itself. The Pluto must already be configured for dual-channel AD9361 MIMO operation and have physical access to its second TX/RX RF ports (such as a Rev. C/D Pluto with u.FL breakouts or a Pluto+ board).
Prepare MIMO Mode
Before registering the device in RemoteRF, configure the Pluto’s U-Boot environment for ad9361 dual-channel compatibility following the Analog Devices Pluto customization guide, then reboot the radio:
fw_setenv attr_name compatible
fw_setenv attr_val ad9361
fw_setenv mode 2r2t
pluto_reboot resetIf the device is still in single-channel 1r1t mode, switch to the ADALM-PLUTO (SISO) tab above instead.
Install and Detect
1. Install Native Pluto Libraries
On the Linux machine physically connected to the Pluto MIMO, install libiio and its command-line utilities (pyadi-iio is included with remoterf-server and remoterf-host):
conda install -y -c conda-forge libiio libusb
sudo apt-get install -y libiio-utils2. Find the Serial and USB URI
Confirm that iio_info detects the radio without sudo:
iio_info -sRecord the Pluto serial number (for devices.yml) and the USB URI such as usb:1.2.3 (for the local two-channel check below). If iio_info -s requires sudo, configure the plugdev udev rule shown in the ADALM-PLUTO (SISO) tab.
3. Verify Both Channels Locally
Replace usb:1.2.3 with the URI from iio_info -s and verify that adi.ad9361 can enable both channels locally:
python - <<'PY'
import adi
sdr = adi.ad9361("usb:1.2.3")
sdr.rx_enabled_channels = [0, 1]
sdr.tx_enabled_channels = [0, 1]
print("RX channels:", sdr.rx_enabled_channels)
print("TX channels:", sdr.tx_enabled_channels)
PYBoth printed lists should show [0, 1].
Device Configuration
Add the Pluto MIMO to ~/.config/remoterf/devices.yml on the main server (or ~/.config/remoterf/host/devices.yml on a RemoteRF host):
devices:
- device_id: 2
device_type: adalm_pluto_mimo
name: Pluto MIMO
init:
serial: "104473f6"
rx_enabled_channels: [0, 1]
tx_enabled_channels: [0, 1]You can add the entry interactively with the guided wizard or directly from the command line on the server (or edit ~/.config/remoterf/host/devices.yml on a host, using serial or usb_port):
# Interactive guided wizard on the server:
serverrf devices add pluto-mimo
# Or non-interactively on the main server:
serverrf devices add pluto-mimo "Pluto MIMO" --serial 104473f6 --id 2
serverrf devices listWhen added via serverrf devices add, a running server reloads its device inventory automatically. If you edited devices.yml by hand (or on a host), restart serverrf -s (or hostrf -s).
Verification
Reserve the device from a client machine and verify two-channel reception in Python:
from remoterf.drivers import ensure_driver
token = "Pluto_MIMO_00@ucla"
ensure_driver(token=token)
from remoterf.drivers.adalm_pluto_mimo import PlutoMIMO
sdr = PlutoMIMO(token)
sdr.rx_enabled_channels = [0, 1]
sdr.rx_buffer_size = 4096
channel_0, channel_1 = sdr.rx()
print(channel_0.shape, channel_1.shape)With two receive channels enabled, sdr.rx() returns a two-element list [channel_0, channel_1] of complex NumPy arrays. Two-channel transmit (sdr.tx([tx_0, tx_1])) uses the same list ordering.