Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm new to linux. Just installed Ubuntu 11.10. Setting up seemed to go ok. I seem to be able to connect to my wireless connection ( says "connection established") but fir fox says "Server not found when i try to connect to internet.

Please remember to keep it simple if you ask me to enter code into the terminal as I am new to this.

Hope someone can help me.

share|improve this question

Welcome to askubuntu, and congratulations for diving into a decent computing environnment.

I suspect your wireless is connected, but you may have a DNS problem.

Try these 2 simple ping commands, in a console:




If the second ping does not resolve ( it should return 3 ping results by default), this would mean you HAVE an Internet connection, just no properly configured DNS resolver.

If that is the case, I suggest you configure your DNS by following this guide.

Oh, if you need a DNS server to setup against you can use google's public dns service.

  • If both pings do not resolve, it could be you are connected to your router but the router is not connected to Internet.

  • If you want to rule out that firefox is the culprit, try installing chrome or even lynx:

    sudo apt-get install lynx


   sudo apt-get install chrome

Then, in a console:


If this brings you the beautiful google page (in text mode), Firefox is the culprit. I would surprised if this was the case. I am betting you have a (quite common) DNS configuration problem.

Hope that helps. Cheers!

share|improve this answer
Hi, thanks for the quick reply. First ping returned "Unknown host" and the second returned "Network is unreachable" – Dave Apr 22 '12 at 7:18
Still having problems, please help... – Dave Apr 22 '12 at 7:56
Then, you have no Internet connection my friend, your NIC card, was it detected at startup? See this page for some general help on network configuration: – stefgosselin Apr 22 '12 at 10:36
sudo lshw -class network - paste the resultof thisin a pastebin and post the link here – stefgosselin Apr 22 '12 at 10:39 – Dave Apr 23 '12 at 3:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.