Skip to content

Instantly share code, notes, and snippets.

@wohugb
Last active June 20, 2022 14:10
Show Gist options
  • Save wohugb/5e383e5ff017891ee623c4823697fae3 to your computer and use it in GitHub Desktop.
Save wohugb/5e383e5ff017891ee623c4823697fae3 to your computer and use it in GitHub Desktop.
aliyun ecs ubuntu 强制升级导致网卡无法启动
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