SIOCSIFADDR: No such device eth0
eth0: ERROR while getting interface flags: No such device
When I ran ifconfig only lo showed up. No eth0 to be seen anywhere. After hunting around the net for a few minutes I came across some tips that helped.
First I ran:
This showed me two adapters – lo and eth2. Aha!
Next step was to edit this file:
Looking at that file, I could see my adapter listed as well as a couple others. I commented out the ones with the wrong MAC address, found the correct one and changed the entry for eth2 to eth0.
I rebooted and everything was gold.
Thank you Google.