[ltp] eth0 or eth1 active ?

Torsten Wolf linux-thinkpad@linux-thinkpad.org
Tue, 31 Jan 2006 13:18:13 +0100


* Richard Neill <rn214@hermes.cam.ac.uk> [06-01-31 13:08]:
>This is the same stupid problem of ethX not being permanently mapped to 
>MAC addresses that seems to plague everyone from time to time. 
[...]
>The proper way to solve it is to name the interfaces with a udev rule.
>http://www.reactivated.net/writing_udev_rules.html

Another possible solution is the package ifrename:

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.

Torsten