Linux解决Device eth0 does not seem to be present

我自逍遥5自狂

我自逍遥5自狂

2016-03-31 16:18

下面请跟着图老师小编一起来了解下Linux解决Device eth0 does not seem to be present,精心挑选的内容希望大家喜欢,不要忘记点个赞哦!

Linux解决Device eth0 does not seem to be present

   CentOS Linux解决Device eth0 does not seem to be present

  在VMware里克隆出来的CentOS Linux。。

  ifconfig...没有看到eth0.。然后重启网卡又报下面错误。

  故障现象:

Linux解决Device eth0 does not seem to be present 图老师

  解决办法:

  首先,打开/etc/udev/rules.d/70-persistent-net.rules内容如下面例子所示:

  # vi /etc/udev/rules.d/70-persistent-net.rules

  # This file was automatically generated by the /lib/udev/write_net_rules

(本文来源于图老师网站,更多请访问https://m.tulaoshi.com/fuwuqi/)

  # 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 0x1022:0x2000 (pcnet32)

(本文来源于图老师网站,更多请访问https://m.tulaoshi.com/fuwuqi/)

  SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:8f:89:9

  7", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

  # PCI device 0x1022:0x2000 (pcnet32)

(本文来源于图老师网站,更多请访问https://m.tulaoshi.com/fuwuqi/)

  SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:50:bd:1

  7", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

  记录下,eth1网卡的mac地址00:0c:29:50:bd:17

  接下来,打开/etc/sysconfig/network-scripts/ifcfg-eth0

  # vi /etc/sysconfig/network-scripts/ifcfg-eth0

  将 DEVICE="eth0" 改成 DEVICE="eth1" ,

  将 HWADDR="00:0c:29:8f:89:97" 改成上面的mac地址 HWADDR="00:0c:29:50:bd:17"

  最后,重启网络

  # service network restart

  或者

  # /etc/init.d/network restart

  正常了。

展开更多 50%)
分享

猜你喜欢

Linux解决Device eth0 does not seem to be present

服务器
Linux解决Device eth0 does not seem to be present

CentOS Linux解决网卡启动时候报Device eth0 does not seem to be present错误

服务器
CentOS Linux解决网卡启动时候报Device eth0 does not seem to be present错误

s8lol主宰符文怎么配

英雄联盟 网络游戏
s8lol主宰符文怎么配

VMware克隆Linux提示eth0找不到怎么办?

电脑入门
VMware克隆Linux提示eth0找不到怎么办?

iPhone"There is a problem with your device" 解决方法

iphone iPhone 5s iPhone 6 iphone刷机
iPhone

lol偷钱流符文搭配推荐

英雄联盟 网络游戏
lol偷钱流符文搭配推荐

《幽灵行动4:未来行动》Device is removed:Device hung due to badly forme

电脑网络
《幽灵行动4:未来行动》Device is removed:Device hung due to badly forme

Win10蓝屏提示INACCESSIBLE_BOOT_DEVICE的解决方法

windows10
Win10蓝屏提示INACCESSIBLE_BOOT_DEVICE的解决方法

lolAD刺客新符文搭配推荐

英雄联盟
lolAD刺客新符文搭配推荐

360云盘回收站找回误删文件方法图文教程

360云盘回收站找回误删文件方法图文教程

设置IE浏览器网页背景颜色保护眼睛

设置IE浏览器网页背景颜色保护眼睛
下拉加载更多内容 ↓