RT,由于受到网络环境限制,需要设置静态IP和DNS。
怎么修改,是要配置什么文件吗?
谢谢了!
cd /etc/network sudo nano interfacesiface eth0 inet static address 192.168.1.xx netmask 255.255.255.0 gateway 192.168.1.1
sudo nano interfaces
iface eth0 inet static address 192.168.1.xx netmask 255.255.255.0 gateway 192.168.1.1
更改/etc/network/interfaces# The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 192.168.1.58 gateway 192.168.1.1 network 192.168.1.0 broadcast 192.168.1.255 dns-nameservers 66.212.63.228 66.212.48.10 照上面範例置換您的IP即可
/etc/network/interfaces
解决的方法可以参考一下以下文章:
http://http://www.feifeiboke.com/pcjishu/3617.html