Email or username:

Password:

Forgot your password?
pixx

Prototype of a network manager for is finished :D
pixelhero.dev/tmp/netmanager.p

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™.

1 comment
pixx

Very much proof-of-concept prototype do not try this at home etc etc but
pixelhero.dev/tmp/netmanager.t <- 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.

Go Up