I've recently gotten a new internet connection (fiber connection) with WiFi. I've had it set up properly and it works with all other devices I own (two android phones, one Windows 8.1 laptop), but it doesn't seem to be working with Ubuntu.

My laptop shows that it's connected to the network in question, but I've tried Firefox but it gives me a 'server not found' page. I tried to update it through software updater, and it doesn't seem to connect either. BUT Transmission torrent client can connect and is working.

Looking for some help.

entering ping -c3 www.ubuntu.com yields:

ping: unknown host www.ubuntu.com

entering ping -c3 www.ubuntu.com yields:

PING ( 56(84) bytes of data. 64 bytes from icmp_seq=1 ttl=45 time=38.9 ms 64 bytes from icmp_seq=2 ttl=45 time=36.3 ms 64 bytes from icmp_seq=3 ttl=45 time=38.4 ms

--- ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 36.350/37.921/38.955/1.129 ms

  • 1
    You have a DNS problem. – user692175 May 25 '17 at 10:39
  • Oh. What can I do to resolve this problem? – elebird May 25 '17 at 12:28
  • Please edit your question to show the result of these terminal commands: ping -c3 www.ubuntu.com and also: ping -c3 – chili555 May 25 '17 at 12:43

Edit the /etc/resolv.conf file and change the first: nameserver to nameserver save and exit and try to ping www.google.com again. If that works you need to fix your DHCP to send this as DNS (if you are using DHCP and not static).

If you are using static ip, you have to set the following parameter in the /etc/network/interfaces file:


The '' is a name server provided by google. https://en.wikipedia.org/wiki/Google_Public_DNS DNS is what translates the human-readable machine name like www.ubuntu.com into the Internet-functional 32bit (for IPv4) number You need this whenever you contact the Internet. And it is frequently done also with every web page that needs to add additional information for JavaScript or Style sheets from other servers than the one you are contacting.

The 38.4ms to is the time you need for each request. This is just find while you are now testing, but eventually you may just set it to the IP number of your modem. That has a DNS server built-in and knows how to contact the DNS of your Internet provider. This replies in fractions of milliseconds for all that is has already cached from earlier requests. This will help a lot to fully enjoy your fibre connection. Just to explain, if you have a 100Mbit/s connect, then in 38.4ms you transfer 3.84Mbit of data, which may be more than the content of the web site you downloaded.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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