Thursday, January 14, 2010

Setting Network di Ubuntu melalui terminal

Buka Terminal
Menu -> Accessories -> Terminal

Ketik : $sudo gedit /etc/network/interfaces

ubah parameternya sesuai yang kita kehendaki, sebagai contoh :


# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.10
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.254
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.0.254

simpan

trus resart network
$sudo /etc/init.d/networking restart

Digg Google Bookmarks reddit Mixx StumbleUpon Technorati Yahoo! Buzz DesignFloat Delicious BlinkList Furl

0 comments: on "Setting Network di Ubuntu melalui terminal"