本文共 360 字,大约阅读时间需要 1 分钟。
现在网络的名字改变了。例如eth0,eth1……->enp0s25,enp3s0……
用ip命令能确认名字。
$ ip a(中略)2: enp3s0:mtu 1500 qdisc pfifo_fast (中略)
“/etc/network/interfaces”里网络的名字应该是一样。
$ less /etc/network/interfaces
(中略)allow-hotplug enp3s0iface enp3s0 inet static(中略)
resolvconf软件包自动更新resolv.conf。用apt-get命令能安装。
转载于:https://blog.51cto.com/13853768/2136529