From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Tue, 11 May 2004 10:41:59 +0000 Subject: Re: how to rename network interface? Message-Id: <20040511104159.GA12034@vrfy.org> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, May 10, 2004 at 08:41:39AM -0400, mikep wrote: > and syslog shows that the rules are applied: > > udev[7620]: configured rule in '/etc/udev/rules.d//10-udev.rules' at > line 3 applied, 'eth0' becomes 'eth1' > > udev[7621]: configured rule in '/etc/udev/rules.d//10-udev.rules' at > line 2 applied, 'eth1' becomes 'eth0' > > However, the end result is that device 0x8139 is still configured as > eth0 as ifconfig shows: Are you sure the the interface is not in use, while udev tries to rename it. Maybe your network script is faster than udev? Kay > >>ifconfig eth0 > eth0 Link encap:Ethernet HWaddr 00:01:0A:10:A7:3B > inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel