[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Upgrading to 2.6.5 switched my physical network interface names



John van Spaandonk wrote:
I've got a simple question, and I hope that there is an equally simple
answer :-)

I've got a setup with two similar Realtek ethernet cards that both
use the 8139too driver in Linux 2.4.x.

In Linux 2.6.[45] assignment of eth0,1 is reversed, so now my interface to the cable modem has eth1 (this was eth0 in 2.4.x). Naturally the network does not work anymore.

Check out ifrename:
$ apt-cache show ifrename
Package: ifrename
Version: 26+27pre20-0.backports.org.1
Priority: extra
Section: net
Maintainer: Guus Sliepen <guus@debian.org>
Depends: libc6 (>= 2.2.4-4), libiw27 (>= 26+27pre10)
Architecture: i386
Filename: dists/woody/all/binary-i386/ifrename_26+27pre20-0.backports.org.1_i386.deb
Size: 35214
MD5sum: d3fd11d522fdbc1a76c0d16c5468357c
Description: Rename network interfaces based on various static criteria
 Ifrename allow the user to decide what name a network interface will
 have. Ifrename can use a variety of selectors to specify how interface
 names match the network interfaces on the system, the most common
 selector is the interface MAC address.
source: wireless-tools
installed-size: 100

It's in testing and unstable, and available for stable from www.backports.org. I haven't used it myself, so can't say how well it works, but it sounds like what you want.

Randy



Reply to: