View Full Version : [ubuntu] /etc/resolv.conf

May 8th, 2009, 01:21 AM
I just installed 9.04 Xubuntu and my network connection is not working..
One of the instructions suggested "editing" /etc/resolv.conf. However, I don't have that file on my machine. Is that something I need to pay attention to while debugging this networking issue?

May 8th, 2009, 01:25 AM
try typing in the terminal: sudo less /etc/resolv.conf

This should post the contents of the file (if it exists as it does on my machine). it is hidden to your user so you have to open it as the root user. (ergo the sudo command)

May 8th, 2009, 01:37 AM
I don't have any wireless internet. I saw the same post and I don't have the file either. I do have a file that is (I think) called resolvconf. I looked at that file and it did not need
any editing. So I still don't have any internet connection.

May 8th, 2009, 02:07 AM
I always used sudo.. The file isn't there...

May 8th, 2009, 02:28 AM
I don't know anything about the /etc/resolv.conf file except that there is one on my computer, but you may want to have a look at the following (somewhat dated) thread which simply suggests creating the file. It only takes a minute or so and is worth a try.


BTW, the title of your thread says Ubuntu and your post says Xubuntu. It's probably not important, but you may want to clarify this.