HOWTO: (Re-)Set the eth mapping
March 16th, 2008 Mario Hochreiter
Due to some network hardware modifications on my ubuntu 7.10 system i already had 6 entries of eth devices. From which only 1 is still in my computer. Now the only network card which i am using has the name “eth5″. As some programs expect the default network card as eth0 i tried to change the name for my network card from ethN to eth0.
Following steps are necessary:
open /etc/udev/rules.d/70-persistent-net.rules- change the “NAME” parameter in
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="yourMacAddr", NAME="eth5"to the value you would like to set. - restart your system
That`s it. Now your network card should be reachable under the new name.
1 Comment Add your own
1. mojo | July 29th, 2008 at 6:00 pm
Nice info.Thanks a lot.
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed