"/etc/resolv.conf is missing or can't be read" comes up when trying to find modem for dial up connection from 7.04 kubuntu live cd

Asked by andyH

Hi, I'm playing around with a Kunbuntu 7.04 live cd from a friend. (I"m trying to switch over from xp eventually, had enough of windows i think..:-) When i try to connect to the internet and it goes looking for(an internal modem?) i get the following message...""/etc/resolv.conf is missing or can't be read, create file with appropriate read and write permissions". Very new to linux way of thinking, so don't know how to create a file, etc. cheers, Andy

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Jason Sandlin
Solved:
Last query:
Last reply:
Revision history for this message
Best Jason Sandlin (crane) said :
#1

You can just open a terminal by clicking
Applications>Accessories>Terminal
id the terminal window you can type:
sudo touch /etc/resolv.conf
That should creat it.
The resolve.conf folder is where your dns servers are stored. If for some reason you need to edit it just type the following in a terminal:
gksu gedit /etc/resolv.conf
Then just add your name servers in there. one line per server like :

4.2.2.2
4.2.2.3

Good luck!

Revision history for this message
andyH (arwh) said :
#2

Thanks Jason Sandlin, that solved my question.