Persistent net rules

Apr 09, 2015 1 Replies

Do the popular Debian based distros for the RPi use Persistent Net Rules?



I put an SD card in a different Pi and it tried to bring up a non-existent eth1 because eth0 was associated with the MAC address of the interface of the other machine.



This could cause much confusion in many situations.



The relevant files in my case were /etc/udev/rules.d/70-persistent-net.rules and /lib/udev/write_net_rules now both deleted.



My application is RASPBX and I don't know how it compares with Raspian, NOOBS etc. in this respect.


Graham. %Profound_observation%

Hi,

I had this issue several times on some other distros. The solution was to erasse the dynamically written content of

/etc/udev/rules.d/70-persistent-net.rules

since it is being filled by /lib/udev/write_net_rules according to your hardware. So, it looks which ethx is present and uses only this one, instead of adding the newly found interface.

Best regards,

Markus

Please reply to group only. For private email please use http://www.dipl-ing-kessler.de/email.htm

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required