LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-08-2011, 03:09 PM   #1
XcyTheR
LQ Newbie
 
Registered: Oct 2011
Posts: 9

Rep: Reputation: Disabled
Most Webpages take forever to load (Same on all browsers)


I am using Linux Ubuntu 10.10 (Maverick Meerkat), and I'm struggeling to connect to certain webpages (Well... Most of them. Almost all of them)

I have searched for hours on this forum (among others) for answers, but im yet to find a solution that work.

I can connect to google (www.google.co.za) and I can do a complete search, but I cant access the pages that google suggests. When I enter the page, it just continue to load the webpage. It seems to be stuck at:
"Waiting for <webpage address here>" or
"Connected to <webpage address here>"

I have tried 3 different browsers, Firefox, Google Chrome, and Seamonkey. Pidgin wont connect to my IM accounts either.

I have successfully installed quite a few programmes through the 'Synaptic Package Manager' and 'Ubuntu Software Centre' though.

I am required to work on Linux, and I need to use my laptop (on which this linux is installed) for my university studies, and programming. Please, please any help would be greatly appreciated!!
 
Old 10-08-2011, 03:11 PM   #2
XcyTheR
LQ Newbie
 
Registered: Oct 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
I should have also mentioned, that im sending this post via another computer, using Windows.

Im also using a DSL connection to connect via iBurst (www.iBurst.co.za) to the internet.
 
Old 10-09-2011, 05:16 PM   #3
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,751

Rep: Reputation: 188Reputation: 188
What DNS server are you using? Googles seem to work well. See if using them speeds things up.
8.8.8.8 or 8.8.4.4

I don't use ubuntu but probably something like
Code:
cat /etc/resolve.conf
You can have multiple DNS servers listed in your resolve.conf
 
Old 10-11-2011, 06:16 AM   #4
XcyTheR
LQ Newbie
 
Registered: Oct 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
I did edit this configuration file before, because it seemed to help another guy on another thread. I did change it to the DNS address he suggested, but it didn't work. I opened the file just now, and it was empty :/ The only line in the file was

# Generated by NetworkManager

I am going to change it to the addresses you mentioned above, test it, and come back to you. Thanks for the help!
 
Old 10-13-2011, 01:45 PM   #5
XcyTheR
LQ Newbie
 
Registered: Oct 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
I Did change the contents of the resolv.conf file, but it seems that the Network Manager overwrites the values I manually entered with some random addresses..
 
Old 10-14-2011, 02:56 PM   #6
markseger
Member
 
Registered: Jul 2003
Posts: 241

Rep: Reputation: 25
A quick look with google pointed me to http://forums.fedoraforum.org/showthread.php?t=179398
which says if you don't want network manager to overwrite resolv.conf, turn it off. I don't know anything about network manager so this is where my help stops
-mark
 
Old 10-14-2011, 08:02 PM   #7
jefro
Guru
 
Registered: Mar 2008
Posts: 11,006

Rep: Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356
Run a network speed test to a few of the sites.

Use dig or nslookup to check web pages and maybe put a few of your favorites in the hosts file.
 
Old 10-15-2011, 09:28 AM   #8
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 4,052

Rep: Reputation: 484Reputation: 484Reputation: 484Reputation: 484Reputation: 484
I think you should find out first whether this is a general, DNS, or protocol problem. Unfortunately web browsers seem not to reflect their status anymore in the status bar, like "looking up hostname...", "sending request...." etc.

Try this:

Open a terminal window and issue these commands:
ping www.openerp.org
If it returns (almost) instantly with:
PING www.openerp.org (216.8.179.25) 56(84) bytes of data.
you can rule out a system-wide DNS problem.
If this response follows fast as well:
64 bytes from ptr-216-8-179-25.ptr.nextdimensioninc.com (216.8.179.25): icmp_req=1 ttl=46 time=115 ms
you don't have a general speed problem.

If it takes long (say 10 seconds or so) before coming up with the IP address, try this:
ping 80.69.84.152
If this response is fast, but the name translation above is not, suspect DNS.

If both are fast, try this:
Code:
telnet www.linxtech.net 80
Trying 80.69.84.152...
Connected to linxtech.net.
Escape character is '^]'.
get /
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>501 Method Not Implemented</title>
</head><body>
<h1>Method Not Implemented</h1>
<p>get to / not supported.<br />
</p>
<hr>
<address>Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch Server at www.linkels.net Port 80</address>
</body></html>
Connection closed by foreign host.
Boldface is what yo have to enter.
If you get stuck inside telnet, use CTRL-] close to get out.

Let's see where the tests fail.

jlinkels
 
Old 10-15-2011, 11:04 AM   #9
XcyTheR
LQ Newbie
 
Registered: Oct 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
#############
@ Markseger #
#############

I did read through that thread, but I don't think it is my DNS that's the problem to be honest. . And I don't like the idea to disable my NetworkManager, though, because I don't know of any other 'Network Managers' to manage my network, and because I'm still kind of new to Linux, I definitely won't be successful in trying to configure the network manually

Thanks for the help though! I'l keep an eye out for maybe another network manager, that may resolve the issue I'm having..?
 
Old 10-15-2011, 11:38 AM   #10
XcyTheR
LQ Newbie
 
Registered: Oct 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
#########
@ Jefro #
#########


I used the 'dig' and 'nslookup' command on four sites (Two sites that load successfully and another two that won't load).
The two sites that loaded successfully are
1) www.google.com
2) www.cs.up.ac.za (University Website for computer science)

The other two that wouldn't load, are:
3) www.facebook.com
4) www.linuxquestions.org

##################################################################################################
Posting the 'dig' command's result on all four websites
--> dig www.google.com

root@XcyTheR:~# dig www.google.com

; <<>> DiG 9.7.1-P2 <<>> www.google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13527
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 4, ADDITIONAL: 4

;; QUESTION SECTION:
;www.google.com. IN A

;; ANSWER SECTION:
www.google.com. 319485 IN CNAME www.l.google.com.
www.l.google.com. 204 IN A 74.125.233.18
www.l.google.com. 204 IN A 74.125.233.19
www.l.google.com. 204 IN A 74.125.233.20
www.l.google.com. 204 IN A 74.125.233.16
www.l.google.com. 204 IN A 74.125.233.17

;; AUTHORITY SECTION:
google.com. 319697 IN NS ns4.google.com.
google.com. 319697 IN NS ns1.google.com.
google.com. 319697 IN NS ns2.google.com.
google.com. 319697 IN NS ns3.google.com.

;; ADDITIONAL SECTION:
ns1.google.com. 146749 IN A 216.239.32.10
ns2.google.com. 146760 IN A 216.239.34.10
ns3.google.com. 146760 IN A 216.239.36.10
ns4.google.com. 146778 IN A 216.239.38.10

;; Query time: 70 msec
;; SERVER: 196.2.97.124#53(196.2.97.124)
;; WHEN: Sat Oct 15 17:35:09 2011
;; MSG SIZE rcvd: 268


##################################
--> dig www.cs.up.ac.za

root@XcyTheR:~# dig www.cs.up.ac.za

; <<>> DiG 9.7.1-P2 <<>> www.cs.up.ac.za
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47288
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 5, ADDITIONAL: 4

;; QUESTION SECTION:
;www.cs.up.ac.za. IN A

;; ANSWER SECTION:
www.cs.up.ac.za. 7254 IN CNAME phugeet.cs.up.ac.za.
phugeet.cs.up.ac.za. 76910 IN A 137.215.98.25

;; AUTHORITY SECTION:
up.ac.za. 63085 IN NS hippo.ru.ac.za.
up.ac.za. 63085 IN NS padme.up.ac.za.
up.ac.za. 63085 IN NS erudite.up.ac.za.
up.ac.za. 63085 IN NS inet.up.ac.za.
up.ac.za. 63085 IN NS rain.psg.com.

;; ADDITIONAL SECTION:
inet.up.ac.za. 59552 IN A 137.215.101.16
rain.psg.com. 10389 IN A 147.28.0.34
padme.up.ac.za. 63085 IN A 137.215.48.16
erudite.up.ac.za. 63085 IN A 137.215.8.16

;; Query time: 68 msec
;; SERVER: 196.2.97.124#53(196.2.97.124)
;; WHEN: Sat Oct 15 17:39:56 2011
;; MSG SIZE rcvd: 245


##################################

--> dig www.facebook.com
root@XcyTheR:~# dig www.facebook.com

; <<>> DiG 9.7.1-P2 <<>> www.facebook.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25553
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;www.facebook.com. IN A

;; ANSWER SECTION:
www.facebook.com. 112 IN A 69.63.189.26

;; AUTHORITY SECTION:
www.facebook.com. 65631 IN NS glb2.facebook.com.
www.facebook.com. 65631 IN NS glb1.facebook.com.

;; ADDITIONAL SECTION:
glb1.facebook.com. 681 IN A 69.171.239.10
glb2.facebook.com. 3190 IN A 69.171.255.10

;; Query time: 71 msec
;; SERVER: 196.2.97.124#53(196.2.97.124)
;; WHEN: Sat Oct 15 17:36:40 2011
;; MSG SIZE rcvd: 120


##################################
--> dig www.linuxquestions.org

root@XcyTheR:~# dig www.linuxquestions.org

; <<>> DiG 9.7.1-P2 <<>> www.linuxquestions.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58089
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 6

;; QUESTION SECTION:
;www.linuxquestions.org. IN A

;; ANSWER SECTION:
www.linuxquestions.org. 48 IN A 75.126.162.205

;; AUTHORITY SECTION:
linuxquestions.org. 60967 IN NS ns1.mydyndns.org.
linuxquestions.org. 60967 IN NS ns2.mydyndns.org.
linuxquestions.org. 60967 IN NS ns3.mydyndns.org.
linuxquestions.org. 60967 IN NS ns4.mydyndns.org.
linuxquestions.org. 60967 IN NS ns5.mydyndns.org.

;; ADDITIONAL SECTION:
ns1.mydyndns.org. 62 IN A 204.13.248.76
ns2.mydyndns.org. 73924 IN A 204.13.249.76
ns2.mydyndns.org. 52469 IN AAAA 2600:2002::76
ns3.mydyndns.org. 74062 IN A 208.78.69.76
ns4.mydyndns.org. 79019 IN A 91.198.22.76
ns5.mydyndns.org. 76998 IN A 203.62.195.76

;; Query time: 76 msec
;; SERVER: 196.2.97.124#53(196.2.97.124)
;; WHEN: Sat Oct 15 17:38:59 2011
;; MSG SIZE rcvd: 263


##################################################################################################
##################################################################################################

That was the results of the 'dig' command, i dont have any idea what they mean, though..
The following is the results of the 'nslookup' command:

##################################################################################################
##################################################################################################
--> nslookup www.google.com

root@XcyTheR:~# nslookup www.google.com
Server: 196.2.97.124
Address: 196.2.97.124#53

Non-authoritative answer:
www.google.com canonical name = www.l.google.com.
Name: www.l.google.com
Address: 74.125.233.18
Name: www.l.google.com
Address: 74.125.233.19
Name: www.l.google.com
Address: 74.125.233.20
Name: www.l.google.com
Address: 74.125.233.16
Name: www.l.google.com
Address: 74.125.233.17


##################################
--> nslookup www.cs.up.ac.za

root@XcyTheR:~# nslookup www.cs.up.ac.za
Server: 196.2.97.124
Address: 196.2.97.124#53

Non-authoritative answer:
www.cs.up.ac.za canonical name = phugeet.cs.up.ac.za.
Name: phugeet.cs.up.ac.za
Address: 137.215.98.25


##################################
--> nslookup www.facebook.com

root@XcyTheR:~# nslookup www.facebook.com
Server: 196.2.97.124
Address: 196.2.97.124#53

Non-authoritative answer:
Name: www.facebook.com
Address: 66.220.153.23


##################################

--> nslookup www.linuxquestions.org

root@XcyTheR:~# nslookup www.linuxquestions.org
Server: 196.2.97.124
Address: 196.2.97.124#53

Non-authoritative answer:
Name: www.linuxquestions.org
Address: 75.126.162.205


##################################################################################################
##################################################################################################

If that mean anything to you that might be useful to me, that would be awesome! Thanks for the help
 
Old 10-15-2011, 11:51 AM   #11
XcyTheR
LQ Newbie
 
Registered: Oct 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
############
@ jlinkels #
############


I did what you said, and the command

ping www.openerp.org

did reply instantly with

root@XcyTheR:~# ping www.openerp.org
PING www.openerp.org (216.8.179.25) 56(84) bytes of data.

64 bytes from ptr-216-8-179-25.ptr.nextdimensioninc.com (216.8.179.25): icmp_req=1 ttl=50 time=358 ms
64 bytes from ptr-216-8-179-25.ptr.nextdimensioninc.com (216.8.179.25): icmp_req=2 ttl=50 time=407 ms
64 bytes from ptr-216-8-179-25.ptr.nextdimensioninc.com (216.8.179.25): icmp_req=3 ttl=50 time=367 ms

#
# I removed the rest of the packet information, don't think it's necessary in this context
#
--- www.openerp.org ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 9002ms
rtt min/avg/max/mdev = 355.730/364.633/407.594/14.748 ms


I then pinged 80.69.84.152, as you said, and this was the result, almost instantly:

root@XcyTheR:~# ping 80.69.84.152
PING 80.69.84.152 (80.69.84.152) 56(84) bytes of data.
64 bytes from 80.69.84.152: icmp_req=1 ttl=53 time=348 ms
64 bytes from 80.69.84.152: icmp_req=2 ttl=53 time=332 ms
64 bytes from 80.69.84.152: icmp_req=3 ttl=53 time=368 ms
^C
--- 80.69.84.152 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 332.981/349.976/368.317/14.457 ms


####################################################################################

I did the second test,

root@XcyTheR:~# telnet www.linxtech.net 80
Trying 80.69.84.152...
Connected to linxtech.net.
Escape character is '^]'.
get /
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>501 Method Not Implemented</title>
</head><body>
<h1>Method Not Implemented</h1>
<p>get to / not supported.<br />
</p>
<hr>
<address>Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch Server at www.linkels.net Port 80</address>
</body></html>
Connection closed by foreign host.


####################################################################################

If this information means anything, and triggers a solution, it would be greatly appreciated!
 
Old 10-15-2011, 12:06 PM   #12
teebones
Member
 
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 500

Rep: Reputation: 56
It's not a DNS issue, thus changing the dns to google's, is not helping at all. (since lookup already work)
what it does sound like is a data transfer problem.

Some pointers:

- You're blocking (maybe without knowing) traffic on your side to pass through e.g. firewall/proxy etc, router problem.
- Your DSL is very instable, let your provider check the line
- Your provider has issues with traffic transfers (e.g. transits, peers etc), let them check.
- If you're connected wireless, check the quality of the signal.

Last edited by teebones; 10-15-2011 at 12:10 PM.
 
Old 10-15-2011, 12:30 PM   #13
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 4,052

Rep: Reputation: 484Reputation: 484Reputation: 484Reputation: 484Reputation: 484
It doesn't ring a bell... any bell.

I tend to say it is not a DNS problem.

The only thing I can say is that I think the ping times are a bit long. Even in this internet retarded place my ping time is half of yours.

Although I am quite reluctant to give this advice, I would recommend that you try another linux computer from the place you are now and having this problem. I am not trusting Ubuntu 100% and fault diagnosis in Ubuntu is often difficult due to the "hide the complexity" layers.

You might be able to get into your DSL moden with a web browser. Provided you know the password. You should be able to see you raw line speed, transmission errors etc.

If you don't have your own DSL connection, but a shared one check if no one else is uploading constantly (for example using a bit torrent). This would block outgoing traffic effectively. You simple http request wouldn't come through. Bt that is in contradiction with the test you did telnet on port 80.

Once it happened to me that I had a bit torrent running which occupied all connections I was granted by my ISP. A single request for a web page would come through. Normal requests for web pages, which often make 8-32 connections simultaneously wouldn't get me the web page completely.

Maybe something similar happening to you? Someone else knows how to diagnose this in Ubuntu?

jlinkels
 
Old 10-15-2011, 01:10 PM   #14
cynwulf
Senior Member
 
Registered: Apr 2005
Distribution: OpenBSD, Slackware
Posts: 1,218

Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375
I've only skimmed the thread, but I wouldn't rule out an IPv6 related problem - try disabling it first, if only to rule it out.
 
Old 10-15-2011, 01:29 PM   #15
XcyTheR
LQ Newbie
 
Registered: Oct 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
############
@ Teebones #
############


I think it might have to do something to do with blocking traffic, although I'm really not sure how to test if that's the problem..

The connection self is not unstable at all, because I use the same modem for Windows (The computer I'm using now to post this). It is wireless (www.iBurst.co.za), and my area has 100% coverage..

I'm only experiencing the problem on Linux, "Ubuntu 10.10 Maverick Meerkat"
 
  


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
Web browsers "waiting for" forever on almost all sites jdifslack Slackware 7 01-31-2008 10:29 AM
I canīt load some webpages into the caffeine vizio Fedora 3 01-03-2007 09:43 AM
how can linux load webpages faster? fakie_flip Linux - Software 8 07-01-2006 12:54 PM
X takes forever to load mrclisdue Linux - General 12 04-19-2006 08:43 PM
can't load webpages chrisrouleau Linux - Networking 4 01-02-2006 11:06 PM


All times are GMT -5. The time now is 12:40 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration