For the complete documentation index, see llms.txt. This page is also available as Markdown.

Device USB Mode (OTG)

The Go supports USB Device mode, also known as the USB-C On The Go (OTG) interface. It allows you to establish direct Ethernet connection between your laptop and the WLAN Pi via USB-C port.

Ethernet over USB

You can directly connect your WLAN Pi Go to your laptop or iPad and SSH to it via Ethernet over USB, use it as a sensor, or access the WebUI. The WLAN Pi is powered from your device and uses the same USB connection for data communication.

If you plug WLAN Pi Go in device mode to your laptop or iPad, they will establish a direct virtual Ethernet link running over the USB port. The protocol is called Remote Network Driver Interface Specification (RNDIS).

Connect via USB-C from your device to WLAN Pi

  1. Connect the USB-C port of your WLAN Pi Go to your laptop, iPad, tablet or USB-C phone

  2. Wait for few minutes for the Pi to boot.

  3. The WLAN Pi automatically uses IP address of 10.42.0.1 on its usb0 interface

  4. Ping the WLAN Pi from your laptop over the USB link using its IP address.

ping 198.18.42.1

This 198.18.42.1 IP address will be the same every time. It is statically configured on the WLAN Pi's USB interface.

  1. And you can browse to the web interface listening at https://198.18.42.1.

Accessing WLAN Pi web interface via USB-C connection
Apple instructions
  1. After connecting the WLAN Pi to your Mac, allow the WLAN Pi to connect to your Mac.

Security warning
  1. Wait for the WLAN Pi to boot up and restart it.

  2. On Mac, head over to Systems Settings > Network. There is a RNDIS/Ethernet Gadget device virtual Ethernet device.

RNDIS interface on macOS
  1. The MacBook got an IP address of 10.42.0.46/24 via DHCP.

Dynamically assigned IP address by WLAN Pi to MacBook via DHCP
  1. The IP Address of the Go is 198.18.42.1.

On iPadOS it looks very similar. You will see a new "Ethernet" device in Settings.

Windows instructions

Windows see the WLAN Pi similarly to Mac.

  1. Hit Win+R shortcut to open the run dialog. Type ncpa.cpl and press Enter.

  2. You should now be in Network Connections and see a new LAN connection using the RNDIS protocol.

  3. Double click on the new LAN connection

  4. Click on Details to view the IP address

  5. Here you will see your IP Address and the IP address of the WLAN Pi Go. The IP Address of the Go is 198.18.42.1.

If you are a Windows user, this guide might help you troubleshoot any issues with the device mode OTG connection.

https://github.com/WLAN-Pi/drivers/blob/main/RNDIS.md

Last updated

Was this helpful?