I can't connect to the internet with my Lubuntu 18.04. It shows the wifi adapter with the signal bars and says that it's connected, but Firefox says: can't connect to server and Sudo apt-get update says Failed to Fetch.

  • Please edit your question to show the result of the terminal commands: ping -c3 and also: ping -c3 www.google.com and also: ls -al /etc/resolv.conf Welcome to Ask Ubuntu.
    – chili555
    Commented Oct 2, 2018 at 13:09

1 Answer 1


Take the following steps:

  • open a terminal by pressing Ctrl+Alt+T
  • In the terminal type:

    ping www.google.com
  • You will probably get time out as reply or not a reply at all
  • Press Ctrl+C to stop the ping command.
  • In the terminal now type:


    This will try to ping Cloudflare's DNS. If you get replies then the problem lies within your DNS server.

If you don't get a reply then you are not connected to the Internet through your router. (which is en issue outside of Ubuntu and off-topic here)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .