PiKVM

pikvm.org

🌐 Resources πŸ”—


RPi 4 PiKVM V2 DIY

πŸ”¬ Hardware

Raspberry Pi 4 board with 16GB MicroSD card.

For power supply and USB connectivity, I have chosen the "Variant #2: Power supply + Y-splitter based on power blocker" from the PiKVM v2arrow-up-right guide with:

  • x1 Raspberry Pi Official USB-C Power Supply

  • x1 USB C splitter (male->double females)

  • x1 USB-A to USB-C cable (male-male)

    • πŸ“Œ as power blocker for the VCC of the USB-A male connector that goes into the PC/NAS, I've used a small piece of tape over the right-most pin on the connector to block the 5V pin (cut the single specific VCC wire inside the cable later)

Similar diagram as my setup:

USB Connections - Credit: Tom's Hardware

The "USB C to Double USB C Splitter" used:

For the video capture device I've used an HDMI-USB dongle for my testing lab (changed with a HDMI-CSI bridge board later).

πŸ“Œ Anyway, a HDMI-CSI bridge board is better for video encoding, resolution and latency.

Check Geekworm models herearrow-up-right, and Amazon links:

On-boot configuration

Setup WiFi SSID & Password if necessary in the pikvm.txt file from the SD Card (on another PC), by adding the following variables:


PiKVM Shell commands

Authentication

Wake-on-LAN

  • (Extra) Disable "ATX" menu

  • Configuration for single device WoL


KVM Dashboard


Mass Storage Drive

Insert the USB into an RPi USB3 port.

Open the PiKVM Terminal/Shell. Use the following procedure.

  • Identify the USB drive and its filesystem type using, ensuring it's recognized (e.g., exfat for Ventoy)

  • Add a mount entry in /etc/fstab to automatically mount the USB drive at boot, with read/write access and permissive permissions

  • Ensure the mount point exists and is writable, using mkdir, kvmd-helper-otgmsd-remount, or mount -o remount,rw as needed

  • Manually mount or reboot the system to apply changes, allowing access to the USB contents under /var/lib/kvmd/msd/usb


Tailscale on PiKVM


Last updated