Skip to main content

Networking

AI Sapiens K1 supports multiple ways to connect to the robot's onboard PC (SBC), depending on your setup and use case.

  • USB (RNDIS/ECM)
  • Ethernet
  • Wi-Fi AP/STA Mode Switching

We recommend connecting over USB (RNDIS/ECM) first to SSH in and configure Wi-Fi, then switching to a wireless SSH connection afterward.

USB (RNDIS/ECM)

The onboard SBC's USB-C port (device mode, circled below) exposes a network interface over USB. Connect a USB-A-to-C (or USB-C-to-C) cable between your PC and this port.

AI Sapiens K1 SBC USB-C device-mode port

Once connected, your PC receives an IP address on the 192.168.55.0/24 subnet automatically via DHCP, and the robot can be reached at 192.168.55.1.

Pinging and connecting to the AI Sapiens K1 over USB from macOS

The robot can also be reached via mDNS instead of the fixed IP address — see How to SSH into the Robot.

Ethernet

The SBC has two RJ45 ports. The port circled below is a DHCP client, so connect it to the same network as your PC (e.g. via a router or switch) and it will obtain an IP address automatically — see How to SSH into the Robot for reaching it over mDNS.

warning

The other RJ45 port is already connected to the HAT board over a static address (192.168.10.2/24). Do not unplug it — doing so will break that link.

AI Sapiens K1 SBC Ethernet port
  1. Connect the robot's Ethernet port to your router or switch. It obtains an IP address automatically via DHCP.
  2. Connect your PC to the same router or switch.
  3. Reach it by hostname over mDNS — see How to SSH into the Robot. If mDNS isn't available on your network, check your router's admin page for the list of connected DHCP clients to find the robot's IP address instead.

Wi-Fi AP/STA Mode Switching

The robot's Wi-Fi radio runs in one of two mutually exclusive modes: hotspot (AP), where the robot broadcasts its own network, or station (STA), where it joins an existing Wi-Fi network. Switch modes with cycloctl wifi over an SSH session (see How to SSH into the Robot).

info

Wi-Fi isn't configured yet at this point, so connect over USB or Ethernet first, SSH in, and run these commands from there.

Start (or update) the hotspot with specific credentials:

cycloctl wifi hotspot --ssid cyclo-hotspot --password my-secret-pass

Start an open (unsecured) hotspot by omitting just --password:

cycloctl wifi hotspot --ssid cyclo-hotspot

Reuse the last saved hotspot credentials:

cycloctl wifi hotspot

Other optional flags: --channel (defaults to 6), --country (defaults to US), --iface (defaults to wlan0).

info

If the SSID doesn't show up on another computer, turn that computer's Wi-Fi off and back on.

Checking status

cycloctl wifi status
Mode: ap
SSID: cyclo-hotspot
Applied: yes
IP: 192.168.50.1

You can also check the underlying radio state directly:

ip --color address show wlan0
hostapd_cli status

Turning Wi-Fi off

cycloctl wifi stop