Pico W 固件可创建免驱动的 USB WiFi 桥接器(二层网络)
Pico W firmware creates driverless USB WiFi bridge (Layer-2)

原始链接: https://www.cnx-software.com/2026/07/16/pico-usb-wifi-converts-the-raspberry-pi-pico-w-into-a-driverless-usb-wifi-adapter/

**pico-usb-wifi** 是一个开源项目,它能将树莓派 Pico W 转换为一个无需驱动的 USB WiFi 适配器。通过实现透明的二层(Layer-2)网桥,它允许任何支持 USB CDC-NCM 标准的设备(包括 Windows、Linux 和 macOS 系统)通过 Pico W 的无线模块访问 WiFi 网络。 主要功能包括: * **即插即用:** 作为 USB 小工具运行,将 WiFi 连接显示为标准的以太网接口。 * **直接路由:** 支持 IPv4 和 IPv6,无需 NAT、端口转发或复杂的子网配置。 * **安全性:** 兼容 WPA2-PSK 和 WPA3-SAE 身份验证。 * **轻松管理:** 通过串行控制台(CDC-ACM)管理 WiFi 凭据和设置。 尽管硬件受限于 Pico W 的 12 Mbps USB 1.1 接口(平均吞吐量约为 4.75 Mbits/秒),但该项目作为为缺乏 WiFi 的设备添加联网功能的应急工具非常实用。该固件基于 Pico SDK 构建,用户既可以直接烧录预编译的 UF2 二进制文件,也可以从项目的 GitLab 仓库直接编译源代码。

抱歉。
相关文章

原文

pico-usb-wifi is an open-source firmware project that converts the Raspberry Pi Pico W into a driverless USB WiFi adapter that works with Windows, Linux, macOS, and other operating systems with USB CDC-NCM support.

The Infineon CYW43439 chip found in the SBC can’t be used directly as a USB to WiFi bridge, and instead, the firmware implements a transparent Layer-2 bridge between the Pico W’s wireless module and USB interfaces. It basically works as an Ethernet to WiFi gateway/bridge, which exposes an Ethernet connection through USB (aka USB gadget mode) used to route Wi-Fi packets from the network.

raspberrypi pico w usb wifi adapter
Image source: project’s GitLab repo

pico-usb-wifi highlights:

  • Transparent Layer-2 Bridging between the Pico W’s wireless and USB interfaces
  • Exposed as a USB CDC-NCM device
  • IPv4 and IPv6 with no NAT, no private subnet, and no port-forwarding to configure
  • Out-of-band management and debug consoles over CDC-ACM serial
  • WPA2-PSK and WPA3-SAE authentication (and open networks)
  • Throughput – Average 4.75 Mbits/sec; mostly limited by the 12 Mbps USB 1.1 interface

pico-usb-wifi architecture

Raspberry Pi Pico W USB WiFi adapter
Another AI-generated from the project’s repo showing the connection

Considering a low-end WiFi USB dongle costs $2-$3 and up, and the limited performance of the solution, it’s mostly useful for an emergency when you need WiFi connectivity and have a spare Raspberry Pi Pico W lying around. I don’t think it’s possible to significantly improve the performance over the native USB port, but as noted by the developer (白一百, baiyibai), leveraging the programmable I/Os on the RP2040 might be an option, and the Pico-100BASE-TX project might be a starting point.

WiFi credentials and other parameters can be configured through the management console:


Besides the /dev/ttyACM0 management port, the /tty/ttyACM1 port is used for debugging. While designed for the Pico W board, it might also work for the Pico 2 W by compiling for the latter (TBC).

The project has been designed with Claude Code (around one million tokens used), and the source code (C, based on the PicoSDK), explanations on how it all works, and instructions to build the firmware from source can be found on GitLab. Alternatively, you can download and install the pico-usb-wifi.uf2 binary directly on our board.

Via Adafruit

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress. We also use affiliate links in articles to earn commissions if you make a purchase after clicking on those links.

联系我们 contact @ memedata.com