我刚刚在我的旧游戏pc上安装了Ubuntu服务器14.04.1LTS来运行文件服务器。我把它全部安装在PC上,并且能够升级和安装samba、openssh-server、smbclient、cifs-utils、ntp和ntpdate。我设置了/etc/network/interfaces:

。
一切看起来都在那里,我仍然能够安装软件包和一切。现在,当我重新启动计算机时,我尝试安装ddclient并得到:

现在,无论我试图安装、更新或升级什么,我都会得到它。任何帮助都将不胜感激!
发布于 2014-09-01 19:01:06
在/etc/network/interfaces文件中,您需要添加您的dns服务器。试着编辑如下所示:
auto eth0
iface eth0 inet static
address 192.168.0.10
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
dns-nameservers 8.8.8.8 4.2.2.2那就跑
sudo service networking restart试着平
ping google.comhttps://askubuntu.com/questions/518869
复制相似问题