Skip to main content

Raspberry Pi and field gateway

A Raspberry Pi (Zero 2 W, Pi 3/4/5) or similar Linux SBC paired with a USB RNode makes an ideal low-power gateway bridging local LoRa handhelds onto your LAN or a remote VPS backbone.

1. Prepare the OS & serial permissions​

sudo useradd --system --create-home --shell /usr/sbin/nologin operator
sudo usermod -aG dialout operator

# Find the stable USB path for your RNode (survives reboots & port reordering)
ls -l /dev/serial/by-id/

If your radio is not yet provisioned as an RNode, run rnodeconf-rs --autoinstall and verify with rnodeconf-rs /dev/serial/by-id/<your-device> --info.

2. Gateway configuration (gateway + boundary)​

Create /home/operator/.rsReticulum/config:

[reticulum]
enable_transport = yes
share_instance = yes

[logging]
loglevel = 4

[filter]
hop_limiter = 16

[interfaces]
[[Local LoRa]]
type = RNodeInterface
enabled = yes
mode = gateway
port = /dev/serial/by-id/usb-EXAMPLE_RNODE-if00
frequency = 915000000
bandwidth = 250000
txpower = 17
spreadingfactor = 9
codingrate = 5
announce_cap = 1
# For EU868, set frequency = 868000000 and airtime_limit_long = 1.0

[[Local LAN]]
type = AutoInterface
enabled = yes

[[VPS Backhaul]]
type = BackboneInterface
enabled = yes
mode = boundary
target_host = backbone.example.org
port = 4242
announce_cap = 2
announce_rate_target = 3600
  • Setting mode = gateway on the LoRa interface and mode = boundary on the internet backhaul prevents internet announce storms from saturating your LoRa airtime while still serving local peers.
  • Install the same rnsd-rs.service systemd unit from VPS & public backbone.

3. Power & off-grid solar budgeting​

Typical ballpark continuous draw (measure your real build with a USB power meter):

ComponentTypical idle / active draw
Raspberry Pi Zero 2 W~0.6 – 1.2 W (headless, HDMI/LEDs off)
Raspberry Pi 4 / 5~2.5 – 5.0 W
USB LoRa RNode (SX1262)~0.1 W RX / ~0.4 – 0.6 W during TX bursts

For unattended solar sites, size battery capacity for 3–5 days of zero sun (Daily Wh = Average Watts × 24) and use a LiFePO4 battery with low-temperature charge cutoff if deployed outdoors in winter. Disable unused radios/HDMI and keep logs rotated (rnsd-rs rotates its own logfile at 5 MB) to reduce SD card wear.

Next steps​