Focus on cloud service provider activities
Notes on website operation and maintenance

Solve the problem of "Device eth0 does not see to be present" in Linux

This problem is caused by“ Linode translates server systems and data and reserves IP addresses through cloning "It occurred when data in the computer room was migrated. I remember playing with data migration to different computer rooms before, and there was no such problem. This time, after the migration, the IP addresses are different, and SSH cannot be linked. At first, I thought it was caused by incomplete data migration. Later, when I thought that incomplete data had nothing to do with the IP, it must be caused by the MAC address configuration problem.

Fortunately, the Linode VPS server has the "Lish via Browser" function. You can log in through the WEB mode to check whether there is an error.

 Solve the problem of "Device eth0 does not see to be present" in Linux

We can see an error prompt“ Bringing up interface eth0:  Device eth0 does not seem to be present, delaying initialization "It should be caused by the MAC address configuration problem. Lao Zuo (laozuo. org) needs to find out how to solve this problem. There are many ways to solve this problem on the Internet, and I do it this way.

First, delete the 70-persistent-net.rules file

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

We can't use the SFTP tool here. We can only use the command to operate.

Second, edit the ifcfg-eth0 file

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

 Edit ifcfg-eth0 file

We change eth0 to eth1, then save and exit.

Third, restart the network

service network restart

 Restart the network

Lao Zuo solved the problem in this way. He then detected that the IP address could be pinged and SSH could log in.

Domain name host preferential information push QQ group: six hundred and twenty-seven million seven hundred and seventy-five thousand four hundred and seventy-seven Get preferential promotion from merchants.
Like( zero )
Do not reprint without permission: Lao Zuo's Notes » Solve the problem of "Device eth0 does not see to be present" in Linux


Scan the code to follow the official account

Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge