On 06/03/2012 09:37 AM, John Cooper wrote: > Ah - discovered why it remaps eth0 -> eth1. > > In /etc/udev/rules.d/70-persistent-net.rules it embeds the MAC address > of my Pi.
Yup, this is normal. It will add the device's MAC address and name every time it finds a new one. I suspect this is to ensure that the NIC name/ordering doesn't change if/when you add a new NIC to a machine. > So you need to remove that file or edit it with your own MAC address, > which you can discover using > > 'dmesg |grep Ethernet' > > To get something like this: > > smsc95xx 1-1.1:1.0: eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, > smsc95xx USB 2.0 Ethernet, b8:27:eb:bd:2e:0f > > > Easiest way is just to delete /etc/udev/rules.d/70-persistent-net.rules > and then reboot. It will recreate the file with your correct details > included. > > This should fix the eth0 -> eth1 issue. > Thanks for the details Matthew! Indeed, best to remove all the entries from the installation image. Udev will create any missing entries when the machine boots up. Gordan
