#11380 NORM Not Tri: os883 - ethernet was automatically assigned to interface eth0

Zarro Boogs per Child bugtracker at laptop.org
Mon Nov 7 11:09:22 EST 2011

#11380: os883 - ethernet was automatically assigned to interface eth0
           Reporter:  mikus        |       Owner:  dsd                                         
               Type:  defect       |      Status:  new                                         
           Priority:  normal       |   Milestone:  Not Triaged                                 
          Component:  initscripts  |     Version:  1.75/1.5/1.0 Software Build os883 aka 11.3.0
         Resolution:               |    Keywords:                                              
        Next_action:  never set    |    Verified:  0                                           
Deployment_affected:               |   Blockedby:                                              
           Blocking:               |  

Comment(by dsd):

 Easily reproducible, and I can also hit another situation where the system
 hangs during boot as it tries to rename both the USB-ethernet and internal
 wifi to eth0 (unplugging the ethernet device allows the wifi to 'win' and
 boot to continue).

 using udev's INTERFACE_NAME mechanism doesn't seem wholly appropriate here
 - only taking effect when hardware is present, but we want eth0 to be
 avoided by other devices even if the wifi card is not present internally
 on first boot. (plus it didn't seem to have much effect in my testing).

 according to the current write_net_rules implementation, we can avoid this
 by putting the olpc NAME=eth0 rules in the (usually autogenerated)
 persistent-net.rules. the generator will see that an existing rule assigns
 something to eth0 and not use it for other automatic assignments.

 we should ask about this on the hotplug list.

Ticket URL: <http://dev.laptop.org/ticket/11380#comment:1>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system

More information about the Bugs mailing list