LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-02-2017, 04:48 PM   #1
pizzipie
Member
 
Registered: Jun 2005
Location: Hayden, ID
Distribution: Ubuntu 20.04
Posts: 441

Rep: Reputation: 12
Cannot access Firefox - apt-get update does not work


Cannot get onto Firefox. Tried two computers both failed . Next tried live cd with Ubuntuu 14.04. No luck. Only able to get you now on my wife's iPad.

Thanks for any input on how to resolve this.

R
 
Old 04-02-2017, 05:01 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,704

Rep: Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897
What do you mean by can not access Firefox. I assume you just can not access anything on the internet.

Is the computer using a static or dynamic IP address?

Is an IP address assigned to your network adapter? Look at the output of the /sbin/ifconfig or ip a commands.

Can the computer ping or access other devices on your LAN?
 
Old 04-03-2017, 01:21 PM   #3
pizzipie
Member
 
Registered: Jun 2005
Location: Hayden, ID
Distribution: Ubuntu 20.04
Posts: 441

Original Poster
Rep: Reputation: 12
Let me backup.

I click on Firefox and get a continous 'connecting' signal. It doesn't stop.

I believe this happened after I tried to update the computer using the update thing at the bottom line.

After this failed i tried to use Synaptic. Mark All Upgrades.

RESULT: could not resolve 'us.archive.ubuntu.com' OR ' security.ubuntu.com'.

I did som poking around on the internet and tried to ping these.

PING: ,us.archive.ubuntu.com' .... Result ping: unknown host us.ubuntu.com

Same with security.

This same thing is happening on both my laptops!

I just printed a test doc to my wireless printer, so the. Network works.

Tried email ... won' send ... outgoing server xxxxx is unknown
Thanks for help.

R

Last edited by pizzipie; 04-03-2017 at 01:28 PM. Reason: Added email sentance
 
Old 04-03-2017, 02:51 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,704

Rep: Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897
If you can ping a google IP address then it might be just a DNS problem but not enough information to say how/why it happened.

ping 209.85.235.102
 
Old 04-03-2017, 04:53 PM   #5
pizzipie
Member
 
Registered: Jun 2005
Location: Hayden, ID
Distribution: Ubuntu 20.04
Posts: 441

Original Poster
Rep: Reputation: 12
Thanks michael,

The google ping works fine.

So what do I do to fix this?
 
Old 04-03-2017, 05:41 PM   #6
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Linux installations and live CD not working, but iPad works. Mysterious. This iPad is on the same network, please confirm?
 
Old 04-03-2017, 06:16 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,704

Rep: Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897
What is the contents of your /etc/resolv.conf file?

Are both computers running Ubuntu? Were both laptops recently updated?

The IP address for LQ is 75.126.162.205 if you want to use your laptop.
 
Old 04-03-2017, 06:37 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,326
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Try using apt-get to run an upgrade, then post any error messages that it throws, being sure to surround them with code tags, which become available when you click the "Go Advanced" button beneath the "Compose Post" windows.
 
Old 04-03-2017, 06:56 PM   #9
pizzipie
Member
 
Registered: Jun 2005
Location: Hayden, ID
Distribution: Ubuntu 20.04
Posts: 441

Original Poster
Rep: Reputation: 12
iPad is on same network.

Contents of resolv.conf .... nameserver 127.0.1.1

Put 75.126.162.205 in address bar of Firefox, result .... looking up www.linuxquestions.org

Also trying to connect with thingee revolving continuously.

Both laptops running ONLY Ubuntu 14.04.

Ran apt-get upgrade ..... got bunches of ... could not resolve security.ubuntu.com
And bunches of E: Failed to fetch ... i cant show all this stuff on the iPad without typing it in...sorry.
 
Old 04-03-2017, 07:18 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,704

Rep: Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897
127.0.1.1 is also a localhost address. You could try adding manually a DNS nameserver to /etc/resolv.conf
nameserver 8.8.8.8

Another command that might fix things is:
sudo resolvconf --enable-updates

You should be able to run apt-get upgrade. My be another configuration that went astray with firefox.

Any DNS, proxy etc running on your LAN?

I assume that a reboot does not magically fix anything.
 
Old 04-03-2017, 07:21 PM   #11
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Two installations may go bad same time, but why is Live CD not working? No, that makes me think something happened to your router. Can you use your Ubuntu if you override the DNS manually, using 8.8.4.4 for instance?
 
Old 04-03-2017, 07:23 PM   #12
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
michaelk,

127.0.1.1 is the address avahi is using, systemd setup managed to create another middleman, this time between application and DNS. /etc/resolv.conf gets overwritten by NetworkManager.
 
Old 04-03-2017, 07:29 PM   #13
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,704

Rep: Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897Reputation: 5897
Yes, your correct about avahi and NetworkManager. However, 14.04 should still use upstart.
 
Old 04-03-2017, 07:36 PM   #14
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Did upstart use avahi? Because there is 127.0.1.1 in the resolv.conf.
 
Old 04-03-2017, 07:48 PM   #15
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,326
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
My ISP occasionally has DNS issues, but they are very rare (we're talking a few times a year) and seldom last more than a couple of minutes.

What DNS servers does your router point to? For a test, you could change the DNS servers to Google's, which are rock-solid (I don't use them, but they are rock-solid).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] apt-get update does not work Eoin Dubh Linux - Software 18 06-29-2023 08:24 PM
my apt-get update wont work chaseseith Linux - Newbie 11 09-14-2011 11:51 PM
Why apt-get update doesn't work? yuri16 Linux - Newbie 3 02-11-2009 12:07 AM
Why apt-get update doesn't work? yuri16 Debian 4 02-10-2009 11:17 PM
apt-get update doesn't work cccc Debian 1 01-04-2008 02:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration