修改 IP設定(用 Vim)
sudo vim /etc/network/interfaces
原本
        auto eth0
        iface eth0 inet dhcp
改成
        auto eth0
        iface eth0 inet static
        address 192.168.1.***
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255
        gateway 192.168.1.254
 
改好, 跳出Vim
sudo /etc/init.d/networking restart
============
修改 DNS設定
sudo vi /etc/resolv.conf
nameserver 168.95.1.1
 


淮泰科技        新莊區五工三路88號2F          Tel:(02)89903526     Fax:(02)89904437