LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-23-2011, 09:16 AM   #1
frank4360
Member
 
Registered: Nov 2007
Location: South of France
Distribution: LinuxLite, Debian 8, MacPup, Suse, Fedora
Posts: 58

Rep: Reputation: 16
Firefox 7.0.1 (Aurora) can't find a URL; Firefox 8.0 can!


I have Firefox 7.0.1 Aurora running on PuupyLinux on an Acer Aspire One, and Firefox 8.0 running on Xubuntu 11.04 on another laptop.

On Firefox 8 I can access "statcounter.com"; with Firefox 7.0.1 I get "Firefox can't establish a connection".

All other sites I try seem to be available on both systems.

Any ideas, as this has beaten me!

Thanks in advance.
 
Old 11-23-2011, 09:28 AM   #2
gRRosminet
LQ Newbie
 
Registered: Sep 2011
Location: France
Posts: 8

Rep: Reputation: Disabled
Hello

Can you give a little more informations and do some checks plz :

1) Is your problem limited too statcounter ? Have you try to go to another site ?

2) Are you on the same network with your 2 PC ?

3) Have you checked your /etc/resolv.conf file ? is it the same for the 2 PC ?

4) If you try to add the following line (DNS from google) as first line of your /etc/resolv.conf, does it solve the problem ?
Quote:
nameserver 8.8.8.8
5) check your iptable rules by typing the following command as root (DNS is on port 53):
Quote:
iptables -L
 
Old 11-23-2011, 09:59 AM   #3
frank4360
Member
 
Registered: Nov 2007
Location: South of France
Distribution: LinuxLite, Debian 8, MacPup, Suse, Fedora
Posts: 58

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by gRRosminet View Post
Hello

Can you give a little more informations and do some checks plz :

1) Is your problem limited too statcounter ? Have you try to go to another site ?

2) Are you on the same network with your 2 PC ?

3) Have you checked your /etc/resolv.conf file ? is it the same for the 2 PC ?

4) If you try to add the following line (DNS from google) as first line of your /etc/resolv.conf, does it solve the problem ?


5) check your iptable rules by typing the following command as root (DNS is on port 53):
Hello

1. So far I have only found the problem with "statcounter.com" - other sites work fine.
2. Both PC's are on the same Wireless LAN
3. The /etc/resolv.conf files have the same two lines
domain home
nameserver 192.168.1.1

The system that can connect to statcounter has a line "search home" between these two line; the other system doesn't.

4. No - adding "nameserver 8.8.8.8" makes no difference

5. The system that connects has the following output to "iptables -L"

Code:
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
The system that doesn't connect has the following response to "iptables -L"

Code:
Chain INPUT (policy DROP)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
ACCEPT     all  --  anywhere             anywhere            state NEW 
TRUSTED    all  --  anywhere             anywhere            state NEW 

Chain FORWARD (policy DROP)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
DROP       icmp --  anywhere             anywhere            state INVALID 

Chain TRUSTED (1 references)
target     prot opt source               destination         
ACCEPT     icmp --  anywhere             192.168.1.12        icmp echo-request 
DROP       icmp --  anywhere             anywhere            
REJECT     all  --  anywhere             anywhere            reject-with icmp-port-unreachable
 
Old 11-23-2011, 10:34 AM   #4
gRRosminet
LQ Newbie
 
Registered: Sep 2011
Location: France
Posts: 8

Rep: Reputation: Disabled
What is 192.168.1.12 ?

did you try with WWW.statcounter.com ? ... sometimes there are strange behaviours

Try to compare output from dig (name resolver) :
Quote:
dig statcounter.com www.statcounter.com
I think you should try to reset your iptables to confirm that it is a firewall problem, but it's realy strange that only statcounter does not work :
Quote:
iptable -P INPUT ACCEPT
iptable -P OUTPUT ACCEPT
iptable -F
iptable -X
Then if it solves your problem you'll have to redefine the firewall rules you really need
 
Old 11-23-2011, 01:30 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
did you install no-script and / or add block plus
both could be set to block access to starcounter
 
Old 11-24-2011, 11:16 AM   #6
frank4360
Member
 
Registered: Nov 2007
Location: South of France
Distribution: LinuxLite, Debian 8, MacPup, Suse, Fedora
Posts: 58

Original Poster
Rep: Reputation: 16
I have tried both "statcounter.com" and "www.statcounter.com" - both give the same "Failed to connect" from a PuppyLinux machine; both connect perfectly from a Xubuntu system. "dig" shows both URLs work - the "www" connection is slower to make.

Both machines are on the same wireless LAN (gRRosminet - 192.168.1.12 is the PuppyLinux system) running from an Orange Livebox (192.168.1.1).

I have disabled all Firefox add-ons, running in "safe mode" - same results.

I have disabled the firewall - deleting /etc/rc.d/rc.firewall completely.

I have tried using Seamonkey browser from the PuppyLinux system - same result, so it is not a Firefox problem.

I can connect to "gs.statcounter.com" from the PuppyLinux system, but when clicking on a link to the "statcounter.com" page, the same ""Failed to connect" message appears.

I am finding the whole thing pretty baffling!
 
Old 11-24-2011, 11:32 AM   #7
gRRosminet
LQ Newbie
 
Registered: Sep 2011
Location: France
Posts: 8

Rep: Reputation: Disabled
Well ... I'm running out of ideas ...

I imagine you already have checked your livebox configuration, my neighbors often have problems with it (oui, je suis "mauvaise langue" ;-) )
So the only way to find what's wrong now is WireShark from your PuppyLinux and scan what's happening on ports 53, 80 (is that all ?) when you try to connect to statcounter.com (try to do your acces with wget so that it will limit interfernces and volume of data)

Good luck ;-)
 
Old 11-28-2011, 10:26 AM   #8
frank4360
Member
 
Registered: Nov 2007
Location: South of France
Distribution: LinuxLite, Debian 8, MacPup, Suse, Fedora
Posts: 58

Original Poster
Rep: Reputation: 16
[solved]

As always, the simple things catch you out.

PuppyLinux seems to install a /etc/hosts file as a default, and lo and behold, "statcounter" is in this file. (/etc/hosts lists URLs that cannot be accessed by the computer - it is usually used to stop advertising).

I have simply deleted the /etc/hosts file and everything is now ok.

Thanks again.
 
Old 11-28-2011, 12:29 PM   #9
gRRosminet
LQ Newbie
 
Registered: Sep 2011
Location: France
Posts: 8

Rep: Reputation: Disabled
You should keep some lines in your /etc/hosts :

Quote:
127.0.0.1 localhost
192.168.1.12 MyPuppyMachine
 
Old 11-28-2011, 01:08 PM   #10
frank4360
Member
 
Registered: Nov 2007
Location: South of France
Distribution: LinuxLite, Debian 8, MacPup, Suse, Fedora
Posts: 58

Original Poster
Rep: Reputation: 16
Yes - in fact I have just deleted all "statcounter" lines.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Firefox for Tablets available for download in Aurora Channel LXer Syndicated Linux News 0 10-05-2011 11:32 PM
LXer: Firefox 8 is 20% Faster than Firefox 5, Install Firefox 8 in Ubuntu via PPA LXer Syndicated Linux News 0 07-21-2011 09:31 PM
LXer: Firefox and Thunderbird Stable, Beta, Aurora and Nightly Channel PPAs for Ubuntu LXer Syndicated Linux News 0 07-21-2011 10:20 AM
Load firefox with url - Python Penguin of Wonder Programming 1 02-25-2006 10:29 PM
firefox URL editing davidleroux1 Linux - Newbie 3 04-24-2005 03:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:53 AM.

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