1

I have problem with internet connection for Firefox and Chromium on Ubuntu[ Ubuntu 16.04]. I tried few solution. One of them is My browsers can not connect to the internet while my Ubuntu is connected. But no one works. May be proxy/or firewall problem??

Ping 8.8.8.8:

ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.

Ping google.com:

ping https://www.google.com
ping: unknown host https://www.google.com

nmcli d:

    virbr0     bridge     connected      virbr0
    enp0s25    ethernet   unmanaged      ---
    lo         loopback   unmanaged      ---

Any help regrading this will be appreciated.

abbasi_ahsan
  • 289
  • 1
  • 4
  • 15
  • 3
    Can you ping your gateway? I suspect you can; can you ping a web-site externally using internet address (eg. ping 8.8.8.8 or google) again I suspect you can. Next can you ping using a human address (eg. ping google.com) - I suspect here you'll find you can't - ie. you have a DNS issue. Tor uses a different DNS system (otherwise it wouldn't be private!) so your issue is likely DNS. – guiverc Jul 16 '19 at 09:59
  • 2
    Please don't reply in comments, if you want to add information - edit your question and add it there, it's easier to read, allows editing & provides formatting options now available in comments. – guiverc Jul 16 '19 at 10:02
  • Not at all, these websites works normally. – abbasi_ahsan Jul 16 '19 at 10:19
  • https://askubuntu.com/questions/368435/how-do-i-fix-dns-resolving-which-doesnt-work-after-upgrading-to-ubuntu-13-10-s not working – abbasi_ahsan Jul 16 '19 at 10:48
  • What release of Ubuntu are you using? – guiverc Jul 16 '19 at 11:22
  • 2
    ping https://www.google.com ... you don't use URL notation in ping, just FQDN. It should be: ping www.google.com – Soren A Jul 16 '19 at 12:07
  • What about output of /sbin/route -n, host 8.8.8.8, nslookup ubuntu.com, and wget --spider ubuntu.com? – Nathaniel M. Beaver Jul 16 '19 at 19:26
  • @NathanielM.Beaver: Output of /sbin/route -n is binary. host 8.8.8.8 & nslookup ubuntu.com silently hangs up. wget --spider ubuntu.com prompts "Resolving ubuntu.com … failed: Name or service not known." – abbasi_ahsan Jul 17 '19 at 05:39
  • @abbasi_ahsan Please update your question with those results. Also try systemd-resolve ubuntu.com and getent hosts ubuntu.com. What do you mean by "Output of /sbin/route -n is binary"? It should say "Kernel IP routing table", followed by a table with columns that say e.g. "Destination" and "Gateway". – Nathaniel M. Beaver Jul 17 '19 at 15:33
  • what do you have here cat /etc/resolv.conf ? – JoKeR Jul 17 '19 at 21:50

0 Answers0