Prototype of a network manager for #Plan9 is finished :D
https://pixelhero.dev/tmp/netmanager.png
The system launches it on startup. It tries connecting all ethernet and wifi cards, with all known wifi networks; it does this whenever the existing connection goes down, prioritizing ethernet.
It also keeps network services running seamlessly, e.g. swapping out the actual sshfs share such that I can start editing a file over SSH, swap from wifi to ethernet, hit save, and have it JustWork™.
Very much proof-of-concept prototype do not try this at home etc etc but
https://pixelhero.dev/tmp/netmanager.tar <- source is there.
It's trivial, in the most literal sense of the word. 90 lines of code for the whole thing.
Making it robust, actually handling wifi, and any other features I can think of will still probably leave it under 1KLoC when it's finished. It's -not- a hard problem.