Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Rtkbase Knowledge Patch?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nevaberry-rtkbase-knowledge-patch)
---
name: rtkbase-knowledge-patch
description: RTKBase
version: "2.7.0"
license: MIT
metadata:
author: Nevaberry
---
# RTKBase operating guidance
Load this skill for RTKBase installation, upgrades, receiver configuration,
correction streaming, surveying, logging, and RTKLIB operations.
The references also cover ELT_RTKBase, RTCM-Pi, and RTK Firmware workflows.
## Reference index
| Reference | Topics |
| --- | --- |
| [Platform and installation](references/platform-and-installation.md) | Platform requirements, installer sources and stages, upgrades, authentication, discovery, network administration, ELT_RTKBase installation |
| [Receivers and antennas](references/receivers-and-antennas.md) | Detection, receiver configuration, UM980 inputs and logs, USB, diagnostics, antenna ground plane |
| [NTRIP and RTCM streaming](references/ntrip-and-rtcm.md) | Raw TCP, receiver proxy, correction destinations, caster controls, RTK2GO, SNIP metadata, RTCM-Pi forwarding |
| [RTKLIB and Raspberry Pi operations](references/rtklib-and-raspberry-pi.md) | Console and Qt builds, captures, VRS, serial sharing, RTKRCV, playback, gpsd, chrony, PPS |
| [Surveying and reference position](references/surveying-and-position.md) | Permanent-base coordinates, live PPP, archives, RINEX, ELT_RTKBase surveying, Windows utilities, CSRS-PPP, RTK Firmware |
## Compatibility and upgrade changes
Systems older than Debian 12 or Ubuntu 24.04 can no longer update RTKBase.
Debian 13 (Trixie) is supported; Python versions below 3.11 are deprecated.
RTKBase uses RTKLIB v2.5.0-EX.
The installer performs additional checks before installing prebuilt RTKLIB
command-line tools. If the previously installed release is unusable, it builds
RTKLIB from source. Upgrades write the new release number to `settings.conf`
before restarting services.
## Installation and first access
Connect the GNSS receiver before running the release installer so it can
detect and configure the receiver alongside prerequisites and services.
```bash
wget https://raw.githubusercontent.com/Stefal/rtkbase/master/tools/install.sh -O install.sh
chmod +x install.sh
sudo ./install.sh --all release
```
After installation, open the board's IP address in a browser and enter fixed
coordinates and caster credentials in **Settings**.
BaseGNSS Armbian images for 64-bit Raspberry Pi and Orange Pi Zero, Zero 2,
and Zero 3 provide SSH through `ssh basegnss@basegnss.local` with password
`basegnss!`. With the receiver and Ethernet connected, allow about five minutes
or more for first boot. Open `http://basegnss.local/` or the board's IP address
on the same LAN; the web password is `admin`.
For installer source selection, service accounts, staged installation, and
LAN discovery, use the platform and installation reference.
## Receiver setup and access
Automatic setup supports ZED-F9P over USB or UART, Mosaic-X5 over USB, and
UM980/UM982. `--no-write-port` inspects detection without changing
`settings.conf`; `--configure-gnss` programs a supported receiver.
```bash
sudo ./install.sh --detect-gnss --no-write-port
sudo ./install.sh --detect-gnss --configure-gnss
```
RTKBase supports Mosaic-X5 firmware 4.15 and sets the ZED-F9P dynamic model
to Static during receiver configuration. For other receivers, configure raw
or RTCM3 output and select the serial port and format in **Settings**.
Use **Settings → Tcp host addr** to allow or block external TCP access to
the GNSS receiver. The receivers reference includes temporary remote
configuration with `socat`, UM980 input options, and diagnostic message lists.
## Main settings and web access
In `[main]`, `position` is space-separated latitude, longitude, and height.
`com_port_settings` uses `baud:data_bits:parity:stop_bits`, defaulting to
`38400:8:n:1`. `receiver_format` selects the input format; `antenna_info` holds
the antenna ID and serial number, with no spaces inside either value.
The local raw stream defaults to `127.0.0.1:5015`. Changing `[main]` `tcp_port`
also requires updating the URL in gpsd's `DEVICES`.
The web interface uses `web_port`. In `[general]`, the exact authentication
key is `web_authentification`, default `true`. `new_web_password` changes the
password on the next `rtkbase_web` start; RTKBase then clears that field and
stores the hash in `web_password_hash`.
`[general]` defaults to `prerelease=False`; set `prerelease=True` for beta
updates. Add `maptiler_key=your_key` there to enable aerial map imagery.
## Correction streaming
`str2str_tcp.service` reads the receiver and publishes one raw TCP stream for
downstream `str2str` instances. `run_cast.sh` configures them from
`settings.conf`; `str2str_file.service` records the raw stream.
Use `[ntrip_A]` and `[ntrip_B]` for external destinations, with the corresponding
`_a` and `_b` suffixes on caster address, port, password, mount name, and RTCM
message keys. Both default to `caster.centipede.fr:2101`.
`str2str_local_ntrip_caster.service` serves RTCM directly to rovers. Configure
rover credentials, mountpoint, and message list with the `local_ntripc_` keys
in `[local_ntrip_caster]`. The streaming reference includes configuration
examples and TCP, UDP, and serial output settings.
For u-blox receivers, enter `-TADJ=1` in an RTCM or NTRIP output's **Receiver
options** to work around non-rounded RTCM timestamps. NTRIP A uses
`ntrip_a_receiver_options='-TADJ=1'`.
Wait for RTK2GO's final mountpoint and source-password email before enabling
NTRIP output. Repeated attempts with a temporary password can trigger an IP
ban when the password changes.
When pushing to SNIP, RTKLIB's **NTRIP Server Options → String** can be blank.
SNIP can discover message types and base latitude and longitude by decoding
RTCM3 during roughly the first 120 seconds. See the streaming reference for
manual sourcetable strings and RTCM-Pi receiver-generated corrections.
## Surveying and live position
With the antenna in its final location, log 12 or 24 hours of raw observations.
Convert the zipped UBX archive to RINEX in **Logs**, submit it to a PPP service,
and use the returned coordinates as the fixed base position.
Leave **Status** open for several hours for the RTKLIB static PPP estimate to
converge. Computation continues for 15 minutes after leaving the page. A blue
arrow shows the live estimate; crosshairs show the fixed base coordinates.
For CSRS-PPP, submit the observation file as **Static** in **ITRF** and obtain
ITRF2020 coordinates from the emailed **Summary**. When final orbit products
are required, use observations more than 15 days old and verify **Final** under
**Orbits and Clocks Used** in the report.
## Logs, conversion, and retention
**Logs** uses a customized data-directory path. Its **Type** column identifies
`.sbf` logs and labels `.obs` and `.2?o` observation files as RINEX. The NRCAN
RINEX conversion preset includes Galileo observations.
`[local_storage]` defaults to `datadir=$BASEDIR/data`, 24-hour file rotation,
zero-second overlap, and 60-day archive retention. Enable and start
`rtkbase_archive.timer` to compress the previous day's data at 04:00 and clean
old archives. When free space drops below `min_free_space='500'` MB, deletion
proceeds oldest first.
## GNSS time and RTKLIB operations
`sudo ./install.sh --gpsd-chrony` sets up gpsd to read the local raw stream and
provide a shared-memory refclock to chrony. If gpsd cannot decode the raw
format, run `sudo systemctl enable --now rtkbase_raw2nmea` and point gpsd at
`[main]` `nmea_port`, default `5014`.
For PPS, configure the receiver timepulse as a `pps-gpio` input, add `/dev/pps0`
alongside the TCP URL in gpsd's `DEVICES`, and let chrony lock PPS to the GPS
refclock. After reboot, `chronyc sources -v` shows `*` beside `PPS` when in use.
The RTKLIB reference contains the gpsd and chrony configuration examples.
For receiver-side RTK with VRS, enable GGA on the rover and use `-b 1` to relay
its serial output back to the VRS while `str2str` delivers corrections.
Use `-p <lat> <lon> <height> -n 1` instead to generate GGA from a fixed position.
In RTKRCV, assign rover UBX to input 1 and base RTCM3 to input 2.
`ant2-postype=rtcm` takes base coordinates from RTCM;
`inpstr2-nmeareq=single` makes `rtkrcv` send GGA based on its single-point rover
solution for a VRS.
Set `out-outsingle=on` to keep emitting positions when only a standalone fix
is available. The RTKLIB reference covers builds, stream sharing, raw logs,
solution output, console diagnostics, and timed playback.
## ELT_RTKBase workflows
The ELT_RTKBase fork supports Raspberry Pi OS with UM98x, M2x, Mosaic X5,
and ZED-X20P receivers. Run its `./install.sh` with the receiver attached,
or run `./install.sh -1`, attach the receiver, then run `./install.sh -2`.
In **Settings → Main service → Options → Base coordinates**, `0.00 0.00 0.00`
averages the autonomous solution for about one minute; any other triplet
requests a fixed position. If the receiver rejects a position more than 50 m
from its estimate, the fork falls back to the autonomous average and shows an
orange **Main service** indicator.
Built-in PPP requires at least 10 satellites with signal level 33 or higher.
After a day, copy coordinates from **Status** into **Base coordinates**.
Saving base coordinates stops all services and restarts **Main service** only
if it was running; start other needed services again. Base-coordinate or
other main-service setting changes reset PPP convergence.
The fork supports five NTRIP outputs and NTRIP 2.0. Setting both mount name
and password to literal `TCP` switches that output to TCP client mode.
For the local caster, save rover credentials and mount point in **Options**
beside **Ntrip Caster Service**, close **Options**, then click **Off** to turn it on.
For a full-day RTCM3 archive, keep **Main service** and **File Service** running
for one complete UTC day. In **Logs**, use the day's ZIP pencil control,
select **Nrcan** or **Ign**, and click **Create RINEX file**.
The surveying reference also covers `RTK.bat` and `HAS.bat` survey modes,
their TCP-service and recovery requirements, and RTK Firmware UBX logging
and fixed ECEF coordinate entry.