From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from proxy.dresearch.de ([87.193.137.100] helo=mail.dresearch.de) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1NeoDb-0008Lh-8l for openembedded-devel@lists.openembedded.org; Tue, 09 Feb 2010 12:25:26 +0100 Received: from exchange.intern.dresearch.de (unknown [192.168.32.16]) by mail.dresearch.de (Postfix) with ESMTP id D2249491274 for ; Tue, 9 Feb 2010 12:22:52 +0100 (CET) Received: from [127.0.0.1] ([10.32.10.2]) by exchange.intern.dresearch.de with Microsoft SMTPSVC(6.0.3790.3959); Tue, 9 Feb 2010 12:23:47 +0100 Message-ID: <4B7145A5.70808@dresearch.de> Date: Tue, 09 Feb 2010 12:23:17 +0100 From: Steffen Sledz User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: openembedded-devel@lists.openembedded.org X-OriginalArrivalTime: 09 Feb 2010 11:23:47.0819 (UTC) FILETIME=[59069BB0:01CAA97A] X-SA-Exim-Connect-IP: 87.193.137.100 X-SA-Exim-Mail-From: sledz@DResearch.DE X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: No (on linuxtogo.org); Unknown failure Subject: confused by netbase/udev X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2010 11:25:26 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit I'm a bit confused about netbase and udev use im Angstrom. Here's what i see: I connect an USB-NIC. /etc/udev/rules.d/70-persistent-net.rules is created: # This file was automatically generated by the /lib/udev/write_net_rules # program, run by the persistent-net-generator.rules rules file. # # You can modify it, as long as you keep each rule on a single # line, and change only the value of the NAME= key. # USB device 0x:0x (MOSCHIP usb-ethernet driver) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:13:3b:04:02:ae", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1" But the NIC is not comming up (no ip assigned via DHCP). :( I disconnect the USB-NIC and reboot. /etc/udev/rules.d/70-persistent-net.rules still exists with the mentioned content. Why? I connect another USB-NIC. /etc/udev/rules.d/70-persistent-net.rules is extended: # This file was automatically generated by the /lib/udev/write_net_rules # program, run by the persistent-net-generator.rules rules file. # # You can modify it, as long as you keep each rule on a single # line, and change only the value of the NAME= key. # USB device 0x:0x (MOSCHIP usb-ethernet driver) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:13:3b:04:02:ae", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1" # USB device 0x:0x (pegasus) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:00:e8:00:0f:e0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2" This NIC is also not coming up. :( And for each new NIC another name is created?! :( And here's what i like to see: * Connect an USB-NIC should result in an DHCP-configured interface. * Disconnect the USB-NIC remove all traces from the system. Hope you can clear the mist in my head. Steffen