Strange web browsing problem in Kubuntu
Kubuntu installed successfully on this computer. But when I tried going anywhere on the web using Konqueror, most of the time it would not load the page. I know it's not my connection going down because I was able to use Adept without any problems. So I used that to grab Firefox which did better but it still wouldn't load certain pages. It's weird because it's not always the same pages that refuse to load- for example, right now I'm obviously able to get onto linuxquestions.org, but google.ca won't load. Earlier the opposite was true.
I don't think my router (Linksys BEFSR41) is broken because there is a Windows XP box on the same router that has not experienced any problems. I'm not running a BitTorrent client or anything like that on any computers right now, and even when a Torrent app is running on the XP machine it does not seem to affect this problem one way or another. So I used the Firefox I got out of Adept to install a newer version directly from mozilla.com- it still has the same problem. There appears to be no difference when I configure a manual IP vs. using DHCP. I can ping any website I want- even while it won't load in Firefox, it pings just fine. So I don't think it's the NIC because if it was then ping and Adept shouldn't be working perfectly, and it worked perfectly when this computer was also running XP. Disabling Java, Javascript, and all Firefox extensions doesn't have an effect one way or another. Tried disabling IPv6 support (Kubuntu help files suggest this as a fix for some DNS problems relating to Konqueror) and still no effect. Tried resetting the router- still no effect. And finally, this is what I get when I run ifconfig: Quote:
|
post /etc/resolv.conf and `route`
|
Quote:
nameserver xx.xx.xx.xx nameserver xx.xx.xx.xx Where the IP addresses correspond to my ISP. The numbers are the same in resolv.conf as they are when I look at the DNS servers listed when I run ipconfig /all from a cmd prompt on the working XP machine. What do you mean by `route`? |
type route at the command line. Just want to see if there's anything strange happening with how packets are being routed.
Also, do a tracert and ping -c 100 to a website and see if there are any packet losses happening. |
Quote:
Quote:
As I said (or at least meant to say) before, ping never reports any losses. However when I run a tracepath on google.ca it won't go past my ISP before getting no reply. This is weird because I can still ping google.ca from this and the XP machine, and right now it even loads in Firefox! |
Your routing table looks fine.
Check your Firefox and Konqueror setting to make sure that they aren't using a proxy server or anything like that. Also, I know this is dumb, but try rebooting your Linux box. Try switching to a different physical port on your router? Check network cable?? You could also try browsing the internet using the w3m browser. Try this at the terminal: Code:
w3m google.ca Other than that, I don't have any other ideas on why your Windows machine works fine on the internet but your Linux doesn't. |
Quote:
Quote:
Quote:
Other than that, I'm totally stumped. |
Quote:
|
Hmm... I just tried google.ca and could not connect via Firefox. So I quickly opened up a console and ran a tracepath on google.ca:
Quote:
|
Well stated.
|
Quote:
Code:
sudo iptables -L |
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
It was suggested to me that I try looking at changing the MTU value for the interface I am using- I'm working on that right now and it seems at least for the moment that I'm getting fewer problems. |
To summarize, the problem is:
At this point I would consider sniffing the connection at various points. Of course, I have the equipment -- hub between my firewall & aDSL "modem", plenty of spare NIC's, & at least 1 extra GNU/Linux box to do the sniffing. Your situation may not be so conducive. Does anyone else have any easier ideas to try 1st? |
Quote:
And I do have some spare equipment- just no clue how to do sniffing. Would you happen to have a link to some kind of tutorial? And another thing... this is an integrated NIC in the Kubuntu box. Maybe the problem is that Kubuntu isn't handling that as well as Windows did. Can I just throw in another NIC into an expansion slot, or do I have to figure out how to disable the integrated first? |
I think you could start w/ no add'l equip. at all. Just install ethereal, now called wireshark, & have it report on the box having the problem. This might show if the HTML packets are even leaving for the LAN.
Phase 2 would be to put in a 2nd NIC & use it to sniff other points on the packets' path through your LAN to the 'Net. Before you use the new NIC for sniffing, you might just try connecting through it, this might solve the problem, although it might not explain it. In dealing w/ 2 NIC's in 1 box, you need to know their MAC addresses before you start. Probably the easiest way to do this is to run ifconfig before you put the 2nd 1 in & record the MAC address of the 1st. Later, the new MAC must be that of the add'l card. One thing to remember, you will need a hub, NOT a switch to insert at the different "sniff points". Hubs allow this kind of eavesdropping, switches hide the traffic on the different physical ports from each other. I haven't used wireshark/ethereal for several years, but it didn't seem hard to learn the basics at that time. An alternative to putting a 2nd NIC in the subject box is to install wireshark on a different computer (presumably a GNU/Linux machine) & use it w/ the hub to do the sniffing. Here is the topology of my LAN: Code:
0. 'Net Your set up is probably simpler: 'Net--Modem--Router (w/ built-in switch)--Computers I think I am getting ahead of myself, it may not have to be this complicated. In fact, I almost greyed out everything from here back to my 1st paragraph. As I said at the beginning, start by installing wireshark (I assume you won't find it called ethereal any more). Read its manual/help(/tutorials?) & get comfortable w/ it. See what it shows -- are your browsing packets even getting out the existing NIC. If they are, even when you're in the middle of an episode of the problem, then consider what the next step should be. |
All times are GMT -5. The time now is 03:05 PM. |