Confirming, as it is engineered this can't possibly work with wireless.
Checking the name for the device in the context of biosdevname makes no
sense as a way of guessing the type of interface.
Triaged/Medium. As you mention it's not an option that is enabled by
default and will apparently need sufficient amounts of work to be fixed;
not something we'll do for Precise.
** Changed in: network-manager (Ubuntu)
Status: New => Triaged
** Changed in: network-manager (Ubuntu)
Importance: Undecided => Medium
--
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