Last active
June 20, 2022 14:10
-
-
Save wohugb/5e383e5ff017891ee623c4823697fae3 to your computer and use it in GitHub Desktop.
aliyun ecs ubuntu 强制升级导致网卡无法启动
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ifup eth0 | |
> unknown interface eth0 | |
vim /etc/network/interfaces | |
# 添加 | |
> auto eth0 | |
> iface eth0 inet dhcp | |
reboot | |
# 如果任然有问题 | |
rm -f /etc/udev/rules.d/70-persistent-net.rules | |
reboot | |
# 删除后然后重启,生成eth0配置文件 | |
ifup eth0 | |
ifconfig -a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment