Re: What happens if there are two interfaces?
- From: Pavel Simerda <psimerda redhat com>
- To: gayleard eircom net
- Cc: networkmanager-list gnome org
- Subject: Re: What happens if there are two interfaces?
- Date: Mon, 31 Dec 2012 07:09:56 -0500 (EST)
----- Original Message -----
> From: "Timothy Murphy" <gayleard eircom net>
> > Currently it's based on interface type, AFAIK.
>
> What does this mean?
> Are you saying that ethernet is given preference over WiFi?
Yes. See:
http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/src/nm-device.c#n669
> >> And how can I know which one is being used?
>
> > Looking at the routing table should be enough (ip route),
>
> How?
> "ip route" just tells me both interfaces are up,
> not which one is being used.
You have to look better.
> Even "ifconfig", which gives the number of packets
> passing through each interface,
> is not completely conclusive.
>
> > NM's D-Bus
>
> How concretely does one use this?
http://www.freedesktop.org/wiki/Software/dbus
http://projects.gnome.org/NetworkManager/developers/api/09/spec.html
> > interface and other tools could be useful too.
>
> Which other tools?
nmcli, for example
Thinks that are missing in the nmcli tool and/or D-Bus interface should be reported to http://bugzilla.gnome.org/, product NetworkManager, component general.
Cheers,
Pavel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]