LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   DSL-connection is much slower than in windows (https://www.linuxquestions.org/questions/mandriva-30/dsl-connection-is-much-slower-than-in-windows-182522/)

OggVorbis 05-17-2004 02:17 PM

DSL-connection is much slower than in windows
 
Hello,
I'm a linux newbie using Mandrake 10.0 Community with KDE.
I have a DLS internet connection, my ethernet card is connected with a router, the router is connected with the DSL-modem.
Using Mandrake 10, I had internet access right from the start, but the connection speed appears slower to me than while runnig windows (I'm not a native speaker, please excuse my poor english..):
When I download larger files via http I have rates of about 80 KB/s, which is fine and as fast as it was in winndows, but using ftp my downloads never went faster than max. 25 K.
Also BitTorent appears much slower to me, in windows I had rates of about 55 K max., and running linux I only get rates of 22 K max.
In the Mandrake Control Center my connection is defined as "lan-connection", choosing "ADSL-connection" requires password and username, but the router provides these things to my provider.

When I type "ifconfig", I get:
-----
eth0 Protokoll:Ethernet Hardware Adresse 00:40:F4:7C:9D:99
inet Adresse:192.168.0.101 Bcast:192.168.0.255 Maske:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:109021 errors:0 dropped:0 overruns:0 frame:0
TX packets:127338 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0
RX bytes:49025128 (46.7 Mb) TX bytes:53328816 (50.8 Mb)

lo Protokoll:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1280 errors:0 dropped:0 overruns:0 frame:0
TX packets:1280 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0
RX bytes:533322 (520.8 Kb) TX bytes:533322 (520.8 Kb)
------

"route" gives me:
---
Kernel IP Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
---
As you will probably guess, my IP is 192.168.0.101, the router has 192.168.0.1 .

Do you have any idea why my connection is slower than in windows?
Thanks for your help.

doug_s 05-17-2004 03:29 PM

This question comes up alot when people switch to Mandrake 10. If you are using the 2.6 kernel add the following line to /etc/modprobe.conf :

alias net-pf-10 off

I think you have to reboot after adding this to get the speedup. Also if you use harddrake to reconfigure your hardware sometimes modprobe.conf gets reinitialized and you have to do this again.

OggVorbis 05-17-2004 03:55 PM

I boot the kernel

2.4.25-2mdk

I tried your advice, but I didn't change anything.
Any other idea?
Thanks + greetings

OggVorbis 05-19-2004 10:34 AM

I found the solution, a user of a german Mandrake-forum told it to me:

I changed the MTU-size with

ifconfig eth0 mtu 1492
(as "root")

After that the FTP-speed was 4x as high.
Greetings and thanks for giving me advice!


All times are GMT -5. The time now is 09:35 AM.