Senin, 27 September 2010

Setting IP Manual Di Ubuntu

To do Setting Static IP Address in Ubuntu Linux, please see steps below :

1. Disable Network Manager

#sudo update-rc.d -f NetworkManager remove
#sudo apt-get remove network-manager network-manager-gnome

2. Edit File /etc/network/interfaces

#sudo vi /etc/network/interfaces

Then enter the lines below :

auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

3. Edit File /etc/resolv.conf >>

#sudo vi /etc/resolv.conf

enter the lines below (assumption: using connections from my ISP) :

nameserver 192.168.1.1
nameserver 202.134.1.10
nameserver 203.134.196.155

4. Delete DHCP client

#sudo apt-get remove dhcp-client

5. Restart Network

#sudo /etc/init.d/networking restart

6. Test

#ping www.google.com

Linux tutorial above using the vi text editor, if you are not familiar with the text editor, can use a text editor GUI based such as leafpad or gedit. Well, until here you are able to do static ip settings.


Selamat Mencoba...

0 komentar:

copyright @ nofianto777 2011 || design by : doel_sumbang2001