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系统中的桌面上使用快捷键
  • 热门搜索
    龙利鱼是什么鱼 语不惊人死不休属于什么体裁 gdp是什么 备胎是什么意思 手麻是什么原因 苗族的传统节日是什么 商砼是什么意思 mojito是什么意思 判三缓四是什么意思 雪白的什么