Skip to content

Instantly share code, notes, and snippets.

View JnCrMx's full-sized avatar

JCM JnCrMx

  • Berlin, Germany
  • 03:56 (UTC +02:00)
  • Bluesky @jcm.re
View GitHub Profile
@JnCrMx
JnCrMx / usb-ether.sh
Last active June 6, 2025 15:04 — forked from dafta/usb-ether.sh
Steam Deck USB Ethernet (without DHCP server!)
#!/bin/sh
if [ "$UID" -ne 0 ]; then
echo "This script needs to be executed as root"
exit 1
fi
vendor_id="0x3000" # Valve
product_id="0x28DE"
serial_number="$(dmidecode -s system-serial-number)" # The Steam Deck's serial number