News

TinyWifiDongle can give a headless home AI server emergency Wi-Fi, but not a fast link

Email

TinyWifiDongle turns an inexpensive ESP32 or Raspberry Pi Pico board into a USB Wi-Fi adapter without asking the host computer to install a custom driver on Linux, macOS or Windows 11.[1] For a headless home AI server, that makes the open-source Arduino library an appealing recovery tool: once the board is flashed and configured, it can provide enough network access to repair a failed Ethernet configuration.

Keep the Ethernet cable. Developer testing puts the ESP32-S3 at roughly 600 KB/s and the Raspberry Pi Pico 2 W at about 250 KB/s, while the project’s own issue notes document disconnects that can occur under sustained load.[2][3] This is management-link speed with prototype-grade reliability, not a cheap upgrade for moving model weights.

What the little board is doing

The library makes the microcontroller appear to the host as a USB CDC-NCM network adapter. It bridges Ethernet frames between USB and the board’s Wi-Fi radio at Layer 2, so the server gets its IP address from the normal router rather than sitting behind a second layer of network-address translation.[1]

That approach is attractive for a recovery adapter because Linux, macOS and Windows 11 already include CDC-NCM drivers. Windows 10 needs an additional driver.[1] The developer has only documented board testing with Linux and NetworkManager, however, so built-in driver support on macOS and Windows 11 should not be mistaken for a successful end-to-end test on those systems.[2]

The tested hardware list is narrower than the headline list. The developer tested an ESP32-S3 with the arduino-esp32 3.3.12 core and a Raspberry Pi Pico 2 W with arduino-pico 6.3.1.[1][2] ESP32-S2 support shares the same code path but was not the tested board. The original Pico W also remains untested. ESP32-P4 support compiles and its Wi-Fi side was tried with a companion ESP32-C6, but the USB side has not been tested because the board used did not expose the required USB-OTG connection.[2]

The original ESP32, ESP32-C3 and standalone ESP32-C6 are not supported because they lack the required USB device controller. Whichever supported board you use must connect through its native USB or USB-OTG port, not merely a USB-to-serial socket.[1]

TinyWifiDongle is available now under the MIT license, with a public v0.1.0 release and installation by ZIP or Git.[1][6] CNX Software brought fresh attention to it on November 24, but the repository’s inspected main-branch history currently ends on October 30.[1][5] It is better described as a newly reported option than as code released that morning.

Fast enough for SSH, painfully slow for models

The developer reports 530 to 615 KB/s for the ESP32-S3 and 110 to 325 KB/s for the Pico 2 W, with the Pico averaging about 250 KB/s.[2] Both use 12 Mb/s full-speed USB, so the wire itself limits the adapter before modern Wi-Fi becomes interesting.

At the rounded reported rates, 600 KB/s is 4.8 Mb/s and 250 KB/s is 2 Mb/s. A 1 GB file would need about 28 minutes on the ESP32-S3 or 67 minutes on the Pico 2 W if those rates held. A 10 GB model would turn into an overnight transfer: roughly 4.6 hours or 11.1 hours before allowing for overhead or failures.

That is still enough for SSH, a web administration page, logs, small configuration files and package metadata. It may even carry a small software update if patience is cheaper than walking to the machine. It is a poor route for copying model weights, datasets or large container images. Leave bulk traffic on wired Ethernet or a conventional Wi-Fi adapter.

The figures are developer tests, not HighVRAM measurements or independent benchmarks. The ESP32-S3 result came from sustained 3 MB downloads, while the Pico testing included 40 consecutive 3 MB downloads and reported about 1.5% of frames toward the host dropped when its buffer pool filled.[2] Those details are useful, but they do not show how the adapter behaves across different routers, USB controllers or operating systems.

The reliability catch matters more than the speed

On the ESP32-S3, the developer traced a USB stall to a race involving the Arduino core’s TinyUSB task and interrupt. Pinning them to the same CPU core made the problem rarer, but the project still reports a stall about once per 100 to 200 MB of transfer.[3] The default watchdog re-enumerates USB within a second or two. That recovery also breaks open connections and makes NetworkManager restart DHCP.[3]

The Pico 2 W avoids that USB stack, but it has its own unresolved mark. One long download test ended in a reboot after about 10 minutes and 147 MB. The board did not repeat the failure during two later runs of 229 MB and 120 MB, yet NetworkManager did not automatically bring the adapter back after the reboot.[3]

One unexplained reboot does not prove that every Pico is unstable. It does mean this is the wrong place for a promise of unattended failover. A fallback adapter that vanishes and returns as a USB device is only useful if the host restores the connection and routes traffic through it without a person at the keyboard.

Linux also needs deliberate route setup when the server’s primary interface and TinyWifiDongle sit on the same network. The project recommends giving the dongle a higher route metric so normal traffic stays on the faster connection, and it warns that NetworkManager can install routes for only one of two interfaces on the same subnet.[4] There is no Wake-on-LAN support.[4]

Where it fits

TinyWifiDongle makes the most sense as a bench tool or a prepared recovery link for a machine that normally uses Ethernet. An ESP32-S3 is the better-tested choice when speed matters; the Pico 2 W avoids the known ESP32 USB race but has the unexplained reboot in its record. Neither has enough evidence for a set-and-forget production failover role.

Flash the board, configure credentials, set the host’s route priority and then test the failure you actually care about: unplug Ethernet, reboot the server, force the adapter to re-enumerate and confirm that remote access returns. Do that before the server is headless and inconvenient. If a conventional Linux-supported USB Wi-Fi adapter fits the budget and chassis, it remains the safer choice for sustained or unattended use.

For a spare microcontroller already in the drawer, TinyWifiDongle is a clever way back into a stranded box. Its next meaningful milestone is not a higher headline speed. It is a long, independently repeated run in which the adapter fails over and comes back without someone standing beside it.

Sources

  1. TinyWifiDongle repository and README
  2. TinyWifiDongle platform status and throughput
  3. TinyWifiDongle known issues
  4. TinyWifiDongle host setup tips
  5. CNX Software: TinyWifiDongle Arduino library report
  6. TinyWifiDongle v0.1.0 release

Share this article

Email