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 |
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? |
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 |
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 |
Thanks michael,
The google ping works fine. So what do I do to fix this? |
Linux installations and live CD not working, but iPad works. Mysterious. This iPad is on the same network, please confirm?
|
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. |
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.
|
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. |
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. |
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?
|
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. |
Yes, your correct about avahi and NetworkManager. However, 14.04 should still use upstart.
|
Did upstart use avahi? Because there is 127.0.1.1 in the resolv.conf.
|
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). |
All times are GMT -5. The time now is 02:16 PM. |