> **Sokil documentation pack**
> Language: English
> Station software: 20261126_usb_cameras
> UI build: c6b2dc620
> Generated: 2026-11-26
> Generated by the Sokil ground station UI from the documentation it ships. Download it again after every software update - the pack describes the version it was generated from.

<a id="before-setup"></a>

# Before you start

**Summary:** Prepare power, connectivity and a backup before Setup, activate within the wizard, and check software compatibility.

**Audience:** field integrators

Open in the UI: http://10.1.1.30/help/guides/before-setup

[Setup](http://10.1.1.30/gs/setup) reads the box first, builds a plan out of that board's own defaults, and writes
the planned settings when you accept the diff. Power the device, make it reachable, and back up its
parameters first. If the selected role needs activation, setup offers that step after Role.
Activation, confirmed file imports and binding operations take effect separately; leaving the
wizard does not undo them.

**A kit is two runs, not one.** Setup configures a single device, and the pair is joined by a bind
at the end of the camera's run. So work through this list per box, and expect to do it twice.

<a id="before-setup--the-short-list"></a>

### The short list

| Have this                                                | Because                                                                                                                                                                                       |
| -------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| A stable supply at the voltage each load requires                             | a board that browns out mid-write is the worst way to learn the rule                                                                                                                          |
| The image flashed and the box answering on its address   | Setup reads every parameter the device holds before it plans anything                                                                                                                         |
| Admin mode in this browser                               | Setup writes a whole configuration at once, and most of what it writes is only visible in admin mode. A box nobody has configured is the exception - it opens Setup for whoever is holding it |
| A way to activate the role you are about to pick            | you can select an unactivated role; complete the required Activation step before continuing                                                                                                                                              |
| A downloaded copy of the current parameters              | it is the fastest way back                                                                                                                                                                    |
| The flight controller and the handset adapter plugged in | the Hardware step checks the plan's ports against what the box reports                                                                                                                        |
| Both boxes on the same release                           | setup refuses a mismatch in either direction                                                                                                                                                  |

<a id="before-setup--power-first"></a>

### Power first

Power each load at its rated voltage. Ordinary loads at the same voltage may share a BEC within
its current rating; WiFi radios, ELRS transmitters and other high-power or noisy loads keep separate
feeds. Do not power them from the station board's power or USB rails. Every UART between two boxes on
different feeds needs a ground wire as well as TX and RX. The BEC settings and each board's input
requirements are in [Power and the BEC](power-bec.md#power-bec); the
[IPC camera guide](camera-wifi-ssc338q.md#camera-wifi-ssc338q) covers the rated FC 12V BEC option for a compatible camera.

Do this before anything else: a box that reboots halfway through an Apply leaves you reading a diff
to work out what landed. Power a drone with the **propellers removed**, and give the first boot 30
to 60 seconds.

<a id="before-setup--an-address-you-can-reach-it-on"></a>

### An address you can reach it on

![The kit on its wired network: station, camera and viewer](../img/before-setup.svg)

Diagram: The kit on its wired network: station, camera and viewer - img/before-setup.svg (vector: img/before-setup.svg)

Sokil ships a fixed address plan. Memorize it - the settings pages, setup and the
troubleshooting guides all quote these numbers.

| Address     | What sits there                                                                                        | Setting                                                                                                                                                                       |
| ----------- | ------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `10.1.1.30` | a ground station box, a repeater, or a Radxa acting as a VTX                                           | the camera's **Ground station IP** (parameter `gs_ip`), and what the SBC installer puts on the wired NIC |
| `10.1.1.40` | a camera - an Ethernet, Starlink or course camera, and any IPC or Luckfox board                        | the Ethernet card's **IP address** (parameter `eth_ip`), written by setup on an Ethernet or Starlink camera; also the camera an arm ground station controls until you pick another in the camera switcher (parameter `rc_ip`) (an x86 one starts at `10.1.1.30`, the ground station it flies through) |
| `10.1.1.50` | the operator's own machine - the pilot's laptop or tablet running the viewer and the GCS app            | **Pilot IP** (parameter `vrx_target`), the address the receiver delivers decoded video and telemetry to, and the Ethernet **IP address** (parameter `eth_ip`) on an x86 station, which **is** that machine. Such a station keeps **Pilot IP** at `127.0.0.1`, because there the viewer runs on the station itself |

**Pilot IP** (parameter `vrx_target`) **names the destination for the WiFi station's video and telemetry**, so `10.1.1.50` is
the pilot's laptop. Some older documentation reads it the other way round, as a wired drone's own
address, and `10.1.1.50` is also the first entry in the stock **Announce IP** list (parameter `disco_targets`)
(an expert row under Control > Network > **Device discovery**) - treat the older reading as the
outlier: station `.30`, camera `.40`, control laptop `.50`.

**A laptop station is that machine, so `.50` is its planned address.** Core defaults the Ethernet **IP address** (parameter `eth_ip`) to
`10.1.1.50` on an x86 or Mac station and leaves it empty on other boards; `.30` belongs to the
separate station box or repeater it is plugged into. The laptop's defaults pair that fixed address
with **Take an address from DHCP** (parameter `eth_dhcp`) on, so it can keep a DHCP lease beside it.
**On a laptop, that address is the plan, not what Sokil applies**: an x86 station's Ethernet
**Network connection** (parameter `eth_conn`) is _None_, so Sokil writes the card to no connection and the
laptop keeps whatever address its own operating system gives it. Give the laptop `10.1.1.50` in its
own network settings, or pick its wired connection under **Network connection** to hand the card's
addresses to Sokil.

The current core defaults set **Pilot IP** (parameter `vrx_target`) to `127.0.0.1` on x86 and Mac stations and
`10.1.1.50` on supported SBC and IPC boards. The value can exist even with the receiving tier
turned off (parameter `vrx_type`): its presence does not mean the device receives or forwards video.
The role matters too: setup writes `127.0.0.1` on a digital repeater so its receiving tier feeds
its transmitting tier locally. On a ground station, check **VRX settings > Receive >
Destinations > Pilot IP** against where your viewer actually runs. The station sends whether or
not an app is listening, and a green Video stream only proves that it is sending.

On a station built with the SBC installer, `10.1.1.30/24` is the **last** thing the install writes,
and writing it can drop the ssh session that started the run. Reboot afterwards - drivers, overlays
and UARTs need it - then load the UI on `http://10.1.1.30`.

A camera board answers core's HTTP API on port **8333**, not port 80. A `curl` of port 80 on a
camera comes back with `Connection refused`, which reads exactly like a dead core and is not one.

**Flashing a Sigmastar camera board is Sokil's own procedure, documented and automated.** Which tool
you reach for depends on the board in front of you:

- **`sokil-flasher`** is the normal answer - a local web tool that flashes and prepares Sokil IPC
  cameras. It runs on the flashing computer, serves a browser interface, and walks you through
  checks, the flow and the logs. It is published on the update server like any other Sokil product,
  and [Help > Resources](http://10.1.1.30/help/resources) lists it for admins. [Sokil Flasher](sokil-flasher.md#sokil-flasher)
  covers installing it on an Ubuntu laptop and every device it flashes.
  Installed on the same computer as the ground station software, it also opens from the station's
  own menu: an admin gets **Tools > Sokil Flasher** while it is running. It answers only to a
  browser on that computer, so the entry is not there when you open the station from a tablet or
  another laptop.
  While its page is open with a camera or a Luckfox board selected, it borrows the network adapter
  chosen there for the camera network (10.1.1.50) and gives it back as it found it shortly after
  the page is closed - so pick an adapter that is not the station's own link to the aircraft you fly.
- **`flash_wifilink.sh`** is the terminal path for a camera that already answers on an IP address:
  it finds the camera, pushes the images over ssh, runs the upgrade and pins the new address, with
  nothing to open and no UART adapter.
- **`flash.sh`** is the terminal path over the serial flasher, followed by the on-camera install,
  for a board that has to be brought up from a shell.

A Luckfox is the exception: its firmware package carries the flashing tool for Linux and Windows,
and [WiFi camera on Luckfox](camera-wifi-luckfox.md#camera-wifi-luckfox--flashing-the-firmware) has the steps;
Sokil Flasher flashes it too.

A flight controller is flashed before Setup too -
[Sokil's Betaflight and ArduPilot builds](fc-firmware.md#fc-firmware).

<a id="before-setup--activation-for-the-role-you-are-about-to-pick"></a>

### Activation for the role you are about to pick

Setup lets you select a role before activation. If a required license is missing, the Activation
step follows Role and must be completed before you continue. Completed activation is saved
immediately and remains active if you leave setup. The four types are not interchangeable: **Camera (drone)** for a camera on an aircraft, **GS camera** for one
driven by a ground station box, **Ground station**, and **Repeater**.

You can activate directly on the wizard's **Activation** step using either method below. The same
controls are on the [Activation page](http://10.1.1.30/gs/activation) - a camera has [its own](http://10.1.1.30/cam/activation):

1. **Get a key online** - admin only. It needs your activation token (the card calls it that - it is your company's billing credential) and internet **in this browser**;
   the device stays offline, because the browser talks to the activation server itself.
2. **Enter a key** - the offline path. Read the Hardware ID off the device, send it to whoever issues keys,
   paste the key back.

A key the device does not accept gives no error, so the proof one landed is the device reporting itself
activated - the **Activated** badge on the **License** card (parameter `act_active`). The list only offers the types this device's build can take, because
a key issued for the wrong type is rejected by the device and billed anyway - and a different
feature set for the same device is a second, separately billed activation. Pick the type
deliberately.

<a id="before-setup--a-copy-of-what-the-box-holds-now"></a>

### A copy of what the box holds now

The Start page has a **Download current parameters** button. Setup does not need the file - it never
resets the device - but it is the fastest way back, and it is what setup tells you to reach for
if the device does not answer after an Apply. The same action is in the header of every settings
page, labeled **Export configuration** - for example [VRX settings](http://10.1.1.30/gs/vrx-settings). Either one reads
the whole device before it writes the file, so it takes a moment on a slow link; if the device
cannot be reached it offers you the last values read from it instead, and says how few those are.
Save the file somewhere that is not the device.

Commissioning a second box just like one you already have? **Export configuration** offers two files:
**Full backup** restores the device it came from, and **Config without binding** is the same settings
without the link keys, binding and channels, activation, device name, ZeroTier networks, and stream
and forward addresses - the file to load onto the other box, which keeps its own. The Start page will
**load a saved configuration** from a `.conf` instead: it lists what the file changes on this device - every value,
with what its parameter does - and offers a backup switch before writing only what
differs. With backup enabled, canceling or failing to save the backup cancels the write. Loading a file that changes nothing tells you so instead of asking.

<a id="before-setup--the-wires-setup-asks-about"></a>

### The wires setup asks about

Plug these in first, so the box has enumerated them and the Hardware step can check the plan
against what is really there.

- **The flight controller**, on the camera's MAVLink UART - TX, RX and ground. The port and its
  speed come from the board's own defaults - the **Serial port** (parameter `vtx_mavfwd_serial`) on
  VTX settings > **Telemetry** > **MAVLink** is `/dev/ttyS2` on an IPC camera,
  on the SSC30KQ boards (MC-L12B, MINIIPC) as much as on the SSC338Q ones (`/dev/ttyS3` on an EMAX
  Wyvern Link, which the Board step's answer writes),
  the **Baudrate** (parameter `vtx_mavfwd_baud`) 115200 - and the Control step is where you change them. The Hardware step raises
  a finding if that link is armed with no port at all. What to set on the FC itself is in
  [Flight controller](flight-controller.md#flight-controller).
- **The handset adapter**, on a USB port of the ground station. A station does not read a bare CRSF
  wire from the radio: it reads through the small ESP32 adapter running Sokil's
  crsf_inverted_reader firmware, which turns up as the CRSF (ELRS) **Serial port** (parameter `rc_crsf_serial`)
  on Control > **RC Wiring** > **RC input**. Its USB side runs at 460800 (the CRSF
  **Baudrate** (parameter `rc_crsf_baud`)); the radio-side baud is set on the radio and need not match. See
  [Handset and CRSF](handset-crsf.md#handset-crsf).
- **The WiFi cards**, if this box carries a radio. The Hardware step says so when the plan names
  an adapter the box is not reporting.

<a id="before-setup--both-boxes-on-the-same-release"></a>

### Both boxes on the same release

This is the one that stops a run dead. The UI is served by the station out of the same release as
its core, so **setup's version is the station's version**, and it refuses to configure a device
on any other release, in **both** directions: setup on an older release writing a newer core's config is the same
hazard as the reverse, because defaults, parameters and derivations move together.

Two boxes built on the same day count as the same release, so a well matched kit passes even
though its build numbers differ. Start names which side is behind and gives you the button to
update it.

Update first, then set up. Three things that have cost other people a session:

- **Deploy a whole image, not a hand-picked binary.** One box left on a mixed build is out of every
  pairwise check.
- **Back up the parameters before putting a newer core on a box.** A newer release migrates the
  settings one way on its first start; going back needs your saved file, not the old binary.
- A station downloads its own firmware, so the update works when the **station** has internet and
  your tablet does not. Camera images and desktop installers are listed by the browser instead,
  from [Help > Resources](http://10.1.1.30/help/resources).

There is no release number to standardize on: **the newest release in your channel is the
release.** Each channel offers whatever was last published to it, so production, beta and alpha can
each be on a different release. Pilots are pinned to production; an admin picks the channel once per browser
and both the update dialog and Resources follow that choice.

⚠ **Picking the top of the wrong channel is a downgrade that looks exactly like an update.** That is
how a fielded station went from the latest beta to a two-month-old production build. Every release
row carries a badge comparing it to the build the target is actually running - read that, and check
which channel you are in, before you press update. [Software compatibility](compatibility.md#compatibility)
has the rules for a mixed pair and what a downgrade does to a config.

<a id="before-setup--what-you-do-not-need"></a>

### What you do not need

- **A reset.** Setup starts from the board's resolved defaults, overlays your answers, and shows
  every change as a diff before Apply.
- **Internet on the device.** Only online activation and firmware downloads need one, and both
  belong to a browser or a station rather than to a camera in the field.
- **A configured box.** A device nobody has set up opens setup by itself, and offers a saved
  configuration as the alternative.

<a id="before-setup--related-guides"></a>

### Related guides

- [Received a Sokil Camera kit](received-camera-kit.md#received-camera-kit) - connect an assembled unit, configure the FC and RC, and work through the first-flight checks.
- [How setup works](setup-wizard.md#setup-wizard) - the steps, the diff, and what it never does.
- [After Apply](after-setup.md#after-setup) - the bind, the first checks, and where diagnostics live.
- [Power and the BEC](power-bec.md#power-bec) - the feed rule and the BEC settings.
- [Flight controller](flight-controller.md#flight-controller) - what to set on the aircraft's side of the
  UART you are about to wire.
- [Handset and CRSF](handset-crsf.md#handset-crsf) - the adapter the station reads the sticks through.
- [Choose a board](choose-board.md#choose-board) - what each board gives you before you wire it.
- [Sokil Flasher](sokil-flasher.md#sokil-flasher) - installing the flasher and flashing cameras, the
  CRSF adapter, Luckfox boards and station SD cards.
