LinuxQuestions.org

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

b0nd 02-27-2006 07:17 AM

Internet speed is slower on linux
 
hello all,
i've dual boot system for last one year but facing this problem for the first time.
the speed which i'm getting on linux is just half of what i'm getting on windows.
Quote:

root@darkstar:~# cat /etc/resolv.conf
nameserver 202.56.215.6
nameserver 202.56.230.6
root@darkstar:~#
Quote:

root@darkstar:~# ifconfig ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:59.144.132.98 P-t-P:203.101.126.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:5312 errors:0 dropped:0 overruns:0 frame:0
TX packets:5734 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:4953775 (4.7 Mb) TX bytes:788537 (770.0)
default gateway in:
Quote:

root@darkstar:~# cat /etc/rc.d/rc.inet1.conf
# Default gateway IP address:
GATEWAY="203.101.126.1"
regards

b0nd 02-27-2006 10:08 AM

i checked the proxies configuration.........its direct connection and not using any proxy.

Poetics 02-27-2006 10:22 AM

Could you do an FTP speed test from both Windows and Linux and post the results, as well as a traceroute (tracert in windows) to the host? It could show problem areas.

linmix 02-27-2006 10:43 AM

Go with poetics advice, but just on the off chance... are you suer you aren't running any services in the background that are using the network? (cron, apt, ...)

BinJajer 02-27-2006 11:05 AM

If network speed is lower in linux than in windows, this can mean either:
-Proxy, which is not set in windows
-Services running in background
-Crappy client software (eg. Konqueror works faster than firefox for some)
-Wrong /etc/resolv.conf config
-Misconfigured Inetd (Say, you have a static IP adress, but you put DHCP before your config anyways.)

THIS CANNOT BE A KERNEL ISSUE! Take it easy, and don't accuse Linux as an OS.

EDIT: Oh, you have slackware! Then you probably already know wbout what I wrote above...

cs-cam 02-27-2006 06:04 PM

Cause Slackware users know everything right? Trust me, while in general it may have a knowledgable userbase, there are a fair number of threads around here that stand to prove that Slackware has it's quota of idiots as well ;)

Could this problem be as simple as disabling IPv6 support?

rickh 02-27-2006 07:14 PM

Hey cs-cam,
This thread is outside my area of expertise, and it does appear that the originating user is at least sharp enough to ask a coherent question. Nevertheless, I like your attitude (and your signature). In case you haven't run across the 'Demotivators' web site, here's a line for you ... There are no dumb questions, but there are a lot of inquisitive idiots.

MasterC 02-27-2006 07:15 PM

Quote:

Originally Posted by cs-cam
Cause Slackware users know everything right?

:D Absolutely! ;)

I sadly thought the same thing (they run Slack, they must be able to get a few of the things done that I will suggest).

Anyway, my thoughts:

Have you actually done a speed test? Sometimes people confuse how long a page loads with the speed of the connection, the 2 are not completely related. A browser may wait until the entire (or a good portion) of the page is downloaded before displaying it. So, running a FTP transfer is a good way to see if speeds are truly the same or something else is going on.

Cool

Dymitry 02-27-2006 07:31 PM

I have had this exact same problem in the past ( transfer speed being exactly half of what it is now, with the same modem ) twice. The first time, it was fixed by using setserial to change the modem to ttyS4 instead of ttyS3 and then changing the same setting under Kppp; the second time, by switching to a newer kernel.

b0nd 02-27-2006 10:23 PM

hello all,
thanx for the replies.
i checked the FTP transfer (tried downloading "iso" from finland mirror). Its same for both, windows as well as linux.
But why browsing is slow. Earlier it was fast enough.
i'm using mozilla firefox on both o/s.
i tried with konqueror also but again browsing is slow.

and i haven't started any background service.

regards

masand 02-27-2006 10:36 PM

What i think is that there is prblem with the name server

After you have connected in windows

do a

ipconfig /all

this wil show you your "name servers"

see to it that you are using the same ones in the Linux configuraton.

regards

rickh 02-27-2006 10:57 PM

If it was Debian, I'd say check the /etc/resolv.conf file.

There should NOT be any IPs in there that do not belong to a legitimate dns server.

Especially one that looks like 192.168.x.x

masand 02-27-2006 11:06 PM

if it was any Linux distro you wil aslways check the /etc/resolv.conf file

he could have any private IP address like 192.168... if he was running a caching nameserver on that private ip address

cs-cam 02-28-2006 05:12 AM

He's already posted his /etc/resolv.conf and it looks okay. I guess nobody saw the actual suggestion that followed the first part of my post, I don't know enough about how IPv6 is setup, it wouldn't effect transfer speed, only the time to make the connection. Seems to explain the symptoms in my mind, someone wanna back me up or kick me in the balls?

b0nd 02-28-2006 09:06 PM

Quote:

Originally Posted by cs-cam
He's already posted his /etc/resolv.conf and it looks okay. I guess nobody saw the actual suggestion that followed the first part of my post, I don't know enough about how IPv6 is setup, it wouldn't effect transfer speed, only the time to make the connection. Seems to explain the symptoms in my mind, someone wanna back me up or kick me in the balls?

How IPv6 could be the culprit ???
if its there then it was already there b'coz i didn't compiled the kernel and on the same kernel i'm facing the problem.

and the DNS setting in windows is the same as in linux.
FTP transfer is same as it was earlier but browsing is slower.
any further suggestions ???

regards


All times are GMT -5. The time now is 04:41 PM.