kanotix.com

Networking - Persistent Ethernet interface namings

koia - 05.11.2006, 20:48 Uhr
Titel: Persistent Ethernet interface namings
Hi,

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
slh - 06.11.2006, 00:42 Uhr
Titel: RE: Persistent Ethernet interface namings
Code:
apt-get update
apt-get install kanotix-udev-config
fix-udev-lan

koia - 06.11.2006, 07:59 Uhr
Titel:
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.11.2006, 21:57 Uhr
Titel:
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.11.2006, 23:46 Uhr
Titel:
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.11.2006, 23:51 Uhr
Titel:
Try
Code:
apt-get remove --purge ifrename
That solved a very similar problem for me months ago. It is not needed anymore.

hubi
zonker666 - 11.11.2006, 01:11 Uhr
Titel:
ifrename is not even installed on my system, maybe i should get it and see if that helps Smilie
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007