
虽然市面上有便宜的手持测试仪,可以告诉你以太网接口是否接线错误、线缆本身是否有断线,但要判断其上是否跑着活跃的 TCP/IP 网络,就稍微困难一些。也有商用测试仪能检测这类问题,但它们要贵得多。因此,在排查不稳定的网络连接时,往往得随身带着笔记本电脑,在不同的节点插上试一试,以便定位问题所在。
如果你偶尔也会遇到这种情况,[theo79] 的 Syndetis 项目或许值得一看。这款适用于 WT32-ETH01 的固件把 ESP32 开发板变成了一款便捷的网络测试仪,可以判断以太网链路状态、ping IP 地址、通过链路层发现协议(LLDP)检测其他设备,甚至嗅探出 DHCP 之类的活跃服务。再加上一块 128×64 的 OLED 显示屏、几个按钮和一个 USB 充电宝,你就拥有了一套可装进口袋的独立诊断工具。
凡是曾不得不挤进配线间的人,都会欣赏这款设备的独立运行特性。不过,如果空间允许你带上手机、还能腾出一只手来操作,该固件也提供了可通过 WiFi 访问的网页界面。
它将为你呈现比 OLED 屏幕和按钮更精致一些的界面,让你更全面地查看网络上正在发生的情况。你还可以生成诊断报告,保存为 JSON 文件以供日后分析。
如果你不需要这些花哨的功能,只想快速判断一根以太网线缆是否正常,我们曾介绍过一款采用经典的 555 定时器的 DIY 测试仪。如果手边有万用表,你甚至只需一块裸 PCB 就能搞定。
本文来源:https://hackaday.com/2026/11/24/troubleshooting-ethernet-networks-with-the-esp32/
若有版权问题,请来信告知:13951431913#139.com 或在右方提交评论。

While there are cheap handheld testers that can tell you if an Ethernet jack is wired improperly or if the cable itself has a broken conductor, figuring out if there’s a live TCP/IP network over it is a little more difficult. There are commercial testers that can detect those sorts of issues as well, but they’re considerably more expensive. So when trying to diagnose a flaky network connection, it’s often necessary to lug a laptop around so you can plug it in at various points to try and isolate the problem.
If this is a situation you occasionally find yourself in, the Syndetis project by [theo79] may be of interest. This firmware for the WT32-ETH01 turns the ESP32 development board into a handy network tester that can determine Ethernet link status, pin IP addresses, detect other devices using Link Layer Discovery Protocol (LLDP), and even and sniff out active services such as DHCP. Add an 128×64 OLED display, a few buttons, and a USB power bank, and you’ve got a self-contained diagnostic tool that can fit in your pocket.
Anyone who’s had to squeeze into a wiring closet will appreciate the stand-alone nature of this device. But if you’ve got the room to bring your phone along and a free hand to operate it, the firmware also offers up a web interface that can be accessed over WiFi.
This will present you with a slightly more polished UI than can be offered up by the OLED and buttons, offering up a more complete view of what’s happening on the network. It’s also possible to generate diagnostic reports that are saved as JSON files for later analysis.
If you don’t need all these fancy features and just want a quick way to tell if an Ethernet cable is good, we’ve covered a DIY tester that uses the venerable 555 timer . If you’ve got a multimeter handy, you can get away with little more than a bare PCB .
本文来源:https://hackaday.com/2026/11/24/troubleshooting-ethernet-networks-with-the-esp32/
若有版权问题,请来信告知:13951431913#139.com 或在右方提交评论。