The ethernet interface names on my Kanotix 2005-04 PC have shown not to be stable between different boots. Interfaces that were firstly named ethX can later change name to lanX. This will cause problems, since I need to refer to interface names in configuration files like those used for quagga.
What configs are need to ensure that the name of a particular HW interface is persistently assigned to a user defined name. The association between name and interface (e.g. MAC address) need to be kept unchanged between boots and also when hardware is added or removed?
koia - 06 Nov, 2006 - 07:59 AM Asunto:
Thanks,
I have installed and run. There are no console outputs. What does fix-udev-lan do? What files are impacted by running it?
/koia
koia - 06 Nov, 2006 - 09:57 PM Asunto:
The article http://www.debianadmin.com/rename-netwo ... linux.html describes for Debian Linux a way to assign a user defined name to an interface and associate the name with a MAC address in a persistent way.
An example from the article assigs a name to an interface including the manufactrer by:
KERNEL==”eth*”, SYSFS{address}==”00:12:34:fe:dc:ba”, NAME=”eth-intel".
In Debian Linux, the config shall go into the file /etc/udev/rules.d/010_netinterfaces.rules.
Since the file mentioned in the article is not in Kanotix distribution I tried to put a renaming rule of my own in /etc/udev/persistent.rules, without success however.
Any suggestions how to do it?
/koia
zonker666 - 10 Nov, 2006 - 11:46 PM Asunto:
yes i have this problem as well: Having 3 nics it luckily "only" happens for the two i dont use (so far). The fix-udev-lan didn't change anything
hubi - 10 Nov, 2006 - 11:51 PM Asunto:
Try
Código:
apt-get remove --purge ifrename
That solved a very similar problem for me months ago. It is not needed anymore.
hubi
zonker666 - 11 Nov, 2006 - 01:11 AM Asunto:
ifrename is not even installed on my system, maybe i should get it and see if that helps