public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] automatic network connection between eth and wifi
@ 2015-02-11 23:59 Joseph
  2015-02-12  0:20 ` Poison BL.
  2015-02-12  0:22 ` Byte Trip
  0 siblings, 2 replies; 3+ messages in thread
From: Joseph @ 2015-02-11 23:59 UTC (permalink / raw
  To: gentoo-user

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] automatic network connection between eth and wifi
  2015-02-11 23:59 [gentoo-user] automatic network connection between eth and wifi Joseph
@ 2015-02-12  0:20 ` Poison BL.
  2015-02-12  0:22 ` Byte Trip
  1 sibling, 0 replies; 3+ messages in thread
From: Poison BL. @ 2015-02-12  0:20 UTC (permalink / raw
  To: gentoo-user

On Wed, Feb 11, 2015 at 6:59 PM, Joseph <syscon780@gmail.com> 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] automatic network connection between eth and wifi
  2015-02-11 23:59 [gentoo-user] automatic network connection between eth and wifi Joseph
  2015-02-12  0:20 ` Poison BL.
@ 2015-02-12  0:22 ` Byte Trip
  1 sibling, 0 replies; 3+ messages in thread
From: Byte Trip @ 2015-02-12  0:22 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 597 bytes --]

If I recall, several distros were using ifplugd (
http://0pointer.de/lennart/projects/ifplugd/), or just network-manager out
of the gnome project, but it's been a while since I've had to deal with
hotplugging ethernet.

On Wed, Feb 11, 2015 at 6:59 PM, Joseph <syscon780@gmail.com> 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
>
>

[-- Attachment #2: Type: text/html, Size: 1064 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-12  0:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-11 23:59 [gentoo-user] automatic network connection between eth and wifi Joseph
2015-02-12  0:20 ` Poison BL.
2015-02-12  0:22 ` Byte Trip

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox