Cara Memperbaiki Error “Device eth0 does not seem to be present, delaying initialization”

Karena suatu hal motherboard server harus di ganti dengan yang baru, namun mendapatkan masalah network tidak terhubung ke internet.

Cek network:

# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
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)

 Coba Jalankan Network

# ifup eth0
Device eth0 does not seem to be present, delaying initialisation

Untuk Memperbaikinya :

Hapus file networking interface rules dan reboot server CentOS. dan akan menggenerate kembali file interface rule ang baru secara otomatis setelah reboot.

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

Alamat Mac address sudah di buat lagi:

# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x8086:0x100e (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="08:00:27:fe:c1:03", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

Sekarang edit /etc/sysconfig/network-scripts/ifcfg-eth0,

Add new HWADDR generated or remove it 
Remove UUID line

Restart network kembali

# service network restart
Shutting down interface eth0: [OK]
Shutting down loopback interface: [OK]
Bringing up loopback interface: [OK]
Bringing up interface eth0: Determining if ip address 192.168.1.99 is already in use for device eth0...[OK]
Baca Juga:  Install CMS Litecart di ubuntu 18.04

Di tulis oleh: