700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > Ubuntu ifconfig命令eth0没有IP 解决方法

Ubuntu ifconfig命令eth0没有IP 解决方法

时间:2021-05-05 02:53:31

相关推荐

Ubuntu ifconfig命令eth0没有IP 解决方法

问题描述:Ubuntu ifconfig命令eth0没有IP

1.删除etc/udev/rules.d/70-persistent-net.rules 文件,之后重启让系统重新生成eth0配置文件

rm -f /etc/udev/rules.d/70-persistent-net.rules

reboot

2.$ifconfig 看有没有eth0信息

3.$sudo ifup eth0 启动网卡

提示错误:Ignoring unknown interface eth0=eth0.

4.gedit /etc/network/interfaces 修改配置文件 添加eth0配置

5.$ifconfig -a eth0 显示IP

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。