Gentoo Archives: gentoo-user

From: Joost Roeleveld <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Upgrade query
Date: Thu, 21 Jul 2011 13:15:55
Message-Id: 2027398.O3V3xHUv8t@eve
In Reply to: Re: [gentoo-user] Upgrade query by Florian Philipp
1 On Thursday 21 July 2011 12:20:30 Florian Philipp wrote:
2 > Also, udev will usually detect your network interfaces as new interfaces
3 > and give them different numbers (eth1 instead of eth0 and so on).
4
5 You can "solve" this by deleting the respective entries in the udev config:
6
7 ******
8 $ cat /etc/udev/rules.d/70-persistent-net.rules
9 # This file was automatically generated by the /lib64/udev/write_net_rules
10 # program run by the persistent-net-generator.rules rules file.
11 #
12 # You can modify it, as long as you keep each rule on a single line.
13
14 # PCI device 0x1234:0x1234 (eth-device)
15 SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:11:22:33:44:55",
16 KERNEL=="eth*", NAME="eth0"
17 *******
18
19 Removing this file or just the entries should force udev to reuse the network-
20 device-names.
21
22 --
23 Joost