> **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="gs-mac"></a>

# Mac ground station

**Summary:** Sokil for macOS on an Apple Silicon Mac - what the installer changes on the Mac, choosing the camera-LAN adapter, handing USB devices between Sokil and macOS, activation, sleep, turning it off and on, uninstalling it, and what a Mac station cannot do.

**Audience:** pilots and field integrators

Open in the UI: http://10.1.1.30/help/guides/gs-mac

**Sokil for macOS** turns an Apple Silicon Mac into a ground station. The station is the same Linux
software every other ground station runs, inside a small virtual machine that the installer builds
and starts for you, and you fly on the **Web OSD** in a browser on the Mac. The handset, the adapters
and what setup writes are the laptop station's: [Laptop pilot station](gs-laptop.md#gs-laptop). This
page is what is different on a Mac - what the installer does to it, which camera-LAN adapter to
pick, which USB devices Sokil takes and how to give them back, and what a Mac station cannot do.
It is the twin of [Windows ground station](gs-windows.md#gs-windows).

<a id="gs-mac--what-it-is"></a>

### What it is

- **A Mac with an Apple chip (M1 or later) and macOS 13 Ventura or newer.** An Intel Mac is not
  supported; the installer checks both and stops if either is not met.
- The package installs the station and the Web OSD, and nothing else; the native Sokil OSD is a
  separate download -
  [where the software comes from](gs-laptop.md#gs-laptop--where-the-software-comes-from).
- **Open the web UI and the Web OSD at `http://127.0.0.1/`**, which is what the _Sokil Web UI_ app
  opens. The address is the Mac itself, and browsers treat it as a secure address the way they treat
  `localhost`, so the Web OSD's video decoder is available there - provided the browser supports the
  camera's codec (["This browser can't decode H.265"](troubleshooting-video.md#troubleshooting-video--this-browser-can-t-decode-h-265)).
- **Wired cameras need a network adapter of their own.** The station reaches the camera LAN through
  one Ethernet adapter, chosen at install; you can change it later in the web UI. The Mac keeps using its other connections as before.

⚠ **Use a Mac dedicated to the ground station when you can.** The installer adds a background helper
with administrator rights, takes over three kinds of USB device and runs a virtual machine from
every login. The next section lists all of it.

**What Sokil does NOT take.** The Mac's own network connections keep working for macOS exactly as
before, and so does its own ZeroTier client if it has one. And it takes only the
three kinds of USB device below; anything else - a mouse, a keyboard, a webcam, a USB drive, a USB
network adapter - stays with macOS.

<a id="gs-mac--what-the-installer-changes-on-the-mac"></a>

### What the installer changes on the Mac

The installer prints this list and asks `Continue? [y/N]` before it changes anything. Answering
anything but `y` leaves the Mac as it was.

- **One administrator password, asked once**, to install the helper **sokil-hostd**. It is a small
  background service that starts with the Mac and hands the radio, the USB adapters and the
  camera-LAN adapter to Sokil, and it answers the station's activation. Its files and log live under
  the system's `Library` folder. The only other thing it touches is the macOS firewall: while a VPN
  such as WireGuard is connected on the Mac and the station is running, it adds a rule for that VPN so
  the station can reach the devices behind it, and removes it when the VPN goes away or the helper
  stops.
- **The Sokil virtual machine** in a hidden `.sokil` folder in your home folder, with a 20 GB disk
  that grows only as it is used. It takes half the Mac's processor cores (two to four) and 4 GB of
  memory (2 GB on a Mac with less than 16 GB).
- **A download of about 1 GB**, the Ubuntu image the machine is built from. The first start takes a
  few minutes: the installer waits for the web UI to answer before it says it is done. Without a
  connection, the installer can use a copy of the image you give it.
- **A login item.** The station starts at every login and comes back after sleep (below).
- **Two apps** in the `Applications` folder of your home folder: _Sokil Web UI_, which opens
  `http://127.0.0.1/` (and starts the station first if it is switched off), and _Stop Sokil_, which
  switches the whole station off ([below](gs-mac.md#gs-mac--turning-sokil-off-and-on)).
- **Three kinds of USB device**, while Sokil owns them:

| Hardware id | Device |
| --- | --- |
| `1a86:7523` | a CH340 USB serial chip - on many ESP32 and Arduino-type boards and USB serial adapters |
| `303a:1001` | an Espressif ESP32-C3 or ESP32-S3 on its built-in USB |
| `1209:4f54` | an EdgeTX radio in USB Joystick mode |

⚠ **Every plugged-in device with one of these ids is taken from macOS programs and given to Sokil
within a few seconds**, and hidden from them while it is attached - nothing in EdgeTX Companion,
Betaflight, a simulator or the Arduino and ESP flashing tools. That is not only the station's own
adapters: an Arduino clone with a CH340 or an ESP32-C3 / S3 development board plugged into this Mac
goes to Sokil too. Other USB devices are never touched. The header's **Ports** chip, below, gives them back.

Inside the machine are the station's SSH account (support provides the credentials), an SSH server,
ZeroTier and the Sokil services.

<a id="gs-mac--installing"></a>

### Installing

1. Download the **Sokil for macOS** package from **Help > Resources** and unzip it.
2. Double-click `install_macos.command`. macOS may refuse a script that came from the internet:
   right-click it and choose **Open**, then **Open** again.
3. Choose the camera-LAN adapter when asked (below), read the list and answer `y`.
4. Type the administrator password when asked - once.
5. Wait. The first start takes a few minutes. Read the last screen: **Sokil installation COMPLETE**
   is done; **COMPLETE WITH WARNINGS** lists the optional steps that did not work and is not a
   failure; **Sokil installation FAILED** names the step and the log file, and running the
   installer again continues where it stopped -
   [the Mac installer fails part way](troubleshooting-pilot-computer.md#troubleshooting-pilot-computer--the-mac-installer-fails-part-way).
6. Open **Sokil Web UI** and set the station up as a laptop station:
   [what setup asks and writes](gs-laptop.md#gs-laptop--what-setup-asks-and-writes).

An ESP32-C3 or ESP32-S3 adapter appears inside the station as `/dev/ttyACM0`, while the handset
input's **Serial port** (parameter `rc_crsf_serial`) defaults to `/dev/ttyUSB0`. Check the port on the
[Hardware page](http://10.1.1.30/gs/hardware) and pick it on the **RC input** card of **Control > RC Wiring**.

<a id="gs-mac--choosing-the-camera-lan-adapter"></a>

#### Choosing the camera-LAN adapter

The installer asks which adapter is on the camera LAN, and offers only wired-style ones.

- **A USB Ethernet adapter is the recommended choice**: plug it in before you start, and the
  installer picks it (if there is one candidate, it simply takes it; with several it lists them and
  you type a number). The camera, a switch or an access point goes on its cable.
- **No adapter is plugged in.** The installer offers three answers: plug one in and press Enter,
  `w` to use the Mac's **Wi-Fi** for the camera LAN instead, or `n` for no camera LAN for now
  (running the installer again later chooses one). Wi-Fi works, but the Mac's own internet then
  shares that radio; a wired adapter keeps the two apart.
- **To change the adapter later**, open **Control > Network** and use the **Camera LAN adapter** card: pick
  another adapter in the list and press **Use this adapter**. The station restarts its virtual machine
  to switch, so video, telemetry and RC through it stop for about 1 to 2 minutes - do not do it in flight.
  The card lists the wired adapters plugged in now and the Mac's **Wi-Fi**, so an adapter you plug in
  later shows up within about 10 seconds, with no reinstall. Choosing an adapter on a station installed
  with no camera LAN still means running the installer again.

Whatever you choose, the station is one more host on the camera LAN with its own address, and it
also carries the field address `10.1.1.50` there. The camera LAN never becomes the station's
internet connection, so the Mac's own internet is unaffected. If the chosen adapter is unplugged,
the station keeps running without a camera LAN and bridges it again when the adapter comes back.

<a id="gs-mac--usb-devices-sokil-or-macos"></a>

### USB devices: Sokil or macOS

Only one side can use a device at a time. Sokil needs the radio or the adapter to fly; macOS needs it
for EdgeTX Companion, Betaflight, a simulator or a flasher.

<a id="gs-mac--the-first-time-a-device-is-plugged-in"></a>

#### The first time a device is plugged in

macOS asks **Allow accessory to connect?** the first time each of these devices is plugged in.
**Click Allow.** Until you do, Sokil never sees the device.

<a id="gs-mac--for-a-while"></a>

#### For a while

The **Ports** chip in the header of the web UI moves all three device types at once. Open it and
choose **Mac** (after confirming) and the devices are released to macOS programs within a second - open
EdgeTX Companion or a flasher; choose **Sokil** to fly. **When there is no RC, check this chip first.**
Diagnostics raises it as a finding too. The choice lasts until the station starts again: at every login and every
restart of the station, everything goes back to Sokil.

<a id="gs-mac--for-good"></a>

#### For good

There is no per-device setting. To keep the devices on macOS until you need Sokil again, switch the
station off with **Stop Sokil** ([below](gs-mac.md#gs-mac--turning-sokil-off-and-on)); to keep them there for good,
uninstall Sokil ([below](gs-mac.md#gs-mac--uninstalling)).

<a id="gs-mac--activation"></a>

### Activation

The station's activation is tied to **the Mac**, not to the virtual machine. Reinstalling Sokil,
rebuilding the machine or running the installer again changes nothing about it: **the key from the
activation page works again** as soon as the station is back. Nothing needs to be copied between
machines. If Diagnostics says the Mac's identity cannot be read, see
[Diagnostics says Sokil cannot read this Mac's identity](troubleshooting-pilot-computer.md#troubleshooting-pilot-computer--diagnostics-says-sokil-cannot-read-this-mac-s-identity).

<a id="gs-mac--sleep-restart-and-login"></a>

### Sleep, restart and login

- **The station starts by itself at login**, and comes back by itself after the Mac sleeps or
  restarts or the station stops for any reason - nothing needs to be opened - unless you switched it
  off with **Stop Sokil** ([below](gs-mac.md#gs-mac--turning-sokil-off-and-on)). It is ready when the web
  UI answers; the very first start after installing takes a few minutes.
- **Nothing runs before you log in.** The station is part of your user session, so after a restart
  the web UI stays silent until you sign in to the Mac. That is by design.
- **Do not let the Mac sleep in flight**: a station that restarts takes a while to be back.

<a id="gs-mac--turning-sokil-off-and-on"></a>

### Turning Sokil off and on

The whole station - the virtual machine and the helper - switches off and on from two apps in the
`Applications` folder of your home folder. No Terminal is needed.

**Off: Stop Sokil.** It asks _Stop Sokil?_; click **Stop Sokil**, then type the administrator
password (or use Touch ID). Within about a minute the station shuts down, every USB device goes back
to macOS and the helper's VPN firewall rule is removed. **It stays off** - after you log out, after a
restart, after sleep - until you open **Sokil Web UI**. Nothing of Sokil runs and no device is taken
meanwhile.

**Or from the web UI.** In the browser on this Mac, the red **Shut down** button on a settings
page does the same: confirm _Shut down Sokil on this Mac?_ and the station switches off as above,
with no password asked. A browser on another computer does not show the button.

**On: Sokil Web UI.** Opened while the station is off, it asks for the administrator password,
starts the helper and then the station, and opens the web UI when it answers, usually within a minute
or two (up to three). From then on the station starts at every login again.

- Opening **Sokil Web UI** on a running station only opens the page; stopping a stopped station
  changes nothing. Neither asks for a password.
- Running the installer again also switches a stopped station back on.
- Do not stop the station in flight: video, telemetry and RC through it stop at once.

<a id="gs-mac--uninstalling"></a>

### Uninstalling

Double-click `uninstall_macos.command` from the unpacked package (right-click > **Open** the first
time). It lists what it will remove and asks `Continue? [y/N]`; then it asks for the administrator
password once. It removes:

- the helper sokil-hostd, its login-time startup, its log and every USB device it held - they go
  back to macOS;
- the login item and the _Sokil Web UI_ and _Stop Sokil_ apps;
- the virtual machine with its disk, the downloaded Ubuntu image and the hidden `.sokil` folder;
- the install logs.

<a id="gs-mac--what-it-keeps"></a>

#### What it keeps

- **The virtual machine, if you say so.** It asks `Keep the VM?`: answer `y` to keep the machine, its
  disk and the record of the install, so a later reinstall brings Sokil's settings back as they
  were. Answer `n` to remove everything; `--keep-vm` decides it up front.
- **Your own software.** The Mac's own ZeroTier client, other virtual machines and Homebrew are
  never touched.

It works the same on a station that is switched off. The last screen says **Sokil was removed from this Mac** or lists what was left behind; the log
named at the bottom has the detail. Unattended, the uninstaller needs `--yes` (it then removes the machine unless
`--keep-vm` is given).

<a id="gs-mac--networking-and-remote-access"></a>

### Networking and remote access

- **From another device on the network**, a tablet or another computer opens the web UI at the
  station's own address on the camera LAN, `http://10.1.1.50/` on a field network. Over plain
  http on a network address the browser needs the secure-origin exception before it decodes video -
  [the video pane says "Video is blocked on this address"](troubleshooting-video.md#troubleshooting-video--the-video-pane-says-video-is-blocked-on-this-address-overlay-and-telemetry-work).
  The Mac itself opens `http://127.0.0.1/`.
- **SSH**: `ssh -p 2222 <account>@127.0.0.1` from the Mac, with the station's SSH account (support
  provides the credentials), then `sudo -i`.
- **It cannot hand out addresses.** _Hand out addresses to devices on this wire_ (parameter `eth_dhcp_server`)
  (**Control > Network > Ethernet**) is kept but never applied on a Mac, and Diagnostics says so.
  Give the cameras fixed addresses, or let a router or a Linux ground station on the same switch hand
  them out.
- **Devices on the Mac's other networks** - its Wi-Fi or office network, or a network behind a VPN
  connected on the Mac (WireGuard) - are found with **Scan network** on **Nearby devices**, and their
  settings, files and updates work from the station. They cannot reach the station by themselves, so
  they never show up without a scan, and live video from a camera on them needs the camera-LAN
  adapter. For the same reason the station refuses to bind such a camera over Ethernet: plug it
  into the camera-LAN adapter, or bind it over ZeroTier.
- **ZeroTier** runs inside the station and is up only while the station is. The Mac's own ZeroTier
  client does not conflict with it.
- **The Terminal and Files pages ship switched off here**, and so do unsigned updates sent from
  another machine, and **Device discovery** itself: a Mac is a personal machine, so Sokil treats it as
  a pilot's laptop whatever it is plugged into. All four switches are on Control > **Network** >
  **Device discovery**, and the first three can be changed only on this Mac, in the interface at
  `http://127.0.0.1/`; they switch off again whenever the station restarts. [What a laptop keeps
  switched off](pilot-laptop.md#pilot-laptop--what-a-laptop-keeps-switched-off) has the whole list and what
  to do for a support call.

<a id="gs-mac--when-something-is-wrong"></a>

### When something is wrong

The troubleshooting guide has one block per symptom:

- [The Mac installer fails part way](troubleshooting-pilot-computer.md#troubleshooting-pilot-computer--the-mac-installer-fails-part-way)
- [The Mac's own USB devices stopped working after installing Sokil for macOS](troubleshooting-pilot-computer.md#troubleshooting-pilot-computer--the-mac-s-own-usb-devices-stopped-working-after-installing-sokil-for-macos)
- [The web UI does not open on a Mac station](troubleshooting-pilot-computer.md#troubleshooting-pilot-computer--the-web-ui-does-not-open-on-a-mac-station)
- [Diagnostics says Sokil cannot read this Mac's identity](troubleshooting-pilot-computer.md#troubleshooting-pilot-computer--diagnostics-says-sokil-cannot-read-this-mac-s-identity)
- [Diagnostics says the Sokil helper on the Mac is not running](troubleshooting-pilot-computer.md#troubleshooting-pilot-computer--diagnostics-says-the-sokil-helper-on-the-mac-is-not-running)
- [The station's USB radio disappeared on a Mac station](troubleshooting-network.md#troubleshooting-network--the-station-s-usb-radio-disappeared-on-a-mac-station) - no RC
- [Cameras cannot reach a Mac station](troubleshooting-network.md#troubleshooting-network--cameras-cannot-reach-a-mac-station)
- [A Mac station cannot hand out addresses to cameras](troubleshooting-network.md#troubleshooting-network--a-mac-station-cannot-hand-out-addresses-to-cameras)
- ["This browser can't decode H.265"](troubleshooting-video.md#troubleshooting-video--this-browser-can-t-decode-h-265)

<a id="gs-mac--related-guides"></a>

### Related guides

- [Laptop pilot station](gs-laptop.md#gs-laptop) - the handset adapters, pinning them, and what
  setup writes on a laptop.
- [Windows ground station](gs-windows.md#gs-windows) - the same station on a Windows PC.
- [Supported hardware](supported-hardware.md#supported-hardware) - which laptop, and the Mac requirements.
- [Troubleshooting](troubleshooting.md#troubleshooting) - every symptom with its fix.
