This page takes a Stellar Link unit from the box to a reachable, safely cabled radio.
Powering the unit#
Power the unit and give it time to boot. The control daemon, stellarlinkd, starts
automatically; the API answers once it is up. When the unit is connected over Ethernet, its DHCP
lease is requested late in the boot sequence, so wait a moment before concluding that the unit is
not reachable.
Connecting it to the network#
The unit answers on two network interfaces at once, and you can use either:
| Interface | Address | Notes |
|---|---|---|
| USB | 192.168.2.1 | Point-to-point link over the USB cable; your host gets an address on 192.168.2.0/24 |
| Ethernet | Assigned by DHCP | Needs an Ethernet cable to your network; look up the lease on your DHCP server |
Both interfaces serve the same unit. If the API stops answering on one, try the other before suspecting the unit: a USB link can drop off the host while the unit keeps serving over Ethernet.
Services on the unit:
| Port | Service |
|---|---|
8080 | REST API (/api/v1/...) and WebSockets (/ws/...) |
5555 | ZeroMQ PULL: frames in, relayed to the modem |
5556 | ZeroMQ PUB: frames received by the modem |
5557 | ZeroMQ PUB: telemetry snapshots |
9090 | Prometheus metrics exporter |
Reaching the API#
Point the CLI at the unit with STELLARLINK_API:
export STELLARLINK_API=http://192.168.2.1:8080 # or http://<Ethernet address>:8080
stellarlinkctl statusThe Web Console connects to the same address.
The daemon's configuration is described in Daemon Configuration.
Cabling the RF path#
By default the modem uses TX1 and RX1 of the AD9361, with RX1 on input port A
(A_BALANCED). A profile can move either direction to the second channel (tx.channel: 2,
rx.channel: 2, see Profiles); the channel the modem does not use
transmits nothing but the transceiver's LO leakage.
A typical cabling for on-air loopback with a spectrum analyser is:
unit TX1 --> 40 dB attenuator --> 2-way splitter --+--> spectrum analyser
+--> unit RX1With 40 dB of attenuation plus the splitter's loss (about 3 dB), the path loses roughly 43 dB from TX1 to either arm, which keeps RX1 far below its limit at the usual TX attenuation settings. Terminate any unused splitter arm.
Rules when cabling:
- Characterise, do not assume. An attenuator's marking and a splitter's datasheet do not always add up to the real loss, and the loss depends on frequency. Re-measure whenever a connector changes (see Measurement Tools).
- A spectrum analyser's reference offset is additive. An attenuation of N dB is compensated with +N dB, never −N.
- Match the receive gain to the level at RX1. The profile's
radio.rx_gain_dbmust bring the signal into the receiver's AGC range. If the telemetry showsagc_gainpinned near 16.0 while traffic flows, the receiver is starved and needs more gain (see Telemetry and Metrics).
The RF kill switch#
POST /api/v1/radio/rf/kill, also available as a button in the web console header, takes RF off
the connector: it puts the AD9361 in its alert state, stops the transmit chain and disarms the
receiver, and confirms each step. Use it before touching the RF cabling. TX attenuation alone does
not remove RF: even at maximum attenuation the transmitter still emits a small signal.
To resume, run stellarlinkctl chain up (see Chain Conditioning).
Applying a profile re-enables the transmitter: if you engaged the kill switch for cabling work,
engage it again after any profile apply.
Optional bench equipment#
| Equipment | Used for |
|---|---|
| A spectrum analyser | Characterising the RF path and checking the transmitted spectrum |
| Fixed attenuators and a splitter | Protecting RX1 and sharing the signal with an analyser |
| A second SDR | An independent reference transmitter or receiver, to tell a transmitter problem from a receiver problem |
| A switchable USB hub | Power-cycling the unit from a script during long unattended campaigns |