26/7/18

Hướng dẫn Fix lỗi “Device eth0 does not seem to be present, delaying initialization”

Để sửa lỗi này, trước tiên chúng ta sẽ xóa các rule của Networking interface, sau đó khởi động lại VPS để hệ thống generate lại rule mới

Thực hiện lệnh để xóa các rule

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

Restart lại service network

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  ]
Đăng nhập vào root

ifconfig
eth0      Link encap:Ethernet  HWaddr 08:00:27:FE:C1:03
          inet addr:192.168.1.99  Bcast:xxxxxxxx  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fefe:c103/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4400 errors:0 dropped:0 overruns:0 frame:0
          TX packets:129 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:387597 (378.5 KiB)  TX bytes:19567 (19.1 KiB)

Với các bước trên bạn đã có thể fix được lỗi “Device eth0 does not seem to be present, delaying initialization”.

Nếu có điều gì cần thắc mắc bạn comment vào bên dưới để mình giải đáp nhé.

Chúc bạn thành công!!!

0 nhận xét: