Page 1 of 1
Raspberry Pi switched ethernet interfaces
Posted: Thu Aug 20, 2015 9:52 pm
by perrpello
So on my raspberry pi the network interface was set as eth0. I created an image, put the new image on a new pi and the networking port got set up as eth7. I switched the image to a different pi and the networking port got set up as eth3.
Does anyone have any ideas as to what is going on?
Re: Raspberry Pi switched ethernet interfaces
Posted: Thu Aug 20, 2015 11:33 pm
by perrpello
I believe I found the core of the problem and it exists in /etc/udev/rules.d/7-persistent-net.rules.
I am still unsure of a permanent fix though,
removing the file gives a temporary one
Re: Raspberry Pi switched ethernet interfaces
Posted: Fri Aug 21, 2015 12:01 am
by KLL
i read
http://unix.stackexchange.com/questions ... -net-rules that it happens after cloning systems like with having 2 times the same MAC on a network??
Re: Raspberry Pi switched ethernet interfaces
Posted: Fri Aug 21, 2015 5:53 am
by rpdom
I guess you're not using Raspbian? In Debian the default is to assign a new interface name for every new bit of hardware or MAC address found.
In the RFP Raspbian image that has been disabled because it is very likely that SD cards will be used on many different Raspis in the classroom and they do want them to work "out of the box".