LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Internet speed is slower on linux (https://www.linuxquestions.org/questions/linux-newbie-8/internet-speed-is-slower-on-linux-420017/)

masand 02-28-2006 11:31 PM

Well it might not be right to compare FTP transfer for the problem of Browsing

rudraa,can you clarify on this.

Do you have problem in visiting/browsing new sites or with the download speed.

The former can be caused due to problem with DNS server , while once the DNS Server is queried then the downlaod speed will not matter for DNS server

regards

nx5000 03-01-2006 04:04 AM

Sure it can be a kernel misconfiguration problem, but NOT a kernel problem if its a recent one.
Things to also check:
->PPP : PPP echoes, PMTU discovery, bad MTU
->TCP : Bad rwin (default is OK and browser little page doesn't care), Window scaling (default is OK), Select ACKnowledgment (default is OK)
->Check the differences of this webpage in windows/linux : http://www.dslreports.com/stest/0
->Incorrect routing table (route -n)
->IRQ conflict (cat /proc/interrupts), wrong driver for your Ethernet card
->Bad network (this should be the case if windows is ok, but who knows. try ping -n <ipofgateway>, try ping -n <ipofgoogle>, try ping -n <ip of dns>)
->What constantly the logs (tail -f /var/log/message)
->Try to use wget on Linux and try also on windows, print the complete header + timing ( is the page cached only if using IE?)
->Launch tcpdump or ethereal. you will need some knowledge but this step can replace all others
I've always found linux network faster or same as windows.

b0nd 03-01-2006 11:49 AM

Quote:

Originally Posted by masand
Well it might not be right to compare FTP transfer for the problem of Browsing

rudraa,can you clarify on this.

Do you have problem in visiting/browsing new sites or with the download speed.

The former can be caused due to problem with DNS server , while once the DNS Server is queried then the downlaod speed will not matter for DNS server

regards

ya i've problem in visting/browsing the new sites and once the site is open the browsing within the site is good enough.
But as i stated earlier that in windows (#ipconfig/all) i found the same DNS server settings as i'm using on linux.
or should i ask my ISP about the DNS server ?

regards

masand 03-01-2006 10:18 PM

Well I can be sure that your ISP won't know much about that too.

Do you specify the DNS manually or automatically

what do you in your resolv.conf and what do you get when u do

dig yahoo.com

dig google.com

b0nd 03-03-2006 11:34 AM

Quote:

Originally Posted by masand
Well I can be sure that your ISP won't know much about that too.

Do you specify the DNS manually or automatically

what do you in your resolv.conf and what do you get when u do

dig yahoo.com

dig google.com

today i asked my ISP about the DNS servers. They said that all are working fine.
and yes i specified DNS manually..........u can check my earlier posts.
the entries in resolv.conf has also been posted earlier.


Quote:

root@bond:~# dig yahoo.com

; <<>> DiG 9.2.3 <<>> yahoo.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56672
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 5, ADDITIONAL: 1

;; QUESTION SECTION:
;yahoo.com. IN A

;; ANSWER SECTION:
yahoo.com. 106 IN A 66.94.234.13
yahoo.com. 106 IN A 216.109.112.135

;; AUTHORITY SECTION:
yahoo.com. 172799 IN NS ns3.yahoo.com.
yahoo.com. 172799 IN NS ns4.yahoo.com.
yahoo.com. 172799 IN NS ns5.yahoo.com.
yahoo.com. 172799 IN NS ns1.yahoo.com.
yahoo.com. 172799 IN NS ns2.yahoo.com.

;; ADDITIONAL SECTION:
ns1.yahoo.com. 172239 IN A 66.218.71.63

;; Query time: 110 msec
;; SERVER: 202.56.230.6#53(202.56.230.6)
;; WHEN: Fri Mar 3 23:00:59 2006
;; MSG SIZE rcvd: 165

root@bond:~#
the IP in bold is the entry in /etc/resolv.conf.

one more thing i found. This linux system is a gateway for my laptop to access internet. and browsing as well as downloading on laptop is perfect.

any further suggestions ?

regards

b0nd 03-03-2006 11:46 AM

Thanks Mr. masand.
your "dig" command gave me the idea.
after running dig twice, once for yahoo and second time for google, i found that only 202.56.230.6 was in use and not the 202.56.215.6.
and the entry of 202.56.215.6 was first in /etc/resolv.conf. I commented the 202.56.215.6 for a while........and now everything is fine.
so this DNS was the culprit.

Thanks to all the concerned guys too.

regards

masand 03-05-2006 10:35 PM

great :)

so you see ,go by the basics and you will spot the probllem.

But are u still sure that the primary DNS and secondary DNS were same in windows OS as well

or you just did not notice about the 1st and the second choice

regards


All times are GMT -5. The time now is 06:35 PM.