於/etc/network/interfaces中設定
iface eth0 inet static
address 192.168.0.41
netmask 255.255.255.0
gateway 192.168.0.1
指定DNS server
/etc/resolv.conf
domain 網域
nameserver DNS 168.95.1.1
sudo /etc/init.d/networking restart
iface eth0 inet static
address 192.168.0.41
netmask 255.255.255.0
gateway 192.168.0.1
指定DNS server
/etc/resolv.conf
domain 網域
nameserver DNS 168.95.1.1
sudo /etc/init.d/networking restart
留言
張貼留言