Home Linux troubleshooting How To Solve “Device eth0 does not seem to be present, delaying initialization” Error

How To Solve “Device eth0 does not seem to be present, delaying initialization” Error

By sk
Published: Last Updated on 66K views

The other day, I encountered with a strange error after I cloned a CentOS 6 guest machine in Oracle VirtualBox. After logging in to the CentOS guest, I noticed that the network card is disappeared. I can't SSH into the CentOS guest anymore.

I checked the IP address using command:

# ifconfig

Sample output:

 lo Link encap:Local Loopback 
 inet addr: Mask:
 inet6 addr: ::1/128 Scope:Host
 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:0 
 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

As you see in the above output, the eth0 config details is not displayed. It only shows the details of the loopback interface.

I tried to restart the network service to sort out the issue.

# service network restart

Nothing! It simply displayed the following error.

Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization
Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization
Error Message - Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization

I thought that there could be any misconfiguration in network configuration file. So, I decided to look into the eth0 configuration file to make sure if everything is correct.

# vi /etc/sysconfig/network-scripts/ifcfg-eth0

Sample output:

View Network card configuration file
View Network card configuration file

Everything seems OK.

Again, I tried to bring Network card up using command:

# ifup eth0

But, still no luck! It keeps showing the same error message as shown below.

Device eth0 does not seem to be present, delaying initialisation
Device eth0 does not seem to be present, delaying initialisation
Error Message - Device eth0 does not seem to be present, delaying initialisation

I added an additional virtual network interface card and configured it. I restarted network service and CentOS guest several times. But, nothing helped. I keep getting the same error over and over.

After a bit searching on web, I found the solution. The MAC address is the problem! After cloning the CentOS VM, the CentOS guest was still using the old machine's MAC address in the Virtual machine settings.

Solve "Device eth0 does not seem to be present, delaying initialization" error

If you ever encountered with the same issue, you can fix it as described in the following two methods.

Method 1:

To fix this problem, simply remove the file /etc/udev/rules.d/70-persistent-net.rules and reboot your system.

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

Now, you will see the network card is up.

Method 2:

If the problem is still not solved, open up the eth0 config file:

# vi /etc/sysconfig/network-scripts/ifcfg-eth0

Note down the MAC id (HWADDR).

eth0 config file
View eth0 config file

Close the file. Then, power off the CentOS guest and go to Settings -> Network -> Adapter 1 -> Advanced from VirtualBox menu bar.

Replace the old MAC id and update it with new one.

Update virtual machine's mac id in virtualbox
Update virtual machine's mac id in virtualbox

After changing the MAC address, Click OK to save it. and power on your guest.

Now, Check if the network card is up using command:

# ifconfig
ifconfig command output
ifconfig command output

That's it. It worked!

Reference link:

You May Also Like


madhukar88 November 8, 2017 - 3:50 am

great article buddy. thanks man

alan2306 January 23, 2018 - 4:15 pm

Thank you! The MAC address not matching what I had in the Virtual Box settings was the problem.

Muhammed Shafeeque February 17, 2018 - 2:58 am

Thank you brother. This is really informative and this doc helped me to resolve my issues in the real network.

Thanks again

Tim Harsch March 6, 2018 - 6:07 am

Nice summary! Thanks. note: it’s 70-persistent-net.rules not 70-persistant-net.rules

Dedi June 9, 2018 - 7:28 am

thanks dude for this information.
helping me so much

Prashanth June 16, 2018 - 7:05 am

Thank you. it solved my problem.

Martin July 10, 2018 - 3:00 pm

Thank you – after cloning, I commented out the mac address in ifcfg-eth0, but apparently that wasn’t enough, I had to insert the correct mac, and there it worked.

Yuzhen July 15, 2018 - 9:27 am

Thanks, really hopeful ! sincere appreciation from inside of the Great Wall haha

itsworks@thanks.com August 17, 2018 - 8:25 am


It’s works, thanks a lots 🙂

Hadi Alnabriss September 21, 2018 - 12:51 am

worked perfectly

Kári Harðarson September 21, 2018 - 3:43 pm

Thank you ! You saved me hours of work!

sk September 21, 2018 - 6:55 pm

Glad I could help.

Sina September 30, 2018 - 6:34 pm

that was very helpful and great. thanks a lot

JQ October 16, 2018 - 10:44 pm

Worked like a champ for me..thanks

sk October 17, 2018 - 11:14 am

You’re welcome!

binod November 6, 2018 - 3:16 pm

works fine thanks

chuck watson November 9, 2018 - 8:30 pm

thank you so much.. removing the 70-persistent-net.rules worked for me.

KISHORE PRABHU December 6, 2018 - 7:36 pm

Excellent! It was really helpful. Keep up the good work.

DTzzi December 18, 2018 - 10:23 pm

Hi, You have saved my life! I spent many days trying to solve it…
Thank you very much!!!

Sam Cheung January 5, 2019 - 8:13 pm

thanks for sharing great articles

Mike Behrens January 18, 2019 - 8:09 pm

This issue has plagued me for years. Thanks for posting. It was a great help. +1 Brother! Glad I found your post.

El February 6, 2019 - 1:34 am

Hours of searching and I came across this fantastic article, only wish I had found it sooner, THANK YOU!

Jack February 28, 2019 - 5:21 pm

Perfect. Removing that file was all I needed to do. Now my VM is on the network.

Thank you!!

sk March 1, 2019 - 12:35 pm

My pleasure. Glad you fixed it.

Foxglove Fox September 6, 2019 - 2:05 pm

Its work! Thank you!

Gayan Rathnayaka October 14, 2019 - 5:06 am

Great Article, Clean and On the spot. Thanks Mate

Ammu November 24, 2019 - 12:11 am

Thanks a lot.. it’s very useful

Eli March 22, 2020 - 10:39 pm

Thanks, you are awesome!!

L March 23, 2020 - 8:11 pm

Thanks a lot.. removing the 70-persistent-net.rules worked for me.

Qamre alam April 29, 2020 - 5:46 am

Hi Dear,
It was a great article.

BB-8 May 23, 2020 - 3:16 am

HELLO HUMAN The second method, worked just fine THANKS

Kevin May 28, 2020 - 7:04 pm

Thanks! This helped me through the first time I cloned a linux VM. May I suggest a small change in your solution? Editing the VMware settings to match the VM’s eth0 MAC will make your VMware environment have a duplicate MAC. Instead, what I did was simply checking the new MAC value from the vCenter console, and put that into the cloned VM’s ifcfg-eth0 file. This worked too.

sk May 28, 2020 - 10:32 pm

Thanks. I never knew it.

ney November 20, 2020 - 5:54 am

“rm /etc/udev/rules.d/70-persistent-net.rules” –> That’s THE trick!
Thank you!

sk November 20, 2020 - 11:13 am

Glad It helped. Regards.

Kevin December 15, 2020 - 10:02 pm

May I recommend editing ifcfg-ethx to change the MAC address to match VMware’s generated address instead of the other way around. This helps avoid having a duplicate MAC in your VMware infrastructure if you were to use vCenter to clone a VM.

Md. Zahirul Islam May 15, 2021 - 10:34 pm

Thank you so much, It worked with the last solution.

aviad October 24, 2021 - 3:16 pm

Very good. helped me alot

Dan December 22, 2022 - 5:50 pm

many thanks, great article!


Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This website uses cookies to improve your experience. By using this site, we will assume that you're OK with it. Accept Read More