Sokil on the pilot's laptop
Forpilotsfield integrators
Your own laptop runs the same Sokil software every station box runs, and it is the screen you fly from. Set it up early, while the kit is still on the bench: everything after this page - the first video, the bind, the switch tests, the first flight - is nicer when the picture, the sticks and the settings are all on one screen at one address.
The station box on 10.1.1.30 does not go away. It keeps its job: it holds the 5.8 GHz radio on a
WiFi kit, and it is where you open a camera's or a repeater's own pages to configure them. What
moves to the laptop is the pilot's seat.
Why you fly from the laptop
- The browser only decodes video on an address it trusts.
http://127.0.0.1/is a secure origin, so the web OSD gets the browser's video decoder there. A plainhttp://10.1.1.30is not one, and the video pane says Video is blocked on this address instead of playing until you set a browser flag for that address, once per browser. The fix takes a minute, and flying from127.0.0.1means never needing it. - One address for the whole flight. The sticks, the bind button, the vehicle switcher, the
settings and the recordings are all on this machine, so you are not moving between
10.1.1.30and the pilot's screen while an aircraft is on the bench. - The handset plugs in here. The laptop reads the CRSF adapter or a USB joystick - or the MAVLink stream of a radio that speaks it (a radio that speaks MAVLink) - and sends the sticks onward, to an IP aircraft directly or to the radio head that transmits them.
- Recordings land on the machine you keep. A flight recorded from the fly view is stored on the station serving that page, so on this shape that is your own laptop rather than a box you hand back at the end of the day.
Install Sokil
Help > Resources lists the desktop packages, fetched from the update server, so a laptop with no internet sees a note there instead of downloads.
- Sokil for Ubuntu - the station binaries, a desktop OSD build and the WiFi driver trees. QGroundControl is not in it: install it yourself if you want one beside Sokil.
- Sokil for Windows - the same station inside WSL2. It installs the station and the web OSD and nothing else: no WiFi drivers. Read Windows ground station before running it - the installer changes the PC as a whole, takes USB devices away from Windows while Sokil holds them, and wants a PC dedicated to the job.
- Sokil for macOS - the same station inside a small virtual machine on an Apple Silicon Mac (macOS 13 or newer). It installs the station and the web OSD and nothing else. Read Mac ground station before running it - the installer adds a background helper with administrator rights, takes USB devices away from macOS programs while Sokil holds them, and asks which Ethernet adapter is on the camera LAN.
Supported hardware has the machine to use and the operating system to put on it. What actually decides whether a laptop can be the seat is working hardware video decode in the browser you fly in, so test decode and recording on the machine itself.
Run the wizard once
Open Setup (on the station) on the laptop and choose the link that reaches the laptop.
- Role - Ground station, the only role a laptop is offered.
- Link - Through a WiFi radio head for a WiFi kit whose radio is on a ground station box at
10.1.1.30: the laptop shows that box's video and OSD and sends it the sticks, receives nothing itself, and needs no activation - setup asks for activation only after Link, and only for the links that need it. Ethernet for an optical or wired kit, or for a WiFi kit connected through a radio head by cable; Starlink or another uplink for a ZeroTier one. WiFi is grayed out when no WiFi card is assigned, with "No WiFi adapter on this side of this board." A standard laptop setup receives a WiFi aircraft through a radio head. See the three shapes below. - Control - what each handset arrives on, and the port or device it is. The step opens by saying this board is the pilot's own station, which is how you can tell the wizard has recognized the machine; which box it is is never a question, the laptop and the radio head are told apart by the board itself. The pilot's handset has three answers - a CRSF adapter, the radio itself as a USB joystick, or a MAVLink radio - and the repeater pilot's two and None. The MAVLink radio answer is in testing and may not be offered on every station yet; a station that already has that input on always offers it to an admin.
The configuration choices are staged until you press Apply on Review. Activation, a confirmed file import or a firmware update takes effect when you complete that separate action. How setup works has the diff, the version lock and what the wizard never touches; Before you start covers activation and what to have ready. Laptop pilot station has the whole write table, the adapter pinning and the address plan.
Which link, and who receives
A station binds only what it can receive, so which box the aircraft pairs with follows from the link it came with.
Optical fiber and Ethernet
The laptop is the whole ground station. The aircraft binds to the laptop, its video and telemetry arrive here over the wire, and the laptop's CRSF goes back up the same wire into the flight controller. There is no radio head in this kit at all.
On the aircraft, one UART to the flight controller carries both directions - telemetry down and the sticks up. That is what to aim for, and Sokil's Betaflight build is the way to get it on a Betaflight airframe. See Ethernet camera over optical fiber.
Starlink and ZeroTier
The same shape over the internet instead of a wire: the aircraft joins the station's ZeroTier overlay and binds to the laptop, which needs whatever internet connection it normally has and no cable of its own. Video, telemetry and RC all ride that overlay. See Starlink / ZeroTier camera.
WiFi, through a radio head
The radio head keeps the 5.8 GHz link, and the WiFi camera binds there - to the radio, its key and its channel plan. The laptop is still the seat:
- The head decodes the camera's video and telemetry and streams them on to the laptop, which is
what the head's Pilot IP (parameter
vrx_target) names (VRX settings > Receive > Destinations). Its shipped value is10.1.1.50, the laptop's own wired address, so a standard kit already points the right way. - The sticks enter at the laptop - the CRSF adapter or a USB joystick - and go out to the head on port 14540. The head drives the transmitter module that puts them on the air. (A radio that speaks MAVLink is the one exception: the head can read the pilot's computer over the network itself, and that computer then needs no Sokil - a radio that speaks MAVLink.)
- Pick the radio head in the Active vehicle switcher on the fly view (or press Fly through
<name> on the head's Status page) and the app sets both ends
up for you: it points the head's Pilot IP (parameter
vrx_target) at this machine and aims this machine's RC output (parameterrc_ip) at the head. - On a kit where two pilots share one head, that pick takes it off the other laptop, since the head streams to one address. The app asks first whenever the address the head is using is not one of this station's own - whether or not anything answers there, because aiming a head somewhere else is a setting written into somebody else's equipment. It names what stops on that machine and writes nothing until you confirm; nothing hands the head back, so the other pilot picks it again in their own switcher when they need it. Switching vehicles and cameras has the question in full.
So the head's own fly view is blank while it is streaming to you, and nothing is broken - every service on it really is healthy, it is simply delivering the picture somewhere else.
That last leg is an Ethernet cable, and it is the one hop no radio figure covers. The Ethernet cell in the stats strip under the video watches it: the negotiated link, and the share of video packets lost between the head and this laptop over the last ten seconds, green while the cable is clean. If the picture ever breaks up while RSSI and link quality read fine - the classic sign of a tired USB Ethernet adapter - that cell is where to look, and the picture breaks up while every radio figure reads healthy has the sequence to work through.
Radxa Zero 3 as a radio head and Ground station on Raspberry Pi 5 are the head's own setup.
Fly at 127.0.0.1
Open http://127.0.0.1/ on the laptop and you are on the fly view (on the station: OSD). On Windows that is what
the Sokil Web UI shortcut opens; type the numbers rather than localhost, which is tried as an
IPv6 address first and hangs.
The web OSD is the one to fly on, on all supported operating systems. It draws the overlay in the browser, records to this machine, and needs nothing installed beyond the station itself. The fly view is the screen; OSD settings is the overlay.
If the web OSD will not play on your laptop, the desktop Sokil OSD is the legacy fallback. It is a separate download on the Sokil OSD (Desktop) card of Help > Resources, for Linux and for Windows, and it reads the same streams - UDP 5600 for video and 14550 for MAVLink. Run one of the two at a time: both open the same stream and decode it twice. On a pre-Skylake Intel graphics chip its Direct3D 12 renderer hangs to a white window, and
renderer=glin its config is the fix.
What a laptop keeps switched off
Your laptop is a personal machine: it goes home with you and joins networks the kit knows nothing about. A station box on a closed field network can afford to answer anybody; a laptop cannot, so it ships with less open than every other ground station. Nothing here affects flying - video, the sticks, binding, the settings pages and updates you start yourself are untouched.
On Control > Network > Device discovery:
- Terminal (parameter
term_enabled) and Files (parameterfiles_enabled) are off. Those two pages give whoever can reach this laptop over the network a root shell and every file on it. Off, the laptop refuses them to everybody, and each page says so with a link to the switch. - Unsigned updates from other machines (parameter
update_remote_unverified) is off. Another machine can still update this laptop with a release whose signature checks out, and an update you start here is never affected - see Software compatibility. - Device discovery (parameter
disco_send) is off - the card's own switch. The laptop stops announcing itself to the whole network, so a station that is not its ground station will not find it. What that switch does not touch: the laptop still reports to its own ground station, and it still answers every camera pointed at it - the row Devices pointed at this one (parameterdisco_ctl) on the same card is exactly that list - so choosing the active camera keeps muting the others, and a camera's search for its station works as it always did.
For a support call, switch on what support asks for and switch it off afterwards. The three
switches are also in the Remote support dialog, under What support may do; removing the last
support device switches them off again, and so does a restart of Sokil, so a laptop you opened for
an hour does not stay open. They can be changed only on the laptop itself: open the interface
there at http://127.0.0.1/ - from another station the three rows are read-only and say so.
Every other ground station ships with all three on and behaves as before, and a camera has no such switches at all. Remote access and debugging is the whole picture of what a shell, the pages and a support engineer can reach.
Bind from the laptop
Bind from the screen you fly on, so the pilot's seat never moves:
- An Ethernet or ZeroTier aircraft binds straight here. Select it in the device selector and press Bind and fly in its status header - one press binds it and hands it control - or pick it in the Active vehicle picker on the fly view.
- A WiFi camera binds at the radio head, because that is the box with the radio - but you do not have to go there for it. The head's Bind WiFi sweep is driven from this screen too.
- Where that button is replaced by Cannot receive here, this station cannot receive that link: turn the missing leg on in VRX settings (on the station) > Connection, or bind the camera at the head.
Binding a camera to a station has both paths in full, what a bind copies, and how to get a camera back when it is paired somewhere else.
QGroundControl and Mission Planner
The overlay already reads the aircraft's telemetry, so nothing has to be forwarded just to see the aircraft. A ground-control app is a second reader - for the flight plan, the parameter tree, the preflight list - and it gets its own connection rather than a copy of the traffic, so it can send commands as well as read.
The station sends MAVLink to a fixed destination: the machine named by Pilot IP (parameter vrx_target)
(VRX settings > Receive > Destinations), on the MAVLink Port (parameter vrx_mavlink_port) (14550),
and a second stream on the Second MAVLink port (parameter vrx_mavlink2_port) (14560) where a repeater
carries its own. The two ports are on the MAVLink card of VRX settings > Receive, where only an
expert sees them. It does not follow whoever spoke to it last, so the app has to be listening where
the station is already sending. The other direction needs nothing: the app's commands go back to the
port the telemetry came from, and the station takes them there, so the app can command the aircraft
as soon as it sees it.
On the laptop itself, give the app its own port. The station's own sokil_web is already listening on 14550 here - that is how the web OSD gets the telemetry - and two programs cannot hold one UDP port. So:
- Open VRX settings (on the station) > Receive and find the MAVLink card. Under
Forwarding ("For QGroundControl or Mission Planner") pick UDP and give it an
address:port on this machine that nothing else uses -
127.0.0.1:14551, for example. - In QGroundControl or Mission Planner, create a UDP link that listens on the same local port (14551 in this example). Wait for incoming telemetry; do not use the station's port 14550 as a remote server address.
- Two heartbeats are normal: the aircraft's flight controller and the station's own.
On a second computer or a tablet, forward to that machine instead - its address on port 14550 - and let its firewall accept UDP on that port inbound.
Through a WiFi radio head, set the forward on the head. There the head receives the aircraft and
sends its telemetry straight to this laptop's port 14550, so this laptop's own MAVLink card carries
nothing (setup does not show it) and a forward set here would stay silent. Open the radio head's
VRX settings (on the station) > Receive instead and forward to this laptop's address with a port
of its own - 10.1.1.50:14551 on a standard kit - then have the app listen on 14551 as above.
A parameter download is slow over a radio link, and it is the usual reason a preflight list never finishes. The forward is a full two-way leg, so the app doing that download and the overlay on the main stream each get their own replies.
First checks
- Hardware (on the station) lists the handset adapter with its identification and the service holding it. On Windows, if there is no RC at all, check the Ports chip in the header first (it should read Ports: Sokil).
- Control (on the station) shows the CRSF row's input as Serial (UART) and its output as Send RC over UDP. On a USB joystick or a MAVLink radio the input is Generate from RC input with no serial port instead, and the output is the same.
- The fly view shows live video at
http://127.0.0.1/, and the overlay shows DISARMED and your flight mode. - Status (on the station) draws one stream per data path with a verdict on each, and Diagnostics (on the station) lists what the station found wrong about itself.
Then go back to the kit walkthrough and carry on with the flight controller and the handset.
Related guides
- Laptop pilot station - the adapters, pinning a serial port, the address plan and the full setup write table.
- Windows ground station - the installer, the USB devices, switching Sokil off and uninstalling.
- Mac ground station - the same for an Apple Silicon Mac.
- Supported hardware - which laptop and which operating system.
- Handset and CRSF - the adapter, its firmware and the transmitter modules.
- A radio that speaks MAVLink - flying from Skyline LRS, ELRS in MAVLink mode or SineLink instead.
- Binding a camera to a station - both bind paths.
- The fly view - the screen you have just set up.
- Sokil's Betaflight and ArduPilot builds - what one UART needs on the aircraft.