Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Device dauerhaft umbenennen eth0 - wan0 [solved]
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
NightDragon
Veteran
Veteran


Joined: 21 Aug 2004
Posts: 1156
Location: Vienna (Austria)

PostPosted: Thu Jun 02, 2005 7:48 am    Post subject: Device dauerhaft umbenennen eth0 - wan0 [solved] Reply with quote

Hallo zusammen.

Mich würde interessieren ob es (ohne Symlink und mv) möglich ist ein Device dauerhaft umzubenennen.
Ich würde gern der reinen Übersicht halber mein eth0 zum wan0 machen.

Gibts irgendwelche Tipps hierzu?

Mit UDEV kann ja nur die Regel erstellt werden, das er Symlinks setzt, aber wie kann ich anstelle eines weiteren Symlinks das Interface dauerhaft auf wan0 stellen?

Thx für die Hilfe im Voraus,
Nighty
_________________
You are the problem too all my solutions ;)


Last edited by NightDragon on Fri Jun 03, 2005 9:02 am; edited 1 time in total
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5232

PostPosted: Thu Jun 02, 2005 8:53 am    Post subject: Reply with quote

du kannst per nameif das device umbenenne.
udev-regel sieht in etwa so aus:
Code:
SUBSYSTEM="net", PROGRAM="/sbin/nameif -c /etc/mactab"


anstelle von -c /etc/mactab kannst du auch das eigentliche device angeben:

Code:
nameif <neuer device name> macadresse


gruß

firefly
_________________
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
NightDragon
Veteran
Veteran


Joined: 21 Aug 2004
Posts: 1156
Location: Vienna (Austria)

PostPosted: Fri Jun 03, 2005 8:38 am    Post subject: Reply with quote

Hi!

Thx für den Tipp. ich werde ihn die Tage mal ausprobieren... schauen obs hinhaut :)

[EDIT]
Tausend Dank, hat hingehauen - genau wie ich mir das vorgestellt habe :) super - thx
[/EDIT]
_________________
You are the problem too all my solutions ;)
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