eth0 not found
Posted: Fri Mar 08, 2019 10:33 am
I upgraded one of my remote systems this morning and did a reboot. It failed to come up so that I could ssh back into it. Looks like a visit to the remote site is required. This is raspbian initially installed as Jessie, but recently upgraded to Stretch.
I have a local copy of that system and so did the same update (sudo aptitude - then hit the u and U keys - finally g to do the update) and sure enough networking is broken with cannot find eth0 when it tries to bring up the interfaces in service networking start.
I found a blog post that describes this problem uses `networkctl` to find the name that the interface is actually called and then uses `ip link set xxx name eth0` to rename the network to eth0. Doing this I networking now correctly brings up eth0.
However it then goes on to describe creating a /etc/udev/rules.d/70-persistent-net.rules file to allow the booting system to rename to eth0 automatically. However I tried this and it doesn't work.
I've been poking around to see what is there and found a set up rules in /lib/udev/rules.d - but I have no idea what they are trying to do and whether they are even being used.
How can I make the network name change permanent. I obviously want to figure it out locally before making the journey to the remote site.
I have a local copy of that system and so did the same update (sudo aptitude - then hit the u and U keys - finally g to do the update) and sure enough networking is broken with cannot find eth0 when it tries to bring up the interfaces in service networking start.
I found a blog post that describes this problem uses `networkctl` to find the name that the interface is actually called and then uses `ip link set xxx name eth0` to rename the network to eth0. Doing this I networking now correctly brings up eth0.
However it then goes on to describe creating a /etc/udev/rules.d/70-persistent-net.rules file to allow the booting system to rename to eth0 automatically. However I tried this and it doesn't work.
I've been poking around to see what is there and found a set up rules in /lib/udev/rules.d - but I have no idea what they are trying to do and whether they are even being used.
How can I make the network name change permanent. I obviously want to figure it out locally before making the journey to the remote site.