On Wed, Feb 11, 2015 at 6:59 PM, Joseph <[email protected]> wrote: > I've noticed that on the newer distribution (binary, xubuntu fedora) the > network connection is automatic whenever someone connects the cable or if > cable is disconnected it switches to wife. > Is it the function of the new "systemd" or it is a new program? > > I'm still using "rc" > > -- > Joseph >
NetworkManager is likely the backend that's handling that for those particular distros, unless networkd got a massive overhaul since I last saw anything on it. I recall wicd filled that role seamlessly enough last I used it as well, but it's fallen a bit by the wayside. Even the basic init-script/openrc configured networking is capable of the job with the right settings, though. If I recall, sys-apps/netplug or sys-apps/ifplugd will provide 'hotplug' style configuration on dis/reconnect of a wire, and grouping that with 'disable/enable wifi' calls when the wired interface goes up/down will make it behave that way. >From a quick search, this page should give more details on the slightly less auto-magic approach: http://wiki.gentoo.org/wiki/OpenRC_notebook_roaming_How-To -- Poison [BLX] Joshua M. Murphy

