28.03.2024, 21:55 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
koia
Titel: Persistent Ethernet interface namings  BeitragVerfasst am: 05.11.2006, 20:48 Uhr



Anmeldung: 05. Nov 2006
Beiträge: 5

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
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
slh
Titel: RE: Persistent Ethernet interface namings  BeitragVerfasst am: 06.11.2006, 00:42 Uhr



Anmeldung: 16. Aug 2004
Beiträge: 1905

Code:
apt-get update
apt-get install kanotix-udev-config
fix-udev-lan
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
koia
Titel:   BeitragVerfasst am: 06.11.2006, 07:59 Uhr



Anmeldung: 05. Nov 2006
Beiträge: 5

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
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
koia
Titel:   BeitragVerfasst am: 06.11.2006, 21:57 Uhr



Anmeldung: 05. Nov 2006
Beiträge: 5

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
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
zonker666
Titel:   BeitragVerfasst am: 10.11.2006, 23:46 Uhr



Anmeldung: 21. Jun 2006
Beiträge: 45

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
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
hubi
Titel:   BeitragVerfasst am: 10.11.2006, 23:51 Uhr



Anmeldung: 22. Jan 2006
Beiträge: 1296
Wohnort: Budapest
Try
Code:
apt-get remove --purge ifrename
That solved a very similar problem for me months ago. It is not needed anymore.

hubi

_________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
zonker666
Titel:   BeitragVerfasst am: 11.11.2006, 01:11 Uhr



Anmeldung: 21. Jun 2006
Beiträge: 45

ifrename is not even installed on my system, maybe i should get it and see if that helps Smilie
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.