On Tue, 2009-06-09 at 08:05 +1200, Nick Rout wrote:
> I had a box blow up the other day so bought a new one and put the old
> hard drive in the new one. Its running mythbuntu (ubuntu with xfce
> window manager and all the mythtv packages). All is sweet BUT for one
> puzzle.
>
> Old box: intel chipset, onboard ethernet came up as eth0, usb wireless
> came up as eth1 (if plugged in).
>
> New box: nforce chipset, onboard ethernet comes up as eth2 and if I
> plug the usb wireless in it comes up as eth1. There is no eth0.
>
> Any idea why the onboard doesn't come up as eth0 as one would normally expect?
Because udev has the old definitions for eth0 and eth1, and your new
hardware doesn't match. If you've running ubuntu, then you need to
remove/modify a few definitions from
/etc/udev/rules.d/70-persistent-net.rules
Like I've never got around to:the following lines causing my server to
come up with eth3 and eth4 - deleting the first 3 and renaming the
remaining 2 would fix it, but... well it's not that high on the list!
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0a:48:1d:b7:74",
ATTR{type}=="1", NAME="eth0"
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:1f:d0:5a:02:fb",
ATTR{type}=="1", NAME="eth1"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:1f:d0:28:e7:94", ATTR{type}=="1", KERNEL=="eth*",
NAME="eth2"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:1f:d0:a0:bf:b4", ATTR{type}=="1", KERNEL=="eth*",
NAME="eth3"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:1f:d0:a0:bf:c4", ATTR{type}=="1", KERNEL=="eth*",
NAME="eth4"