(Configure eth0,eth1,eth2,dll...)# vi /etc/sysconfig/network-scripts/ifcfg-eth0DEVICE="eth0"NM_CONTROLLED="yes"ONBOOT=yesHWADDR=A4:BA:DB:37:F1:04TYPE=EthernetBOOTPROTO=staticNAME="System eth0"UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03IPADDR=192.168.1.44NETMASK=255.255.255.0(Configure Default Gateway)# vi /etc/sysconfig/networkNETWORKING=yesHOSTNAME=centos6GATEWAY=192.168.1.1(Restart Network Interface)# /etc/init.d/network restart(Configure DNS Server)# vi /etc/resolv.confnameserver 8.8.8.8 # Replace with your nameserver ipnameserver 192.168.1.1 # Replace with your nameserver ip
Minggu, 22 Februari 2015
Configurasi Network pada Raspberry PI
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar