From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 75496138A5E for ; Fri, 15 Feb 2013 17:47:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2CD6E21C060; Fri, 15 Feb 2013 17:46:13 +0000 (UTC) Received: from postler.lichtfels.com (postler.lichtfels.com [78.46.92.195]) by pigeon.gentoo.org (Postfix) with ESMTP id 89B4321C055 for ; Fri, 15 Feb 2013 17:46:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by postler.lichtfels.com (Postfix) with ESMTP id 514CF12133 for ; Fri, 15 Feb 2013 18:46:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xunil.at; s=mailout; t=1360950378; bh=6xtMywN1QJNu+FNGZfsl2kso0QfTm2xDQhXI+Ceafro=; h=Date:From:Reply-To:To:Subject:References:In-Reply-To; b=S2NOVzZNgSwBMLJmuJcssXjbYQRvhTc6qTSC9/yafssvcU/wzCtqzDJkzzrGE5evd kokhxWkgXMYMCJBAS+bwOukFbzujyHZlCHgodjrPkbFoVGKGFX9A3jVUUe6StDHJa2 46zPHLvDOE9toAav2v4YGrroukwhX+AxSMkO8DL8= Received: from postler.lichtfels.com ([127.0.0.1]) by localhost (postler.lichtfels.com [127.0.0.1]) (amavisd-maia, port 10024) with LMTP id 17149-09 for ; Fri, 15 Feb 2013 18:46:08 +0100 (CET) Received: from hiro.oops.intern (unknown [IPv6:2001:15c0:65ff:86dc:d19:87de:5d26:4578]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by postler.lichtfels.com (Postfix) with ESMTPSA id A630C123E8 for ; Fri, 15 Feb 2013 18:46:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xunil.at; s=mailout; t=1360950360; bh=6xtMywN1QJNu+FNGZfsl2kso0QfTm2xDQhXI+Ceafro=; h=Date:From:Reply-To:To:Subject:References:In-Reply-To; b=UbCqVjRdsEnwrMIG8Q2YhP01glWQqRJ48lQP2pvu7v7ijvy4HeVBhWRL4t3vK5tL+ O06CZJE8/vRtRD3KNudiEJsnkjgMfVw0mftCff0wqp/UPLb71pbT9Lnv+qANSJBNXK Msm3iiqjixj2BHrZ5zAu/H/mDE6HKdiRh0Y9bQZs= Message-ID: <511E7450.4000803@xunil.at> Date: Fri, 15 Feb 2013 18:45:52 +0100 From: "Stefan G. Weichinger" Organization: oops! User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130130 Thunderbird/17.0.2 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: udev-197: what to do -- S0LVED References: <511E7047.4000407@xunil.at> <87fw0x5vah.fsf@ist.utl.pt> In-Reply-To: <87fw0x5vah.fsf@ist.utl.pt> X-Enigmail-Version: 1.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.2c X-Archives-Salt: 17db7d36-5d29-406c-a70d-83d08e0b94d9 X-Archives-Hash: 13716f658bcad4c4ba1a4f98e3dfaadd Am 15.02.2013 18:41, schrieb (Nuno Silva): > If you depend in the network device order in any way, and you used > names like the ones the kernel uses, you *have* to do something > about the network device naming. > > For example, if you have eth0 and eth1 and you rely on eth0 being A > and eth1 B, you can't do that anymore with plain udev, even if the > rules are still in place. eth0 may become B and eth1 A. No order needed as there is only one adapter in there: # lspci | grep net 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 01) # cat /etc/udev/rules.d/70-persistent-net.rules # PCI device 0x10ec:0x8168 (r8169) SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:21:85:62:4f:0b", KERNEL=="eth*", NAME="eth0" thanks, Stefan