desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #21048
[Bug 802782] Re: Network Manager option to avoid auto-enable of new network devices
Looking at the code quickly, maybe emptying nm_settings_device_added()
(in src/settings/nm-settings.c:1425) is sufficient to block this
functionality.
--
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/802782
Title:
Network Manager option to avoid auto-enable of new network devices
Status in “network-manager” package in Ubuntu:
Confirmed
Bug description:
This is a feature request.
It would be nice if Network Manager could be configured such that it
won't automatically attempt to use new network devices attached to the
system.
Here's the reasoning. My team manages a large fleet of enterprise
desktops. We've had a number of cases where a user plugs a USB NIC
into their computer, and Network Manager helpfully configures the new
network interface and runs dhclient on it. And if the DHCP response
is answered, you get a new default route, new resolv.conf, etc. In a
couple cases this was caused by plugging in an Android phone that had
USB tethering turned on, and I think we even had one case where
plugging in a USB GPS did this. None of the cases involved the user
actually intending to use the device as a network interface.
We could blacklist the usbnet module, but there are legitimate cases
where we want to allow USB networking. It would be so much better if
we could get Network Manager not to use these new devices that have
shown up until the user configures them.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/802782/+subscriptions