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:
1 |
# ifconfig |
1 2 3 4 5 6 7 8 |
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: errors: dropped: overruns: frame: TX packets: errors: dropped: overruns: carrier: collisions: txqueuelen: RX bytes: (0.0 b) TX bytes: (0.0 b) |
Coba Jalankan Network
1 2 |
# 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.
1 2 |
# rm /etc/udev/rules.d/70-persistent-net.rules # reboot |
Alamat Mac address sudah di buat lagi:
1 2 3 4 5 6 7 8 |
# 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,
1 2 |
Add new HWADDR generated or remove it Remove UUID line |
Restart network kembali
1 2 3 4 5 |
# 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] |
Di tulis oleh: admin