国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統 > CentOS > 正文

CentOS Linux解決網卡啟動時候報Device eth0 does not seem to be present錯誤

2020-05-27 13:17:06
字體:
來源:轉載
供稿:網友

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

  ifconfig...沒有看到eth0.。然后重啟網卡又報下面錯誤。

  故障現象:

  service network restart

  Shutting down loopback insterface: [ OK ]

  Bringing up loopback insterface: [ OK ]

  Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization. [FAILED]

CentOS 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

  # 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)

  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)

  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

  正常了。

        注:更多精彩教程請關注武林網電腦教程欄目,武林網電腦辦公群:(已滿!)歡迎你的加入

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 紫云| 怀仁县| 疏勒县| 华坪县| 昌宁县| 德安县| 永靖县| 兴安县| 泰州市| 修文县| 灌南县| 大埔区| 武宁县| 都兰县| 云安县| 嵊泗县| 和静县| 大同市| 吉安市| 利川市| 湘潭市| 博湖县| 武宣县| 湄潭县| 镇平县| 溧阳市| 拜城县| 涟源市| 梁山县| 通化市| 南汇区| 庆阳市| 塔河县| 南部县| 宾川县| 饶平县| 桃园市| 呈贡县| 芜湖县| 醴陵市| 林周县|