4
将网络配置为静态ip时,resolv.conf不会在重新启动时设置
将计算机配置为使用静态ip时,遇到了Ubuntu 12.04 Server版中的名称解析问题。 在/ etc / network / interfaces中: # The primary network interface auto eth0 iface eth0 inet static address 192.168.1.28 netmask 255.255.255.0 gateway 192.168.1.1 运行$ sudo apt-get upgrade,将导致“无法提取...”: . . . W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-backports/universe/i18n/Translation-en_US Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname) …
17
12.04
networking
dns
dhcp