Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Netzwerkkarten zuordnen [gelöst]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3507
Location: Berlin

PostPosted: Fri Dec 29, 2006 11:22 am    Post subject: Netzwerkkarten zuordnen [gelöst] Reply with quote

Hallo
Ich habe nach geraumer Zeit ein neues Gentoo System aufgesetzt. Ich hatte mir die alten
Configs (etc komplett) gesichert.
Allerdings ist es doch nicht so einfach. Das System läuft zwar, es gibt aber noch einige
Probleme. Da ein Sammeltread überhaupt nichts bringt, mache ich zu jedem Problem einen
passenden auf.
Meine 3 Netzwerkkarten konnte ich in der mir genehmen Reihenfolge laden, indem ich in der
/etc/modules.autoload.d/kernel-2.6 die Reihenfolge der zu ladenden Module festgelegt habe.
Das funktioniert jetzt auch nicht mehr. Kann mann die Reihenfolge der Netzwerkkartenzuordnung zu den Geräten eth0 eth1 eth2vielleicht mittels der eth.id Nr. der Hardware festlegen?
MfG


Last edited by flammenflitzer on Mon Jan 01, 2007 6:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5253

PostPosted: Fri Dec 29, 2006 11:29 am    Post subject: Reply with quote

ja das geht und zwar kannst du per udev die devices umbenennen und zwar anhand ihrer MAC-Adresse.
die regel sieht in etwa so aus:
Code:
SUBSYSTEM=="net", ATTRS{address}=="<macadresse>", NAME="<netzwerk-geräte name>"

_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3507
Location: Berlin

PostPosted: Mon Jan 01, 2007 6:19 pm    Post subject: Reply with quote

10-udev.rules
Code:
###Netzwerkkarten #http://de.gentoo-wiki.com/Udev_Rules#Beispiel_4:_Netzwerkkarte#  KERNEL=="eth*", ATTR{address}=="00:30:05:68:90:c7", NAME="eth0" #DRIVERS=="tulip" KERNEL=="eth*", ATTR{address}=="00:00:b4:90:59:56", NAME="eth1" #DRIVERS=="8139too" KERNEL=="eth*", ATTR{address}=="00:50:bf:d4:64:0b", NAME="eth2" #DRIVERS=="8139too"

gelöst
Danke
MfG
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum