Bobcares

Device eth0 does not seem to be present – Experts solution

by | Dec 5, 2019

Receiving the error “Device eth0 does not seem to be present”? Here’s how we fix it.

Last week, we came across the same error while migrating the servers. And we fixed it by removing the 70-persistent-net.rules file and rebooting the server.

At Bobcares, we often receive requests to fix network errors as a part of our Server Management Services.

Today, let us discuss how our Support Engineers resolve the error within minutes.

 

Root cause for the error “Device eth0 does not seem to be present” to occur

This error occurs in VM which is cloned or migrated from another node. This error mainly occurs when the MAC address of eth0 in the new node differs.

When booting the server, NIC gets a unique MAC address and it does not match with one in ifcfg-eth0. On using command ifconfig, eth0 only displays the loopback interface details. When restarting the network service an error message displays as:

Device eth0 does not seem to be present

Let’s discuss how our Support Engineers resolve this error.

 

How we fix the error Device eth0 does not seem to be present?

Recently we had a customer who was facing problems when migrating a server from one node to another. Analyzing the ifcfg-eth0, the details in the file were correct. Let’s see how our Support Engineers resolve the error within minutes.

 

Method 1: Removing 70-persistent-net.rules file

The simplest way to resolve the error is to remove the 70-persistent-net.rules file. This file is associated with NIC’s MAC address with an interface name given to the NIC at startup. The file is present at:

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

Our Engineers remove the file by running the command

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

After removing the file we reboot the server. On boot, the file will be automatically created with the correct MAC records.

 

Method 2: Changing MAC address

Another method is to manually enter the MAC id in ifcfg-eth0 file. Our Support Engineers use the command to get the MAC address.

ip link show

Once we get the MAC address. We replace the old MAC address to the new MAC Address.

vi /etc/sysconfig/network-scripts/ifcfg-eth0
HWADDR=MAC ADDRESS

Then save the file.

Finally, we use the below command to activate the network interface.

ifup eth0

 

[Still having trouble in loading server? – We’ll fix it for you]

 

Conclusion

In short, we have discussed the causes of the network error. Also, we have discussed how our Support Engineers resolve the error by removing a file or by changing the MAC address.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF