[Linux] device eth0 does not seem to present
虛擬機器service network restart提示
device eth0 does not seem to present
需要如下動作:
[root@iphone ~]# more /etc/udev/rules.d/70-persistent-net.rules
# 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 0x15ad:0x07b0 (vmxnet3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:56:9c:52:5a", ATTR{type}=="1", KERNEL=="eth*", NAME="eth6"
記錄下其中mac address
[root@iphone ~]#
[root@iphone ~]# cd /etc/sysconfig/network-scripts/
[root@iphone network-scripts]# mv ifcfg-eth0 ifcfg-eth6
[root@iphone network-scripts]# more ifcfg-eth6 #將device 和 hwaddr 修改為上述內容
DEVICE=eth6
HWADDR=00:50:56:9c:52:5a
TYPE=Ethernet
UUID=7a969bdb-527f-4dc0-980e-e3cc4a6fe8a3
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=none
DNS1=192.168.169.254
IPV6INIT=no
USERCTL=no
IPADDR=172.16.99.19
NETMASK=255.255.255.0
GATEWAY=172.16.99.1
[root@iphone network-scripts]# service network restart #之後ok
device eth0 does not seem to present
需要如下動作:
[root@iphone ~]# more /etc/udev/rules.d/70-persistent-net.rules
# 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 0x15ad:0x07b0 (vmxnet3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:56:9c:52:5a", ATTR{type}=="1", KERNEL=="eth*", NAME="eth6"
記錄下其中mac address
[root@iphone ~]#
[root@iphone ~]# cd /etc/sysconfig/network-scripts/
[root@iphone network-scripts]# mv ifcfg-eth0 ifcfg-eth6
[root@iphone network-scripts]# more ifcfg-eth6 #將device 和 hwaddr 修改為上述內容
DEVICE=eth6
HWADDR=00:50:56:9c:52:5a
TYPE=Ethernet
UUID=7a969bdb-527f-4dc0-980e-e3cc4a6fe8a3
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=none
DNS1=192.168.169.254
IPV6INIT=no
USERCTL=no
IPADDR=172.16.99.19
NETMASK=255.255.255.0
GATEWAY=172.16.99.1
[root@iphone network-scripts]# service network restart #之後ok
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24237320/viewspace-2120395/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- CentOS Linux解決Device eth0 does not seem to be presentCentOSLinuxdev
- device eth0 does not seem to be present, delaying initializationdev
- vmware克隆linux出現Device eth0 does not seem to be presentLinuxdev
- RAC-device eth0 does not seem to be present, delaying initializationdev
- Bringing up interface eth0: Device eth0 does not seem to be present ,delayindev
- 啟動網路卡時報:does not seem to be present
- virtualbox虛擬機器遷移出現"connot find device eth0"錯誤虛擬機dev
- Your host does not meet minimum requirements to run VMware workstation with hyper-v or device/credenUIREMdev
- 翻譯:Linux and the Device TreeLinuxdev
- Linux案例01:eth0網路卡異常Linux
- virtualbox安裝oracle linux後找不到eth0OracleLinux
- Linux下檢視網路卡設定 ethtool eth0Linux
- 在Linux上使用raw device方式Linuxdev
- redhat linux上不用dd清空raw device可以重複使用raw device嗎RedhatLinuxdev
- .nil? .empty? .blank? .present? in Ruby on RailsAI
- Linux rm -rf 之rm: cannot remove `linux': Device or resource busyLinuxREMdev
- [Linux Device Driver] wifi adb 使用方法LinuxdevWiFi
- Linux locate/print block device attributes ASMLibLinuxBloCdevASM
- How to Set Device Name Using UDEV on Oracle Linux 7.1devOracleLinux
- 建立raw device tablespace報Linux Error: 13: Permission denieddevLinuxError
- Linux 日誌異常tpvmlpd[4966]: device type not supportedLinuxdev
- FILE ON OCFS CANNOT BE DELETED LINUX ERROR: 16: DEVICE OR RESOURCE BUSYdeleteLinuxErrordev
- 新建的linux虛擬機器找不到eth0解決辦法Linux虛擬機
- wrap devicedev
- device dirverdev
- platform devicePlatformdev
- raw devicedev
- SSL - SSLHandshakeException: No subject alternative names presentException
- 【Linux】bad geometry: block count 11796480 exceeds size of deviceLinuxBloCdev
- linux下如何使用raw device來建立管理asm diskLinuxdevASM
- device-mapper create ioctl failed: Device or resource busydevAPPAI
- No space left on devicedev
- 自定義Push/Pop和Present/Dismiss轉場
- 自定義present和dismiss的轉場動畫動畫
- Linux-x86_64 Error: 28: No space left on device問題LinuxErrordev
- oracle for linux安裝報錯 file /home/oracle/.Xauthority does not existOracleLinux
- VMware下Linux網路卡由eth0變為eth1的解決辦法Linux
- Config and Use of Device Mapper Multipathing on Oracle Linux (OL)_555603.1devAPPOracleLinux