device eth0 does not seem to be present, delaying initialization
device eth0 does not seem to be present, delaying initialization
vmlite虛擬機器啟動出錯,就把這個虛擬機器刪除掉重新建立,系統虛擬硬碟使用之前的,啟動系統後不能上網,透過ifconfig檢視網路卡沒啟動,遂啟動網路卡服務,但是出錯,就是:device eth0 does not seem to be present, delaying initialization,然後想到是不是ifcfg-eth0的配置檔案裡儲存了以前的MAC地址,就把這一行刪除掉在重啟網路卡,還是一樣的錯誤,隨後網上查了下資料,把/etc/udev/rules.d/70-persistent-net.rules 刪除後重啟機器就可以了,因為這個檔案繫結了網路卡和mac地址,所以換了網路卡以後MAC地址變了,所以不能正常啟動,也可以直接編輯這個配置檔案把裡面的網路卡和mac地址修改乘對應的,不過這樣多麻煩,直接刪除重啟,它會自動生成個。
1、
vi /etc/sysconfig/network-scripts/ifcfg-eth0
ifcfg-eth0的配置檔案裡儲存了以前的MAC地址,就把這一行刪除掉在重啟網路卡
2、
/etc/udev/rules.d/70-persistent-net.rules
刪除後重啟機器
因為這個檔案繫結了網路卡和mac地址,所以換了網路卡以後MAC地址變了,所以不能正常啟動,也可以直接編輯這個配置檔案把裡面的網路卡和mac地址修改乘對應的,不過這樣多麻煩,直接刪除重啟,它會自動生成個。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26845409/viewspace-1475398/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Your host does not meet minimum requirements to run VMware workstation with hyper-v or device/credenUIREMdev
- Initialization
- However small the rewards may seem in comparison
- 初始化 (Initialization)
- SSL - SSLHandshakeException: No subject alternative names presentException
- WPF initialization for opening and unitialization for closing process
- error:03000086:digital envelope routines::initialization errorErrorGit
- Linux案例01:eth0網路卡異常Linux
- 自定義Push/Pop和Present/Dismiss轉場
- What does -> do in clojure?
- does not support SSL connections
- ‘map’ does not name a type
- 執行時報錯RuntimeError: expected device cpu but got device cuda:0ErrordevGo
- 翻譯:Linux and the Device TreeLinuxdev
- As 除錯 no target device found除錯dev
- kubernetes container device interface (CDI)AIdev
- Waiting for target device to come onlineAIdev
- The label does not denote a loop in forEachOOP
- What does "xargs grep" do?
- error: 'cout' does not name a type|Error
- error: ‘xxx’ does not name a typeError
- centos7的網路卡名修改為eth0CentOS
- iOS Device ID 的前世今生iOSdev
- XDS: Cross-Device Scripting AttacksROSdev
- gpg: signing failed: Inappropriate ioctl for deviceAIAPPdev
- Waring: /dev/centos/swap does not existdevCentOS
- Property [title] does not exist on this collection instance
- PSQLexception: ERROR : type "signed" does not existSQLExceptionError
- SciTech-OS-Linux-Device Driver: 英文原版電子書“Linux Device Drivers, Third Edition”Linuxdev
- 給你的專案啟動提提速:Lazy Initialization
- Error occurred during initialization of boot layer java.lang.module.FindExceptionErrorbootJavaIndexException
- Swift中Initialization的一些個人總結Swift
- Why do STM32 initialization peripherals need to turn on the clock first?
- RAC安裝時出現PRKC-1024 : Invalid netmask: eth0
- Centos系統更換網路卡名稱為eth0教程CentOS
- 淺談 iOS Device ID 的修改iOSdev
- Android Studio: /dev/kvm device permission deniedAndroiddev
- Error: Connection activation failed: Device not managed by NetworkManagerErrorAIdev
- Structure of Linux Kernel Device Driver(Part II)StructLinuxdev