yaojie-dev/netswitch: One-Click Switch Between Wired LAN and Wi-Fi on macOS
DSH community plugin yaojie-dev/netswitch (@yaojie/netswitch 1.0.0) wraps macOS NetworkSwitcher: it uses bridge0 to spoof the MAC address and leverages configd to push LAN static IP, gateway, and DNS settings. It supports switching via the command-line tool en8switch, a menu bar App, and AppleScript desktop commands. The article follows the upstream README to cover sudo ./install.sh installation, the correct LAN/WAN switching order, and sudoers least-privilege configuration, and reminds users to review the source code and MIT license before enabling it in DSH. The system-level installation step must not be skipped.
Read More