USB network adapter insertion/removal creates multiple entries in 70-persistent-net.rules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: udev
Udev version: 147~-6.1
Ubuntu: 9.10
USB Network Adapter (SMC Networks): ADMtek, Inc. AN8513 Ethernet
When the USB Network Adapter is first inserted it creates an entry in
/etc/udev/
-------
# USB device 0x07a6:0x8513 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}
a", ATTR{dev_
-------
If the computer is now rebooted everything works fine and continues to work fine, but if the USB Network Adapter is unplugged and reinserted before rebooting /etc/udev/
-------
# USB device 0x07a6:0x8513 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}
a", ATTR{dev_
# USB device 0x07a6:0x8513 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}
a", ATTR{dev_
-------
And from now on, every time the USB Network adapter is reinserted a new entry in /etc/udev/
Echo this. At one point I ended up with eth1 through eth12 on my machine, which were all identical devices. Network manager in turn added a new device for each, which was a right pain as I kept having to reconfigure my static IP. It only stopped adding new devices when I rebooted with the USB Ethernet driver attached.
Having to reboot after adding a piece of USB hardware is the kind of thing you'd expect from windows.