USB network adapter insertion/removal creates multiple entries in 70-persistent-net.rules

Bug #539036 reported by slashtom
18
This bug affects 3 people
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/rules.d/70-persistent-net.rules, as expected:
-------------------------------------------------------------------------------------
# USB device 0x07a6:0x8513 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:10:60:3b:b6:7
a", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
-------------------------------------------------------------------------------------

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/rules.d/70-persistent-net.rules now contains:
-------------------------------------------------------------------------------------
# USB device 0x07a6:0x8513 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:10:60:3b:b6:7
a", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# USB device 0x07a6:0x8513 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:10:60:3b:b6:7
a", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"
-------------------------------------------------------------------------------------

And from now on, every time the USB Network adapter is reinserted a new entry in /etc/udev/rules.d/70-persistent-net.rules is created with an incremented interface name.

Revision history for this message
Cian Masterson (cian-masterson) wrote :

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.

Revision history for this message
Troy Ready (troyready) wrote :

I'm also effected by this bug, with the built (PCI) 3-port NIC on my computer (lucid server). After every hard poweroff, my network entries keep increasing. This makes the computer completely unusable for me.

The only thing really out of the ordinary on the box is that I disabled ACPI (the system wouldn't boot otherwise) in the BIOS -- not sure if this is related.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.