[SOLVED] Unknown host error in ubuntu 10.04 !! Please help me !! Bit Argent !!
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Are you using Ubuntu in VM or as standalone OS? If it's in VM then probably there's some issue with Network Adaptor settings of this VM. Once try:
Edit virtual machine settings > Select Network Adaptor group > Select Network connection tab > Select option NAT: Used to share host's IP address and leave rest options unchecked.
Then reboot and try to ping again.
The error you are quoting seems to indicate that your machine is either not connected to the internet, or it cannot resolve symbolic names to IP addresses, indicating an error in name resolution configuration somewhere.
Are you using Ubuntu in VM or as standalone OS? If it's in VM then probably there's some issue with Network Adaptor settings of this VM. Once try:
Edit virtual machine settings > Select Network Adaptor group > in Network connection tab > Select option NAT: Used to share host's IP address and leave rest options unchecked.
Then reboot and try to ping again.
Hi shivaa
That is not in VM , standalone only .. I am newbie for ubuntu machines, Please help me to resolve this problem ...
The error you are quoting seems to indicate that your machine is either not connected to the internet, or it cannot resolve symbolic names to IP addresses, indicating an error in name resolution configuration somewhere.
Hi rylan
My /etc/resove.conf file showing only names,(I cant share that output because some security problem ) ... there is no ip in that file .. only names are there ..
Your system declares the "string" as unknown since your /etc/resolv.conf (probably) finds it there without an assignable IP value.
Clean up your resolv.conf file, put there the things only needed by the system to access the internet and be able to resolve domain names. One indispensable item there should be your ISP's Domain Name Server <this you can get from their techmen or be inferred from traceroute>, and your localhost 127.0.0.1 <this may not be necessary but advisable since other applications may want to find it there>; anything else might be valid proxies and resolvers but not necessary entries, save that which is required by the subnet or ISP policies.
Hope that helps.
Good luck.
Last edited by malekmustaq; 12-10-2012 at 01:52 AM.
Your system declares the "string" as unknown since your /etc/resolv.conf (probably) finds it there without an assignable IP value.
Clean up your resolv.conf file, put there the things only needed by the system to access the internet and be able to resolve domain names. One indispensable item there should be your ISP's Domain Name Server <this you can get from their techmen or be inferred from traceroute>, and your localhost 127.0.0.1 <this may not be necessary but advisable since other applications may want to find it there>; anything else might be valid proxies and resolvers but not necessary entries, save that which is required by the subnet or ISP policies.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.