If you want to clone a SD image which was created on a Raspberry Pi and use the cloned SD on another Raspberry you have to execute one important additional step. Otherwise the Raspberry starting with the cloned SD card will not get a network connection.


As usual configure thesystem with all the stuff you need on the cloned image. Finally delete /etc/udev/rules.d/70-persistent-net.rules and shutdown the system. Don't boot the image any more. Now you have a master image which can be cloned. Clone the SD card and other Raspberries will startup a network connection successfully with this cloned image.

What's the root cause for the networking issue?

/etc/udev/rules.d/70-persistent-net.rules is used by Linux to map an interface MAC address to a network interface eth0 or wlan0. If now the SD card is used on another Raspberry with another MAC address the new MAC address will be registered with the next free network interface - which is eth1 or wlan1 - and in /etc/network/interfaces there is no network definition for eth1 or wlan1 because there was only eth0 or wlan0 defined.

Add comment
eMail is hidden and not visible to the public. It's used to inform you about new comments.