Manual setup of Static IP Address and DNS on Ubuntu 12.04

Manually setting of Static IP Address and DNS on Ubuntu 12.04 LTS Precise Pangolin
by: Revengksky Joseph D. Reyes (a.k.a rjdreyes – jcyberinux.com)

For Ubuntu Desktop Users especially with Unity GUI.

(Note: For this event you may need an internet connection, in case of need to install or download available updates on your Ubuntu OS.)

1. Open the Terminal, then from there type: ifconfig
This will give you information about your current IP Address and other details.

2. To manually set up a IP Address or Static IP Address of the certain Computer, type the following command. sudo gedit /etc/network/interfaces

(Note: It will ask for administration password, or your own account password, type it and click Authenticate or press enter key.)

3. From here, an editor will opened with following lines:
auto lo
iface lo inet loopback

Add the following lines: (This is only an example)

auto eth0
iface eth0 inet static
address 192.168.10.142
gateway 192.168.10.100
netmask 255.255.255.0
network 192.168.10.0
broadcast 192.168.10.255
dns-nameservers 8.8.8.8 208.67.222.222

4. Save it then exit the editor and restart your computer.

5. Then after your computer reboot, open a web browser then navigate certain website or open a local computer network, or in the terminal type: ping google.com

This ensures you still have the internet and local area connection.

Please share for any additional information here in our comment. Cheers! :D

(Note: Ubuntu(Unity and Applications) Logo/Images/Pictures has a respective copyright. I used it for demonstration purpose only.)

Related Entries / Links / Sources / Articles / Sources:
Ubuntu Official Site
Download Ubuntu Official Site

Related Posts Plugin for WordPress, Blogger...
Share

One comment

  1. amedar says:

    Keep up the good work, I read few content on this website and I conceive that your web blog is rattling interesting and contains sets of great info.