Difference between revisions of "SchoolOnffLine: Set Static IP address Untuk Ethernet"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 18: | Line 18: | ||
gateway 192.168.0.1 | gateway 192.168.0.1 | ||
# dns-* options are implemented by the resolvconf package, if installed | # dns-* options are implemented by the resolvconf package, if installed | ||
− | dns-nameservers 203.34.118.10, 203.34.118.12, 208.67.222.222 | + | dns-nameservers 192.168.0.254, 203.34.118.10, 203.34.118.12, 208.67.222.222 |
dns-search sekolah.sch.id | dns-search sekolah.sch.id | ||
Revision as of 07:46, 3 August 2009
Edit /etc/network/interfaces
# vi /etc/network/interfaces
Bisa di isi dengan
# The loopback network interface auto lo iface lo inet loopback
# The primary network interface auto eth0 iface eth0 inet static address 192.168.0.254 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 192.168.0.254, 203.34.118.10, 203.34.118.12, 208.67.222.222 dns-search sekolah.sch.id
Restart Networking
# /etc/init.d/networking restart