Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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"
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 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)
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.