答案1
添加eno1
到/etc/network/interfaces
:
auto eno1
allow-hotplug eno1
iface eno1 inet dhcp
编辑你的/etc/resolv.conf
echo "nameserver 8.8.8.8" |sudo tee -a /etc/resolv.conf
然后:
sudo dhclient eno1
或者使用ifup
.
添加eno1
到/etc/network/interfaces
:
auto eno1
allow-hotplug eno1
iface eno1 inet dhcp
编辑你的/etc/resolv.conf
echo "nameserver 8.8.8.8" |sudo tee -a /etc/resolv.conf
然后:
sudo dhclient eno1
或者使用ifup
.