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:
iface lo inet loopback
Add the following lines: (This is only an example)
iface eth0 inet static
dns-nameservers 188.8.131.52 184.108.40.206
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!
(Note: Ubuntu(Unity and Applications) Logo/Images/Pictures has a respective copyright. I used it for demonstration purpose only.)