LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   new Slackware 13 install, slow internet (https://www.linuxquestions.org/questions/linux-networking-3/new-slackware-13-install-slow-internet-784443/)

eRJe 01-24-2010 02:30 PM

new Slackware 13 install, slow internet
 
Hi folks,

After installing Slackware 13 and configuring it as a router, I'm getting very slow internet speeds on my clients. It takes forever to connect to a website or downloading 100mb bin file also takes forever. On the Slackware box the speed is fine though. When I boot from my previous Slackware 12 drive, the speed on the clients is ok again.

I have compared config files from my old and new installation and haven't found a difference. from other posts I learnt that disabling IPv6 by adding it to the blacklist could help. But this didn't help me either. I have also compared a traceroute on both installations. This also doesn't show a (big) difference.

The only difference I have found is that in my Slackware 13 setup the following modules are loaded while with my old Slackware 12 lsmod is empty.

Code:

root@Server:~# lsmod
Module                  Size  Used by
xt_tcpudp              2620  81
ipt_MASQUERADE          2460  1
iptable_nat            4796  1
nf_nat_ftp              2492  0
nf_nat                16208  3 ipt_MASQUERADE,iptable_nat,nf_nat_ftp
nf_conntrack_ipv4      12520  16 iptable_nat,nf_nat
nf_defrag_ipv4          1532  1 nf_conntrack_ipv4
xt_DSCP                2876  34
xt_TCPMSS              3772  3
ipt_LOG                5344  45
ipt_REJECT              2780  0
iptable_mangle          2332  1
iptable_filter          2268  1
xt_multiport            2876  0
xt_state                1756  13
xt_limit                1824  49
xt_conntrack            3420  0
nf_conntrack_ftp        6880  1 nf_nat_ftp
nf_conntrack          53844  8 ipt_MASQUERADE,iptable_nat,nf_nat_ftp,nf_nat,nf_conntrack_ipv4,xt_state,xt_conntrack,nf_conntrack_ftp
ip_tables              10892  3 iptable_nat,iptable_mangle,iptable_filter
x_tables              13280  12 xt_tcpudp,ipt_MASQUERADE,iptable_nat,xt_DSCP,xt_TCPMSS,ipt_LOG,ipt_REJECT,xt_multiport,xt_state,xt_limit,xt_conntrack,ip_tables
pcmcia                33772  0
pcmcia_core            32016  1 pcmcia
agpgart                29256  0
ppdev                  7200  0
lp                      9316  0
parport_pc            24036  0
parport                30700  3 ppdev,lp,parport_pc
fuse                  54008  1
fan                    4064  0
thermal                15096  0
skge                  39180  0
forcedeth              54636  0
processor              38600  1 thermal
thermal_sys            10756  3 fan,thermal,processor
i2c_nforce2            6368  0
sg                    24912  0
rtc_cmos              10124  0
k8temp                  4156  0
rtc_core              15992  1 rtc_cmos
evdev                  9152  3
button                  5708  0
hwmon                  2104  2 thermal_sys,k8temp
rtc_lib                2332  1 rtc_core

The only thing I can think of is a missing option in the kernel. I have used the huge-smp from the Slackware DVD, assuming this would have all the important stuff enabled by default. It this right?

Some additional info:
eth0: nVidia Corporation MCP51 Gb onboard Gb NIC, connected to LAN (static)
eth1: 3COM 3C2000 Gb NIC, connected to cable modem (dhcp)
dhcpd is running to configure clients in the network
arno-firewall installed

files I have compared with my old (working) system:

/etc/resolv.conf
/etc/rc.d/rc.inet1.conf
/etc/dhcpd.conf
/etc/arno-iptables-firewall/firewall.conf
/etc/rc.d/rc.local

Any advice how and where to proceed would be very much appreciated!

Cheers,
Robbert

Lexus45 01-25-2010 09:10 AM

I set up a gate to a client.
I also used Slackware 13. I don't remember if I tested the speed, but they didn't complain about any problems. The kernel is also huge-smp, from CD.

Quote:

root@uksko:~# cat /etc/slackware-version
Slackware 13.0.0.0.0
root@uksko:~# lsmod
Module Size Used by
nf_nat_ftp 2492 0
nf_nat_irc 1852 0
nf_conntrack_ftp 6812 1 nf_nat_ftp
nf_conntrack_irc 4732 1 nf_nat_irc
cls_u32 6396 1
sch_htb 15484 1
ipv6 234388 10
xt_state 1756 2
xt_multiport 2876 1
xt_tcpudp 2620 5
iptable_mangle 2332 0
iptable_nat 4796 1
nf_nat 15976 3 nf_nat_ftp,nf_nat_irc,iptable_nat
nf_conntrack_ipv4 12328 5 iptable_nat,nf_nat
nf_conntrack 52500 8 nf_nat_ftp,nf_nat_irc,nf_conntrack_ftp,nf_conntrack_irc,xt_state,iptable_nat,nf_nat,nf_conntrack_ipv 4
nf_defrag_ipv4 1532 1 nf_conntrack_ipv4
iptable_filter 2268 1
ip_tables 10412 3 iptable_mangle,iptable_nat,iptable_filter
x_tables 12928 5 xt_state,xt_multiport,xt_tcpudp,iptable_nat,ip_tables
lp 9380 0
ppdev 7168 0
snd_au8810 40244 0
gameport 9380 2 snd_au8810
snd_ac97_codec 101216 1 snd_au8810
evdev 8960 2
snd_pcm 64996 2 snd_au8810,snd_ac97_codec
snd_timer 17920 1 snd_pcm
snd_page_alloc 7972 1 snd_pcm
ac97_bus 1372 1 snd_ac97_codec
snd_mpu401_uart 6076 1 snd_au8810
snd_rawmidi 18272 1 snd_mpu401_uart
snd_seq_device 6056 1 snd_rawmidi
snd 49764 7 snd_au8810,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
serio_raw 4896 0
soundcore 5472 1 snd
i2c_i801 8784 0
8139too 22012 0
mii 4380 1 8139too
intel_agp 25564 1
agpgart 28716 1 intel_agp
shpchp 31824 0
rtc_cmos 9548 0
rtc_core 15252 1 rtc_cmos
parport_pc 23940 1
rtc_lib 2332 1 rtc_core
parport 29768 3 lp,ppdev,parport_pc
thermal 15064 0
processor 33964 1 thermal
thermal_sys 10748 2 thermal,processor
button 5676 0
hwmon 1936 1 thermal_sys

eRJe 01-25-2010 09:20 AM

Hi Lexus45,

Thanks for your input.

I've been reading about the 3c940 driver, which is used by the 3com NIC. Seems to be causing a lot of problems with other people. Perhaps this is now also affecting me. Although the driver didn't give me a problem with my old Slackware 12 installation.

I'm currently trying to find out how I could ditch that driver and use an alternative instead.

Cheerz,
Robbert

eRJe 02-19-2010 10:41 AM

Well, comparing my old Slackware 12 installation with the new one, I was convinced that the 3com and the new driver combination was giving me troubles. Reading all sorts of similar problems with this 3com, gave me a pretty good feeling that my problems would disappear once I had the 3com replaced. So I bought a new Intel gigabit NIC, installed, rebuilt the kernel with the appropriate driver... Same problem!

Then I was hoping that the onboard NIC on my ASUS board was giving me this headache. Put back the 3com, together with the Intel NIC, disabled the onboard, rebuilt kernel... Same problem!

I'm out of idea's. When I open firefox to go to google, it takes anywhere between 5 en 20 seconds to load. Search commands seem to go faster and other website also load pretty fast. But not as fast as it used to...

Anyone some clever idea what I could check?

ps resolve.conf is configured by DHCP and is the same as on the old system


Thanks,
Robbert


All times are GMT -5. The time now is 01:23 PM.