Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
I have a new install that I cannot get web access working. I have a shared broadband connection routed through a router that five other Windows machines are share just fine. I get an IP address via DHCP just fine but from at least two different browsers, I get the following behavior:
google.com comes up quickly and reliably.
google search results come up quickly and reliably.
Almost nothing else works. Clicking on any search results (that aren't provided by google) just hangs.
A few select sites do work, though somewhat slow (e.g. ibm.com, mit.edu, vanderbilt.edu, several *.edu that I have tried, but not all, even redhat by its IP address only!!!)
A similar problem I encountered a while ago was caused by DNS.
Try to ping some funky site that doesn't want to work at all and see if it resolves it.
The solution may depend on your setup and distribution or the ability of the gateway to pass through DNS.
Hm.. I believe the router has some kind of a dns forwarder that doesn't work. However it has cached google's ip. When TTL ends, i THINK google should stop working too.
Besides, have you tried opening any webpage on their IP?
If they DO open with IP, it just must be a name resolving problem. You should either change your DNS server, or reconfigure the router
In regard to the question "any webpage on their [my ISP, I assume] IP?"
I just tried to go to www.comcast.net, first on a Windows machine, and it came up with lots of media, etc., then I tried on my Linux box and was taken to an error page which said:
Quote:
Sorry, we can't find "http". We suggest that you check the spelling of the web address or search above.
I entered http://www.comcast.net into the address bar in both cases on firefox. My Linux Opera just hung like other sites.
If they DO open with IP, it just must be a name resolving problem. You should either change your DNS server, or reconfigure the router
This is what it seems like is going on. Name resolution is not functioning properly. What is the content of your /etc/resolv.conf ?
Try adding a line to it that looks like:
nameserver 4.2.2.1
Then see if it works. Your resolve.conf is auto-created though, so the changes will be temporary. If this solves your problem, then it is a error in your router configuration. Find out how to set nameservers in your router.
Last edited by sploot; 10-02-2009 at 04:52 PM.
Reason: fixing quote
No other PC on my network has this issue. There are 2 Win2k, and three WinXP also local
I have downloaded and booted with the LiveCD and tried to surf with it; same problem exists on the system I am experiencing the problem (Fedora Core 11 new install).
I booted the LiveCD on one of my Win2K machines and surfing works!
Now this says to me perhaps my NIC? What flaky? I can run wire shark and the spotty site access mentioned above; I don't think so.
if there is an issue with your nic or with a cable I'd suggest to ping another computer within your network and then ping your Linux-machine from the other computer. Find out, if there is a difference between both directions.
I can ping only the router and other wired local systems and they can ping my fedora box, as well. Can't ping wireless connected systems. Wireless workstations can only ping wired systems, as well, and the router. No system can ping my local wireless IP's.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.