NetworkManager does not really ignore devices, disturbing udev
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
I'm just trying to configure an ubuntu machine to work as a network controller (dhcp, dns,...) for several virtual and physical machines, using a linux bridge as a virtual network, and trying to automatically add USB-Ethernet-
Unfortunately my udev rules fail since Network Manager does rename new Ethernet devices *before* udev runs, e.g.
eth0 to enx0000e80006d8
for my USB ethernet device. Thus, many regular udev rules fail since they use the device name the kernel passes (=eth0), but can't find that device for commands (since it changed it's name).
Instructing NetworkManager to ignore ifup-configured devices does not help, since NetworkManager renames the devices and thus does not apply /etc/network/
Even worse: Even when listing the particular mac address in /etc/NetworkMan
Is there any other way to make NetworkManager completely keep its dirty fingers away from Network Devices except for completely killing it?
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: network-manager 1.0.4-0ubuntu5.2
ProcVersionSign
Uname: Linux 4.2.0-23-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
Date: Tue Jan 19 11:16:42 2016
InstallationDate: Installed on 2015-09-03 (137 days ago)
InstallationMedia: Xubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150825)
IpRoute:
default via 192.168.103.254 dev enp2s0 proto static metric 100
169.254.0.0/16 dev docker0 scope link metric 1000
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.42.1
192.168.100.0/22 dev enp2s0 proto kernel scope link src 192.168.102.125 metric 100
192.168.200.0/24 dev vlan0 proto kernel scope link src 192.168.200.1
NetworkManager.
[main]
NetworkingEnab
WirelessEnable
WWANEnabled=true
WimaxEnabled=true
SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile.
nmcli-con:
NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT AUTOCONNECT-
docker0 5b3eb2b2-
Wired connection 1 c9b5bf9d-
nmcli-nm: Error: command ['nmcli', '-f', 'all', 'nm'] failed with exit code 2: Error: Object 'nm' is unknown, try 'nmcli help'.