enp3s0是什麼
現在網絡的名字改變了。例如eth0,eth1……->enp0s25,enp3s0……
用ip命令能確認名字。
$ ip a
(中略)
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
(中略)
“/etc/network/interfaces”裏網絡的名字應該是一樣。
$ less /etc/network/interfaces
(中略)
allow-hotplug enp3s0
iface enp3s0 inet static
(中略)
resolveconf軟件包
resolvconf軟件包自動更新resolv.conf。用apt-get命令能安裝。