← All apps

picoplug

picoplug

$12 pocket network tool

picoplug

picoplug turns a $12 WIZnet development board into a pocket network tool. The picoplug connects to your phone as a USB Ethernet adapter and hosts a web application with various network diagnostic tools.

Try the live demo! This runs the picoplug firmware via WebAssembly. A Go application generates network traffic, and the client web page is served by the emulated picoplug. Pull out the Wireshark KVM drawer to inspect the traffic.

Features

The switch card for a Cisco Catalyst C9200CX over LLDP with Details open

LLDP & CDP

  • Switch management info: MAC and IP
  • Port-level info like VLANs and port descriptions
  • Switch software versions and serial numbers
The Network card: DHCP lease and the gateway, internet and DNS checks

Network

  • DHCP
  • DNS
  • Internet
  • Ping
The Spanning tree card: MSTP with port role and state, root bridge, MST region and timers

Spanning tree

  • STP, RSTP or MSTP, with port role and state
  • Root bridge priority and MAC
  • MST region and revision
  • Timer and BPDU intervals
The LAG card: LACP from the switch, forwarding or not, with its key and port

LAG

  • LACP from the switch: forwarding or not
  • Active or passive, key and port
The 802.1X card: the port asks for authentication, with the authenticator MAC and request frequency

802.1X

  • Display when port asks for authentication
  • Authenticator MAC and request frequency
The IGMP card: the IGMP querier with its address, version and interval

IGMP

  • IGMP querier: address, version and interval
The PTP card: a PTPv1 master with its subdomain, transport and sync interval

PTP

  • PTPv1 and PTPv2 masters
  • Grandmaster, domain, or subdomain
  • Transport and sync interval
The Other probes card: a second tester on the same switch and a path test result

picoplug remote

  • Click to inspect remote picoplugs
  • Testers discover each other via mDNS
clockclub-sw01>sh lldp nei
Device ID     Local Intf
picoplug-2    Gi1/0/9

LLDP/CDP advertisement

  • Discoverable via switch and other network tools

Tools, Port Log, and Settings

Tools: ping 1.1.1.1 with its round-trip plot, 12 sent, 0 lost, and the traceroute button

Tools

  • Ping
  • Traceroute
  • Blink port
Port Log: four ports visited, each with its switch, VLAN and time

Port Log

  • Every port visited, kept in the phone's browser
  • A note per port
  • CSV export
Settings: probe number 7, violet, and LLDP and CDP advertising with frames sent

Settings

  • Probe number
  • LLDP and CDP advertising
  • Light or dark
  • Port-check targets, the USB address and the Share link

Hardware

picoplug runs on WIZnet's W55RP20-EVB-Pico board. This $12 development board is available through electronic component distributors like DigiKey and Mouser. The board hosts a W55RP20. This SiP puts an RP2040 microcontroller and W5500 Ethernet controller into a tiny 8mm x 8mm package. picoplug boots within seconds and is powered by the phone. Files for printing the case are included in the project.

The picoplug: a clear case on a yellow base with the logo sunk into its top, the green board visible through the sides

Make your own picoplug

  1. Purchase a W55RP20-EVB-Pico: DigiKey, Mouser
  2. Download the firmware: latest release
  3. Flash the firmware: Hold down the BOOTSEL button when plugging the board into a computer or phone. Once the RPI-RP2 volume appears, copy over the -w55rp20.uf2 firmware file.
  4. Print the case: STL files
  5. Plug it into your phone: The picoplug is accessible at http://192.168.7.1 or http://picoplug.local. The IP address can be changed in the Settings tab. Android and iOS devices handle network routes slightly differently. On Android devices, you might need to enable Airplane mode to access the picoplug.

picoplug vs. testers that cost more than $12

LinkRunner 10GPockethernet 2netool.iopicoplug
Price$5,675$275$299$12
Costs $12---
Gigabit-
Multi-gig/10G---
SFP+ transceiver support---
Wire map--
Cable length and fault finding (TDR)--
Tone generator for tracing cable--
Test PoE--
Built-in display---
Battery powered-
Report generation--
Product support-
LLDP and CDP
DHCP
Ping
Blink remote switch port

FAQ

  • Can it test PoE?
  • Can it do wiremap?
  • Can it test gigabit links?

No, that would cost more than $12. I've thought of adding an e-ink display, PoE, RS-232 console, battery, and other things like that. But that always adds much more to the price. For this project, I've focused on living within the constraints of this stock $12 board.