Firefox and Software update cannot find my internet. But I can print to my WiFi printer.

Asked by Randy

https://answers.launchpad.net/ubuntu/+question/673006 secure boot
https://answers.launchpad.net/ubuntu/+question/672977

Following an update 2018-08-27, I accepted an upgrade to 18.04 from 16.04 (Linux 4.4.0-134-generic to 4.15.0-33 as shown in GRUB 2.02). During the upgrade I was informed that my computer was set to secure boot and that I had unsigned Kernels. Also that GRUB would not therefore be changed.

From Ubuntu Software I get:

Unable to download updates from "extensions.gnome.org": [*/*/*/source/shell-extensions/*]Failed to download https://extensions.gnome.org//extensions/static/extensions.json:
Cannot resolve hostname

From Firefox I get:
"We can't connect to the server at www.cnn.com"

  or any other URL.

But I can print to my printer on WiFi through the router that the same hardware connects to launchpad with EDGE dual boot in Windows-10.

/etc/default/grub contains:
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
While its intended repacement in /tmp contains:
GRUB_TIMEOUT_STYLE=hidden

Grub gives me 10 seconds to choose to boot into windows 10 so I need it not to be hidden.

Am happy that 18.04 mostly works on my computer but will gladly accept advice on fixing connectivity to the internet.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

If you run:

echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null

Does the web then work? If it does, then run:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo reboot

Do the upgrades help? If not we can make the change stick.

Revision history for this message
Randy (randydecker) said :
#2

actionparsnip,

That I am sending this from Ubuntu is proof of positive results! Thank you very much for a very prompt reply.
The nameserver command restored internet access to Firefox but not Ubuntu software. After I ran the 3 upgrades and rebooted I needed to run the nameserver command again to use Firefox.

Thanks,
R

-----Original Message-----
>From: actionparsnip <email address hidden>
>Sent: Aug 28, 2018 5:07 PM
>To: <email address hidden>
>Subject: Re: [Question #673066]: Firefox and Software update cannot find my internet. But I can print to my WiFi printer.
>
>Your question #673066 on apt in Ubuntu changed:
>https://answers.launchpad.net/ubuntu/+source/apt/+question/673066
>
> Status: Open => Needs information
>
>actionparsnip requested more information:
>If you run:
>
>echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null
>
>Does the web then work? If it does, then run:
>
>sudo apt-get update
>sudo apt-get upgrade
>sudo apt-get dist-upgrade
>sudo reboot
>
>Do the upgrades help? If not we can make the change stick.
>
>--
>To answer this request for more information, you can either reply to
>this email or enter your reply at the following page:
>https://answers.launchpad.net/ubuntu/+source/apt/+question/673066
>
>You received this question notification because you asked the question.

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#3

We can make the nameserver command stick. Just a small tweak.

echo "nameserver 8.8.8.8" | sudo tee -a /etc/resolvconf/resolv.conf.d/head > /dev/null

It will now work after a reboot.

Revision history for this message
Randy (randydecker) said :
#4

Thank you very much. Internet access for Firefox does indeed "stick" after a reboot.

R