Am Donnerstag, 21. April 2005 16:04 schrieb ext fire-eyes: > So I'm using a 2.6 kernel, and trying to figure out how to cause eth0 > and eth1 to swap. That is, eth0 start up as eth1, and eth1 start up as > eth0. > > Any more ideas?
In case you're using udev, you can give them whatever name you want, based
on the mac address:
$ grep eth /etc/udev/rules.d/10-local.rules
KERNEL="eth*", SYSFS{address}="00:50:8b:90:be:3c", NAME="lan"
$ /sbin/ifconfig
lan Protokoll:Ethernet Hardware Adresse 00:50:8B:90:BE:3C
[Some lines skipped]
See also: http://gentoo-wiki.com/HOWTO_Customizing_UDEV
HTH...
Dirk
--
Dirk Heinrichs | Tel: +49 (0)162 234 3408
Configuration Manager | Fax: +49 (0)211 47068 111
Capgemini Deutschland | Mail: [EMAIL PROTECTED]
Hambornerstra�e 55 | Web: http://www.capgemini.com
D-40472 D�sseldorf | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net
pgpiPuHg8F3rM.pgp
Description: PGP signature

