Repository navigation
Linux wired-Ethernet bridge
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, default192.168.50.1) instead of0.0.0.0.setup.sh(idempotent) — assigns a static IP to the wired interface, forces and assertsnet.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 installsbridge.pyas a systemd service on:80.README.md— wiring diagram, static IPs (box192.168.50.1/24, console192.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 plainpython3 -m http.servertriggers 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).