This is already fixed in Quantal; please see
http://wiki.ubuntu.com/StableReleaseUpdates#Procedure and follow the
steps should this need to be backported/SRU´d to 12.04

** Changed in: network-manager (Ubuntu)
       Status: Triaged => Fix Released

-- 
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 NetworkManager:
  Fix Released
Status in “network-manager” package in Ubuntu:
  Fix Released

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/network-manager/+bug/962587/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to