configuring network in kubuntu intrepid

I don’t know why kubuntu/ubuntu has made it so difficult to configure network running with a proxy server.. When it happened on my pc, I thought, I must have mistaken somewhere during the installation.. but, the same thing happens in my friends’ computers too.. so, its nothing more than a bug, and this post will be very useful for those who don’t want to waste 6 hours at a stretch to figure out the correct network configuration..

The gui network doesn’t work, I don’t know why.. so, we shall be using the console way..

  1. cd /etc/network/
  2. sudo kate interfaces .. note that, kate is the text editor in KDE.. if u don’t have kate installed, use any other text editor like gedit..
  3. provide ur password..
  4. add the following lines of code in ‘interfaces’

auto lo
iface lo inet loopback

iface eth0 inet static

auto eth0

Note that the first 2 lines r for the local addresses.. and, initially, as with me, u will find only the first two lines.. add the next 4 lines, with ur IP in address, subnet mask in netmast and default gateway in gateway..

by now, u r almost half way done.. only the nameservers need to be configured…

now, check out ur network status by going to /etc/init.d

code: cd /etc/init.d/

now start the networking service with the super user privileges:

sudo ./networking start

u will get an error message like, can’t find resolv.conf .. it is the configuration file which stores ur nameserver settings.. if u don’t get any error messages, u can check if ur network is working by pinging to some address like :


if u get replies, ur network has been configured, else, u will have to add the nameserver settings in resolv.conf (if u earlier got a message like resolv.conf not found..).. the procedure for this is:

cd /etc

sudo kate resolv.conf

now, add any no. of nameservers in the following format:


All the configuration finished, u now have to start the networking service by going to /etc/init.d/

code: cd /etc/init.d/

sudo ./networking start

Finally, u can check ur network by pinging to any IP .. Congrats!!

If u have proxy servers, u can configure them in console by setting the $http_proxy environmental variable..

code: export http_proxy =

where is the host and 8080 is the port ..

:) :) :)

Comments (3)

FruddyJune 2nd, 2009 at 8:23 am

Hi there,

Thank you very much for writing this. It took me only a while to configure my network and this very post saved me hours of frustration.


kempozoneOctober 12th, 2009 at 12:09 pm

Im sure many of you are like me and one of the first things you do in the morning is head here and check out the new post. Along with seeing the new posts, I’m also always checking out the blog roll rss feed and watching them grow, or shrink sometimes. In one of my past …but all in all excellent site. Keep it up!

DonnieboyOctober 12th, 2009 at 1:25 pm

Just wanted to drop you a line to say, I enjoy reading your site. I thought about starting a blog myself but don’t have the time.
Oh well maybe one day…. :)

Leave a comment

Your comment