linux:no device found for “System eth0”

 时间:2024-10-14 07:31:06

1、重启linux后,无法通过ssh和sftp连接,ping命令也失败。通过ifconfig看到显示网卡为eth1,而非eth0。

linux:no device found for “System eth0”linux:no device found for “System eth0”

2、通过执行重启网络服务:service network restart;和启动eth0:ifconfig eth0 up,均提示失败

linux:no device found for “System eth0”

3、通过查阅资料,此问题应当是由于系统未能识别正确的网卡导致,现在需要将系统修改为正确的网卡配置信息

4、首先确认ifconfig中的MAC地址是否与此文件哪段配置信息一致。正常应当时与eth1信息一致的。因此修改/etc/udev/rules.d/70-persistent-net.rules,删除到错误的网卡eth0信息,然后将文件中的NAME="eth1"修改为"eth0"

linux:no device found for “System eth0”

5、修改网络配置文件/etc/sy衡痕贤伎sconfig/network-scripts/ifcfg-eth0 文件中的mac信息,值为上一步/et艘早祓胂c/udev/rules.d/70-persistent-net.rules中的ATTR{address}值

linux:no device found for “System eth0”

6、重启网络服务,系统网卡、ip正常。远程连接正常。

linux:no device found for “System eth0”
  • 教你们怎么安装戴尔服务器的window 2003系统
  • VMwareWorkstation虚拟机安装VMware tools工具
  • 联想电脑限制USB接口
  • arp命令的使用教程
  • 如何在Linux系统中的桌面上使用快捷键
  • 热门搜索
    黄皮果的功效与作用 什么是地役权 长途跋涉什么意思 海马的功效与作用 pure什么意思 芒硝的功效与作用 竹叶青酒的功效与作用 什么汤去火 咖啡知识 石斛的功效与作用及食用方法