Thank you for taking the time to report this bug and helping to make
Ubuntu better. The issue you are reporting is an upstream one and it
would be nice if somebody having it could send the bug to the developers
of the software by following the instructions at
https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please
tell us the number of the upstream bug (or the link), so we can add a
bugwatch that will inform us about its status. Thanks in advance.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/962587

Title:
  When using ifnet plugin and biosdevname is enabled, NetworkManager may
  treat wired interfaces as wireless interfaces

Status in “network-manager” package in Ubuntu:
  Triaged

Bug description:
  From the source for network-manager-0.9.3.995+git201203152001.04b2a74,
  I see that NM would treat any NIC names resulting from having
  biosdevname enabled (of the form em* and p*p*) as wireless interfaces.
  This is apparent from src/settings/plugins/ifnet/net_parser.c and
  src/settings/plugins/ifnet/connection_parser.c.

  init_block_by_line in src/settings/plugins/ifnet/net_parser.c:

          if ((conn = get_connection_config (pos)) == NULL) {
                  if (g_ascii_strncasecmp (pos, "eth", 3) == 0
                      && strlen (pos) == 4)
                          /* wired connection */
                          conn = add_new_connection_config ("wired", pos);
                  else if (g_ascii_strncasecmp (pos, "ppp", 3) == 0
                           && strlen (pos) == 4)
                          /* pppoe connection */
                          conn = add_new_connection_config ("ppp", pos);
                  else if (ignore_connection_name (pos)) {
                          /* ignored connection */
                          conn = add_new_connection_config ("ignore", pos);
                  } else
                          /* wireless connection */
                          conn = add_new_connection_config ("wireless", pos);
          }

  
  get_wired_name in src/settings/plugins/ifnet/connection_parser.c:

                  gchar *conn_name = g_strdup_printf ("eth%d", i);

  It is not clear to me if any wireless interfaces would be named of the
  forms em* or p*p*, so I do not know if it would be sufficient to check
  the name of an interface to determine what type it is. However, it at
  least would usually be incorrect to label an interface called, say,
  em1 as a wireless interface.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/962587/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to