Ubuntu 15.04 connects to LAN but not internet

I have a machine using Ubuntu 14.04 that is fine, and I use it constantly as a media server.  I have a seldom-used tablet running Ubuntu  which I would like to use for some Kahn Academy PHP programming, and perhaps learn how to use an API I have access to.  The second machine was originally set up with 14.40, then without my request updated to Ubuntu 15.04.  Now I can connect to it using TightVNC, and I can ping it from my (Windows) desktop.  But it will not access the internet; "Server not found."   I found numerous Google hits with others having the exact problem with Ubuntu 15.04, but the solutions were beyond my personal skill set.  Generally they recommend to perform some sort of service or utility, but I need step by step "Type this, then that" level of instruction.  I posted this once and the posting got accidentally cancelled, so putting it back up.  Previously, there was an opinion that my DNS service was not properly set up, but no instruction how to do so.  If this turns out to be really complex, I guess I would entertain just wiping the system and starting over with a fresh install of Ubuntu 14.04.
LVL 1
Mike CaldwellConsultant to IP industryAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mark BullockQA EngineerCommented:
Can you run the terminal application on both your server and tablet?
If so, run these commands on bot, then post the output.
nslookup www.daringfireball.net
traceroute www.daringfireball.net

Open in new window

Mike CaldwellConsultant to IP industryAuthor Commented:
Two files attached; a tiny one from the server machine, a large one from Tablet.
Server-Output.txt
Server-Output.txt
Tablet-Output.txt
Mark BullockQA EngineerCommented:
None of the files has the output from the nslookup and traceroute commands.
What is your network setup? Does your PC get its configuration from DHCP?
Angular Fundamentals

Learn the fundamentals of Angular 2, a JavaScript framework for developing dynamic single page applications.

Mike CaldwellConsultant to IP industryAuthor Commented:
Not sure what you are asking; I'm pretty rookie with network stuff.  I have a new ASUS RT-N900 router (this problem goes way back before this router was installed).  I have nearly all nodes set with static IPs.   My desk PC is a Windows 7-64 machine, which also has a static IP.  The router is 192.168.1.1.  If this doesn't answer the question, I guess I need more explicit instructions.
Mike CaldwellConsultant to IP industryAuthor Commented:
My ISP is Comcast.  I have my own Linksys cable modem.  IP address from Comcast is not static.  I note that ASUS mentions UPnP under the WAN configuration page.  WAN connection type says "AUtomatic IP."  DHCP says "Aggressive query mode."
Mark BullockQA EngineerCommented:
Can you run the terminal app on the tablet, run the following command and post the output?
ping -c5 8.8.8.8

Open in new window


Here's the output I got.
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=56 time=13.114 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=56 time=28.245 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=56 time=14.381 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=56 time=14.956 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=56 time=14.281 ms

--- 8.8.8.8 ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 13.114/16.995/28.245/5.657 ms

Open in new window

Mike CaldwellConsultant to IP industryAuthor Commented:
mike@Ubuntu-Tablet:~$ ping -c5 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=4 ttl=55 time=45.7 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=55 time=53.9 ms

--- 8.8.8.8 ping statistics ---
5 packets transmitted, 2 received, 60% packet loss, time 4026ms
rtt min/avg/max/mdev = 45.712/49.850/53.988/4.138 ms

Open in new window

Mike CaldwellConsultant to IP industryAuthor Commented:
With half the packets failing it seemed that wifi was not working well with the tablet machine.  So I just plugged it into CAT5 and reran the ping.  This time all were received, with this result:
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=55 time=54.6 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=55 time=13.3 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=55 time=34.5 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=55 time=125 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=55 time=86.5 ms

--- 8.8.8.8 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 13.329/62.944/125.621/39.560 ms

Open in new window


However, still no internet connection.
Mike CaldwellConsultant to IP industryAuthor Commented:
I have a URL I own, so got the IP address and pinged it (198.61.224.144) and it pings just fine.  So I'm very confused as to how I can connect to and from the internet but cannot browse.
Mark BullockQA EngineerCommented:
Your routing is working.
Now let's test DNS.
Try these commands.
ping -c5 www.daringfireball.net
nslookup www.daringfireball.net

Open in new window

Mike CaldwellConsultant to IP industryAuthor Commented:
mike@Ubuntu-Tablet:~$ ping -c5 www.daringfireball.net
ping: unknown host www.daringfireball.net
mike@Ubuntu-Tablet:~$ nslookup www.daringfireball.net
Server:		127.0.1.1
Address:	127.0.1.1#53

Non-authoritative answer:
Name:	www.daringfireball.net
Address: 199.192.241.217

Open in new window

Mike CaldwellConsultant to IP industryAuthor Commented:
My son is very experienced in Ubuntu, just not available to come over.  His suggestion is to implement Google Name Server; I just don't know how to do that.
Mark BullockQA EngineerCommented:
It's trying to use a DNS server on your tablet.
I am thinking the DNS server configured for wifi on your router is wrong.

Try this command in the terminal app.
cat /etc/resolv.conf

Open in new window

Mike CaldwellConsultant to IP industryAuthor Commented:
mike@Ubuntu-Tablet:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
search compound
Mark BullockQA EngineerCommented:
The DNS configuration is definitely the problem.
Do you use a static IP address for your tablet? or do you use DHCP to set its IP address dynamically?
Mike CaldwellConsultant to IP industryAuthor Commented:
Static.  But I can go to dynamic of course.
Mike CaldwellConsultant to IP industryAuthor Commented:
Just checked; Tablet is and always has been DCHP; it is not static.
Mike CaldwellConsultant to IP industryAuthor Commented:
I just installed OpenDNS.  No change.
Mike CaldwellConsultant to IP industryAuthor Commented:
New data:  tried to browse to 173.194.202.106, an IP address for www.Google.com.  The address bar on Firefox does change to www.google.com, but still get a "Server not found."   So it seems that the name server is working, but something else is not.
Mark BullockQA EngineerCommented:
With your browser, you connected via the IP address and Google told your browser to request www.google.com, then your tablet couldn't lookup the IP address.

Do you have any other wifi devices connecting to your router for which DNS lookups work properly?
Mike CaldwellConsultant to IP industryAuthor Commented:
Yes, nine.  Two of them run Ubuntu plus the tablet, one with iOS, four with Windows.  One is wireless, the others are all wired.
Mark BullockQA EngineerCommented:
Is your tablet wifi only or does it have cellular as well?
Mark BullockQA EngineerCommented:
We'll add Google DNS server to both the ethernet and wifi network interfaces.

In the tablet's terminal app, run this command.
cat /etc/network/interface

Then I can give you the steps to edit the file.
Mike CaldwellConsultant to IP industryAuthor Commented:
Wired or wifi; no cell.  I'll do this now and report.  Thanks for sticking with me.
Mike CaldwellConsultant to IP industryAuthor Commented:
Response:  No such file or directory.
Mike CaldwellConsultant to IP industryAuthor Commented:
I found the file, and the command needed to be ...interfaces (plural).  So I did that, and got this return:

mike@Ubuntu-Tablet:~$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
Mark BullockQA EngineerCommented:
Run the terminal app so you can add Google DNS:
1. sudo vi /etc/network/interfaces
2. tap so the cursor is on the last line of the file
3. press the  o  key on the keyboard to open a new line after the last line of the file.
4. Type the following:
dns-nameservers 8.8.8.8
5. Press the Esc key to get out of edit mode
6. Type the following to write the file and quit
:wq

Open in new window


Then power off and power on.
Try to browse a web site.
Mike CaldwellConsultant to IP industryAuthor Commented:
Same o, same o.  No change.  I think perhaps I should just get a copy of 14.04 on a memory stick and start over.
Mark BullockQA EngineerCommented:
You could try the same procedure with this file: /etc/resolvconf/resolv.conf.d/base
Then run this command: sudo resolvconf -u

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mike CaldwellConsultant to IP industryAuthor Commented:
No response, no error message, etc.  And no change.  In another day or so I'm gonna just start from scratch and install 14.04.  I appreciate your effort, but it's been a week and a dozen different strategies, so time to move on.  Nothing really important on this machine that I'll lose.  Thanks Mark.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.