Skip to content

Linux wired-Ethernet bridge

Choose a tag to compare

@jackspence7 jackspence7 released this 13 Nov 18:40
· 10 commits to main since this release

What's new

Adds a third bridge variant, linux-bridge/, for connecting the Switch handheld straight to a Linux box over USB-Ethernet — no dock, no Wi-Fi, no ESP32, no Pi.

  • bridge.py — the Pi build's Nintendo connectivity-check spoof server, now bound to the wired interface's IP (configurable via env/arg, default 192.168.50.1) instead of 0.0.0.0.
  • setup.sh (idempotent) — assigns a static IP to the wired interface, forces and asserts net.ipv4.ip_forward=0 (hard air-gap), installs dnsmasq as a DNS-only catch-all (--no-resolv --no-hosts --bind-interfaces --listen-address=<ip> --address=/#/<ip> --port=53), and installs bridge.py as a systemd service on :80.
  • README.md — wiring diagram, static IPs (box 192.168.50.1/24, console 192.168.50.2/24), adapter order, and the two gotchas that cost real debugging time: the ASIX/Realtek chipset requirement (2110-1100 "LAN cable attached"), and why a plain python3 -m http.server triggers a captive portal.

The ESP32 and Raspberry Pi builds are unchanged. Connectivity-check responses remain adapted from 90DNS (GPL-2.0-or-later) via fernando-granco/switch2-homebrew (MIT).