返回资讯中心
外部精选
软件工程
#开发者实时流

Putting a Wired Device on WiFi

Connect your printer, NAS, or game console to Wi-Fi with an ESP32 Ethernet board. Set up and manage the bridge from your browser.

Hacker News 最新imduffy152026/11/10 · 7 天前9 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

Connect your printer, NAS, or game console to Wi-Fi with an ESP32 Ethernet board. Set up and manage the bridge from your browser.

Install WiFi Bridge

This browser can't install firmware. The installer needs Web Serial, which desktop Chrome, Edge, and Opera support. Open this page in one of those browsers.

This page can't access serial ports. Open it over HTTPS or from localhost.

Connect the board over USB first (see the steps below). Then click Install and choose its serial port. On a first install, select Erase device.

The bridge connects one wired device on one side to your Wi-Fi network on the other.

Wi-Fi to Ethernet

The bridge joins your Wi-Fi network as a client and forwards traffic to and from the device plugged into its Ethernet port.

Same network, same addresses

The wired device gets its IP address from your router, and other devices on your network can reach it like any other client.

Web setup and updates

Set up Wi-Fi from your phone or laptop, check the bridge's status, and install firmware updates from your browser without a cable.

Set up, check connections, and install updates from your browser. Select a screenshot to see it full size.

One firmware image runs on all of these boards. It starts with the WT32-ETH01 Ethernet settings. To use a different board, choose it on the Ethernet tab of the bridge's page after you install.

You need a computer with desktop Chrome, Edge, or Opera, and a USB cable or USB-serial adapter. Installing takes a few minutes.

Boards with USB (Olimex, ESP32-Ethernet-Kit): Plug the board into your computer. The installer puts it into download mode for you.

WT32-ETH01 has no USB port. Connect a USB-serial adapter set to 3.3 V logic:

The ESP32 enters its bootloader only if IO0 is low at reset. Connect IO0 to GND, and then turn on the board (or briefly connect EN to GND). Leave the jumper in place until the installation finishes.

At the top of this page, click Install WiFi Bridge and choose the serial port (often CP2102, CH340, or FT232). If the port isn't listed, install the driver for your adapter. On Linux, add your user to the dialout group.

On a first install, or when you replace other firmware, select Erase device. This removes old settings that could interfere with the bridge. Installing takes about a minute.

On a WT32-ETH01, remove the IO0 jumper and turn the board off and on again (or briefly connect EN to GND). Boards with USB restart automatically.

If you didn't enter your Wi-Fi network in the installer, connect to the bridge in one of these ways.

From a phone or laptop, join the setup network wifi-bridge-xxxxxx. The suffix comes from the board's MAC address (its hardware address). The setup page opens automatically. If it doesn't, go to http://192.168.4.1.

Plug a computer into the board's Ethernet port. The computer gets an address automatically. To open the same setup page, go to http://192.168.5.1.

Choose your Wi-Fi network, enter its password, and accept the suggested management address: the fixed IP address of the bridge's page. If your board isn't a WT32-ETH01, choose it on the Ethernet tab afterward. Plug in the wired device, and it appears on your network.

Install esptool, put the board in download mode, and run:

esptool.py --chip esp32 write_flash 0x0 wifi-bridge-<version>.factory.bin

To start from an empty flash, run erase_flash as a separate command first.

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →