For the original request about a fleet of machines, the facility to
disable this is already there:

1) set no-auto-default=* in /etc/NetworkManager/NetworkManager.conf
2) preconfigure a wired connection for the existing wired interface, locked on 
MAC address

future versions of NetworkManager will allow you to lock on interface
name, but be aware that the interface won't always be 'eth0' so some
amount of machine-specific configuration will always be required here.

If #1 and #2 are done, then no other device will get the automatic DHCP
connection.

In the case of all other USB ethernet devices (including android
devices) there's simply no way to distinguish between an Android device
and an actual usb-ethernet device with an RJ-45 connector on the end.
You can either go about tagging every single Android device into a
blacklist for this.

Or we could start a whitelist of usb-ethernet kernel drivers or
something.  That would include asix, rndis, catc, etc.  Half of
drivers/net/usb/ is a candidate for whitelisting.

The big question: are there any/many usb-ethernet dongles that use plain
cdc-ether ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/802782

Title:
  Please add NetworkManager option not to auto-enable new network
  devices

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to