PDA

View Full Version : Browser issues - FC3


mirowalker
2005-02-05, 07:40 AM CST
Hi,

I'm experiencing some strange issues with web browsing on my new FC3 install. The install itself went fine, but...

For some reason when I try to point a web browser at a web site, I get some very erratic behaviour. For sites on my local network (i.e. router admin panel) everything works perfectly, but for sites on the big wide web, I get an intermittent connection time out error (connection hangs with "Connecting to..." and then times out).

The intermittency is strange, as it sometimes connects ok to certain sites, but then fails shortly after (I'd estimate it works 2% of the time). It's not an issue with the target site, as I've been testing on a wide range without any consistent behaviour I can determine.

I'm able to ping the sites I've been trying to connect to with no problems, so it doesn't seem like a networking issue (unless it's a very specific and kooky one). I've also just tried a new install, using the KDE desktop environment and thought the problem had gone away, as Konqueror doesn't seem to have any problems - it works perfectly, but then I tried firefox, lynx, Gnome File Browser (nautilus) and the Redhat Network (up2date?) tool and none of these worked.

My network is set up to go through a single ADSL modem/router unit. I have two other MS Windows machines on the network, and these exhibit absolutely no problems. Networking has been configured the same between machines (same gateway, fixed ip vs. DHCP) and I only get this problem on the linux box.

I'm a bit stuck, as I've no real idea how to go about finding out what the problem is. I'm guessing that all of the programs except Konqueror are using some library that doesn't like my machine / setup.

In case it makes a difference, my machine setup is a laptop with an onboard VIA chipset for built-in ethernet. I've used it for a couple of years as a windows machine, so there's nothing inherently wrong with it.

Any ideas / help greatly appreciated.

Cheers,

Miro

PS: Fedora version is: FC3 - 2.6.9-1.667

Northern
2005-02-05, 10:30 AM CST
Have you ensured that the DNS info on your linux box is the same as on your other machines ?

mirowalker
2005-02-05, 11:53 AM CST
I haven't actually done any DNS configuration per se - I simply allowed it to self-configure during install (to use DHCP). However, I don't think DNS is the issue, as it is not failing to find the sites, it is failing to Connect. The firefox window simply says "Connecting to www.google.com..." in the status bar and then after about 10 mins says the connection timed out. Other browser combinations

As I mentioned, ping works fine, as does Konqueror, although traceroute doesn't seem too happy. On my windows box, a tracert to www.google.co.uk looks like this:

Tracing route to www.google.co.uk [66.102.11.99]
over a maximum of 30 hops:

1 3 ms 2 ms 2 ms mygateway.ar7 [192.168.1.1]
2 29 ms 16 ms 15 ms i [194.106.33.150]
3 29 ms 15 ms 15 ms i [194.106.32.12]
4 36 ms 15 ms 15 ms 195.66.226.125
5 28 ms 18 ms 17 ms 216.239.46.173
6 28 ms 27 ms 29 ms 216.239.49.254
7 61 ms 82 ms 26 ms 216.239.48.50
8 41 ms 27 ms 28 ms 216.239.49.62
9 42 ms 26 ms 27 ms www.google.co.uk [66.102.11.99]

Trace complete.

While on my linux machine, it looks like this:


traceroute to www.google.co.uk (66.102.11.99), 30 hops max, 38 byte packets
1 mygateway.ar7 (192.168.1.1) 16.426 ms 0.666 ms 0.515 ms
2 i-194-106-33-150.freedom2surf.net (194.106.33.150) 37.110 ms 12.480 ms 12.112 ms
3 i-194-106-32-12.freedom2surf.net (194.106.32.12) 374.915 ms 244.150 ms 323.124 ms
4 195.66.226.125 (195.66.226.125) 15.291 ms 13.454 ms 13.040 ms
5 216.239.46.173 (216.239.46.173) 15.666 ms 13.928 ms 14.058 ms
MPLS Label=553449 CoS=5 TTL=1 S=0
6 216.239.49.254 (216.239.49.254) 28.157 ms 24.079 ms 24.870 ms
MPLS Label=436235 CoS=5 TTL=1 S=0
7 216.239.48.50 (216.239.48.50) 25.132 ms 22.455 ms 23.431 ms
8 216.239.49.62 (216.239.49.62) 29.337 ms 26.788 ms 25.354 ms
9 * * *
10 * * *
11 * * *
...and so on up to 30


Now, I'm a bit clueless when it comes to networking, but this looks to me like it's getting within one hop of the end of the route and failing. Any ideas what's going on?

Miro

crackers
2005-02-05, 12:03 PM CST
You may need to disable IPv6 in your network settings. Just use the seach link at the top of the page and you'll get quite a few hits/hints on how to do this.

sailor
2005-02-05, 12:09 PM CST
I just happened to have that info available
For some systems this helps with internet speed.
Edit /etc/modprobe.conf
Add these lines to the bottom of the file:

alias net-pf-10 off
alias ipv6 off

mirowalker
2005-02-05, 04:39 PM CST
Thanks for the replies. I've made the changes as suggested, by sailorsgh and firefox certainly seems to be working properly now.

However, I'm not convinced that the problem is altogether fixed - lynx still doesn't work (hangs at: "Making Connection to www.google.co.uk") and traceroute is still doing the same thing. On top of this, the RedHat Network tool (up2date?) doesn't seem to work either (just sits there). Is there anything else I need to do? I'll keep digging through the other similar posts for the time being. Many thanks for your help.

Miro

mirowalker
2005-02-05, 05:44 PM CST
Having followed the advice given to disable ipv6 and still seen problems with yum and lynx, I've tried digging some more through these forums and found a reference to using 'tcpdump' to troubleshoot this sort of issue (which seems pretty common)! I'd say I understood about 2% of what came out of tcpdump, but what I managed to glean from a post by another user is that entries marked 'AAAA' indicate that ipv6 is involved, whereas 'A' entries are ipv4...?

If I now point firefox at google, I get:

00:18:20.958151 arp who-has mygateway.ar7 tell www.google.com
00:18:20.958469 arp reply mygateway.ar7 is-at 00:0f:3d:b9:88:d1
00:18:20.958491 IP www.google.com.32778 > mygateway.ar7.domain: 62521+ A? www.google.co.uk. (34)
00:18:20.959316 IP www.google.com.32779 > mygateway.ar7.domain: 62123+ PTR? 1.1.168.192.in-addr.arpa. (42)
00:18:20.963416 IP mygateway.ar7.domain > www.google.com.32779: 62123- 1/0/0 PTR[|domain]
00:18:20.963719 IP www.google.com.32779 > mygateway.ar7.domain: 53293+ PTR? 101.1.168.192.in-addr.arpa. (44)
00:18:20.965207 IP mygateway.ar7.domain > www.google.com.32779: 53293- 1/0/0 (72)
00:18:20.979345 IP mygateway.ar7.domain > www.google.com.32778: 62521 4/9/9 CNAME[|domain]
00:18:21.064314 IP www.google.com.33070 > www.google.co.uk.http: S 3167398259:3167398259(0) win 5840 <mss 1460,sackOK,timestamp 6272608 0,nop,wscale 2>
00:18:21.067553 IP www.google.com.32779 > mygateway.ar7.domain: 17871+ PTR? 99.11.102.66.in-addr.arpa. (43)
00:18:21.069005 IP mygateway.ar7.domain > www.google.com.32779: 17871- 1/0/0 (73)
00:18:21.087186 IP www.google.co.uk.http > www.google.com.33070: S 3408984898:3408984898(0) ack 3167398260 win 8190 <mss 1460>
00:18:21.087322 IP www.google.com.33070 > www.google.co.uk.http: . ack 1 win 5840
00:18:21.087645 IP www.google.com.33070 > www.google.co.uk.http: P 1:482(481) ack 1 win 5840
00:18:21.129512 IP www.google.co.uk.http > www.google.com.33070: . ack 482 win 15810
00:18:21.156976 IP www.google.co.uk.http > www.google.com.33070: P 1:1376(1375) ack 482 win 15810
00:18:21.157168 IP www.google.com.33070 > www.google.co.uk.http: . ack 1376 win 8250
00:18:25.959564 arp who-has www.google.com tell mygateway.ar7
00:18:25.959624 arp reply www.google.com is-at 00:40:45:07:b1:05
and all is well - google appears fine. However, if I point lynx at it, I get:

00:35:43.584619 arp who-has mygateway.ar7 tell 192.168.1.101
00:35:43.584870 arp reply mygateway.ar7 is-at 00:0f:3d:b9:88:d1
00:35:43.610951 IP 192.168.1.101.32769 > mygateway.ar7.domain: 8822+ PTR? 1.1.168.192.in-addr.arpa. (42)
00:35:43.612371 IP mygateway.ar7.domain > 192.168.1.101.32769: 8822- 1/0/0 PTR[|domain]
00:35:43.612818 IP 192.168.1.101.32769 > mygateway.ar7.domain: 24908+ PTR? 101.1.168.192.in-addr.arpa. (44)
00:35:48.612206 arp who-has 192.168.1.101 tell mygateway.ar7
00:35:48.612246 arp reply 192.168.1.101 is-at 00:40:45:07:b1:05
00:35:48.612829 IP 192.168.1.101.32769 > mygateway.ar7.domain: 24908+ PTR? 101.1.168.192.in-addr.arpa. (44)
00:35:51.163048 IP 192.168.1.101.32770 > mygateway.ar7.domain: 19912+ AAAA? www.google.co.uk. (34)
00:35:51.181293 IP mygateway.ar7.domain > 192.168.1.101.32770: 19912 2/1/0 CNAME[|domain]
00:35:51.181543 IP 192.168.1.101.32770 > mygateway.ar7.domain: 22968+ A? www.google.co.uk. (34)
00:35:51.184365 IP mygateway.ar7.domain > 192.168.1.101.32770: 22968- 1/0/0 A 1.0.0.0 (50)
00:35:51.187712 IP 192.168.1.101.32770 > mygateway.ar7.domain: 14362+ AAAA? www.google.co.uk. (34)
00:35:51.189246 IP mygateway.ar7.domain > 192.168.1.101.32770: 14362- 1/0/0 (34)
00:35:51.191330 IP 192.168.1.101.32770 > mygateway.ar7.domain: 51936+ A? www.google.co.uk. (34)
00:35:51.193350 IP mygateway.ar7.domain > 192.168.1.101.32770: 51936- 1/0/0 A 1.0.0.0 (50)
00:35:51.195478 IP 192.168.1.101.32772 > 1.0.0.0.http: S 3900364698:3900364698(0) win 5840 <mss 1460,sackOK,timestamp 421741 0,nop,wscale 2>
00:35:53.617556 IP 192.168.1.101.32770 > mygateway.ar7.domain: 20904+ PTR? 0.0.0.1.in-addr.arpa. (38)
00:35:54.194935 IP 192.168.1.101.32772 > 1.0.0.0.http: S 3900364698:3900364698(0) win 5840 <mss 1460,sackOK,timestamp 424741 0,nop,wscale 2>
00:35:55.633306 IP mygateway.ar7.domain > 192.168.1.101.32769: 24908 ServFail- 0/0/0 (44)
00:35:55.633406 IP 192.168.1.101 > mygateway.ar7: icmp 80: 192.168.1.101 udp port 32769 unreachable
00:35:58.618395 IP 192.168.1.101.32770 > mygateway.ar7.domain: 20904+ PTR? 0.0.0.1.in-addr.arpa. (38)
00:36:00.194029 IP 192.168.1.101.32772 > 1.0.0.0.http: S 3900364698:3900364698(0) win 5840 <mss 1460,sackOK,timestamp 430741 0,nop,wscale 2>
00:36:04.632502 IP mygateway.ar7.domain > 192.168.1.101.32770: 20904 ServFail- 0/0/0 (38)
00:36:04.632583 IP 192.168.1.101 > mygateway.ar7: icmp 74: 192.168.1.101 udp port 32770 unreachable
00:36:12.192200 IP 192.168.1.101.32772 > 1.0.0.0.http: S 3900364698:3900364698(0) win 5840 <mss 1460,sackOK,timestamp 442741 0,nop,wscale 2>
00:36:26.578022 IP 192.168.1.101.32771 > 1.0.0.0.http: S 3834966094:3834966094(0) win 5840 <mss 1460,sackOK,timestamp 457129 0,nop,wscale 2>
00:36:31.577233 arp who-has mygateway.ar7 tell 192.168.1.101
00:36:31.577577 arp reply mygateway.ar7 is-at 00:0f:3d:b9:88:d1


Any ideas?

Cheers,

Miro