WendyOS Docs
Detailed referenceWendyos

WendyOS networking overview

WendyOS supports device management over USB, Ethernet, and Wi-Fi, plus application communication through Wendy Net. Choose the workflow you need:

WendyOS networking overview

WendyOS supports device management over USB, Ethernet, and Wi-Fi, plus application communication through Wendy Net. Choose the workflow you need:

  • Wendy Net connects enrolled devices over enabled local transports, including routes through intermediate devices. Internet sharing and roaming are separate opt-ins.
  • App service discovery lets isolated apps advertise and browse ordinary mDNS services across Wendy Net. TCP and UDP access requires explicit port mappings.
  • USB NCM provides a direct management connection. On Linux, wendy discover offers the one-time host link setup when needed.
  • mDNS and authentication explains LAN discovery. Advertisements are routing hints; enrolled devices authenticate with mTLS on port 50052.

The USB-specific sections below describe the gadget network, not the entire Wendy Net address space. Wendy Net service apps use 10.99.0.0/16; applications must use locally resolved addresses rather than infer addresses from device IDs.

USB gadget architecture

On the Dragonwing IQ8, use USB2 (micro-USB) for this connection after WendyOS boots. USB0 (USB-C) is reserved for EDL/recovery flashing. The port assignment is the same with the stock Qualcomm or a replacement Intel M.2 card.

WendyOS device                          Host computer
───────────────────────────────         ───────────────────────────────
  usb0 (NCM gadget interface)  ←USB→    enxXXXXXXXXXXXX (CDC NCM)
  IPv4: DHCP client (or shared)         IPv4: 10.42.0.1/24 (NM shared)
  IPv6: link-local (auto)               IPv6: link-local (auto)
  mDNS: _wendyos._udp (Avahi)           mDNS discovery (avahi-browse/dns-sd)
  /dev/ttyGS0 (ACM serial)     ←USB→    /dev/ttyACM0 (serial console)

Components

ComponentRoleSource
gadget-setup.shConfigures the USB gadget in configfs at bootrecipes-core/gadget-setup/
systemd-networkdManages usb0 IP configurationrecipes-core/systemd/
dnsmasqOptional on-device DHCP server for usb0recipes-support/gadget-network-config/
radvdIPv6 Router Advertisement daemon on usb0recipes-connectivity/radvd/
AvahimDNS service broadcasting (_wendyos._udp)recipes-connectivity/avahi/
generate-hostname.shSets a stable device hostname before Avahi startsrecipes-connectivity/avahi/
update-mdns-uuid.shInjects device UUID and name into the Avahi service filerecipes-core/wendyos-identity/

Topics

USB management addresses

WhatValue
Device usb0 IPv4 (DHCP client mode)Assigned by host (typically 10.42.0.2–10.42.0.5)
Host IPv4 when using NetworkManager shared10.42.0.1/24
dnsmasq pool (on-device DHCP server mode)10.42.0.2–10.42.0.5
USB IPv6Link-local (fe80::/64, derived from MAC via EUI-64)
mDNS service_wendyos._udp, port 50051 pre-provisioning / 50052 post-provisioning
mDNS hostnamewendyos-<device-name>.local or wendyos-<short-uuid>.local

Platform Notes

WendyOS runs on multiple hardware platforms. Networking behaviour is identical across them, but the underlying USB controller differs:

PlatformUSB ControllerUSB Version
Raspberry Pi 5dwc2USB 2.0
Jetson AGX Orin / Orin Nanotegra-xudcUSB 3.2
Dragonwing IQ8a400000.usbUSB 2.0
Other Linux (generic)Detected at runtimeUSB 2.0 fallback

The virtual machine boards (vm-arm64-wendyos, vm-x86-64-wendyos) do not use USB NCM gadget networking. They emulate a standard virtio network device instead.

Current control paths

The CLI uses the agent's gRPC service for management, including mTLS for enrolled devices. Wendy Net has its own authenticated peer connections and app service publication. Device discovery, management authentication, and app discovery are separate; finding a device does not publish every container port.

Wi-Fi configuration currently uses NetworkManager through nmcli. Wendy Net participation and transport settings use wendy net configure; they do not replace wendy device wifi connect for joining an ordinary Wi-Fi network. See Wi-Fi setup and the Wendy Net settings reference.

On this page