Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
PROBLEM
In windows I have, due to tremendous nice network, about 300 KB/s to 800 KB/s
download upload speed. After some struggle in configuring my network card under
SuSe 9.2, KDE 3.3 on my PII 233 MMX, 128 MB, AOPEN motherboard ........
(for reference, look at newbie section for thread :
INTERNET PROBLEM REALTEK8139(Genius LAN GF100TXRII) )
.......I finally gained access to Internet.
The Problem however, is that now I only have about 500 B/s to 2.0 KB/s .
It is really frustrating to wait 20 seconds for a website to be properly setup
due to it's complex contents or whatever.
What did I already try before bugging you ?
-First of all the newbie section regarding configuring my card.
-Google search doesn't provide many precedents to my situation.
My profile
SuSe 9.2, KDE 3.3 on my PII 233 MMX, 128 MB, AOPEN motherboard,
Genius LAN GF100TXRII
Internet connection is through LAN, the university here provides awesome download upload speeds.
I am a newbie regarding Linux.
You need more information ?
Of course, i guess that you will not be able to answer me immediately due
to the little information I have provided you with.
I think a good start would be if you would give me a list of all commands
I should execute, which in your opinion provides more relevant information,
and I will post them as soon as possible.
basically, some linux kernel's use a tweaked tcp window scaleing value.
this improves network performance, however some brobken routers and firewall's rfsuse to forward these packets.
anways... the bottom line... run these commands once as root
those commands just write values to files, there will be no confirmation that changes were made.
the first command actually makes the change, the second command edits the boot script so that the change is made every time you boot. if you didnt manage to get the first command to work, then just do the second command, then re-boot.
Thank you very much for the information you have provided me with.
However, even though I did the commands and rebooted, I still am confronted
with the same problem.
I had the same results as XxSpaceBoyxX, the first command didn't work
because that file simply doesn't exist, and the second command did it's
work properly.
I have searched on this forum for similar cases as mine, but I guess
my problem is rather unique ???
Just a long shot, but I didn't install a firewall on my comp. this can't be it right ?
Internet connection
Here at the university we are connected to the Internet through LAN.
We have a very good download/upload rate here, about 300 KB/s --> 800 KB/s.
The connection from my comp. is traditionally with a wire.
Linux Distribution
SuSe 9.2 KDE 3.3.0
Kernel
Trying to find out....
How I had my Internet connection set up
First of all, I had deleted REALTEK from Yast.
Then I did the following :
and i used this to test it. ping 134.128.124.31 ping www google com
Of course, after rebooting I lost those settings.
So afterwards I ran Yast again, put in EXACTLY the same information
as I did before, and now it not only works, but the comp has memorized
my settings.
ROUTE
PHP Code:
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 134.184.124.0 * 255.255.255.0 U 0 0 0 eth0 link-local * 255.255.0.0 U 0 0 0 eth0 loopback * 255.0.0.0 U 0 0 0 lo default rt-124.vub.ac.b 0.0.0.0 UG 0 0 0 eth0
Strange default rt-124.vub.ac.b instead of 134.184.124.100.
The latter I had to manually put in myself.
Also, vub.ac.b doesn't make much sense, because our university website is www.vub.ac.BE IFCONFIG
I have tried to add domain 134.184.124.31, changing order of nameservers,
changing websites to WWW.x.x.x.
Also when I type in 134.184.250.7 into my webrowser I can't get any connection.
But if I do it with the other 134.184.15.13 I get to some PHP page or something.
There you can click server or information. When I click server I get the message : Host 134.184.124.31 REFUSED.
sysctlp.conf
PHP Code:
# Disable response to broadcasts. # You don't want yourself becoming a Smurf amplifier. net.ipv4.icmp_echo_ignore_broadcasts = 1 # enable route verification on all interfaces net.ipv4.conf.all.rp_filter = 1 # enable ipV6 forwarding #net.ipv6.conf.all.forwarding = 1 net.ipv4.tcp_default_win_scale = 0 ---> This last one is caused by the commandline I executed before. --->echo "net.ipv4.tcp_default_win_scale = 0" >> /etc/sysctl.conf
Now the following is huge. To make it easier for you, these are the ONLY changes I have tried :
PHP Code:
#***********SOME POSTS ADVISED TO CHANGE THIS BUT IT DIDN'T WORK OUT******************** alias net-pf-10 ipv6 #install net-pf-10 /bin/true #By uncommenting THIS line #****************************************************************************************************
#***********SOME POSTS ADVISED TO PUT IN THIS BUT IT DIDN'T WORK OUT******************** alias net-pf-10 off alias ipv6 off #**************************************************************************************************
Here it comes, but I guess the above info is more than enough....
Modprobe.conf
PHP Code:
# # Copyright (c) 1996-2002 SuSE Linux AG Nuernberg, Germany. # All rights reserved. # # Author: Hubert Mantel <mantel@suse.de>, 1996-2002 # # Configuration file for loadable modules; used by modprobe # # Please don't edit this file. Place your settings into # /etc/modprobe.conf.local instead. # # ######################################################################## # Aliases - specify your hardware ########################################################################
######################################################################## # only used for Mylex or Compaq Raid as module ########################################################################
######################################################################## # only needed for fifth and sixth IDE adaptor ########################################################################
######################################################################## # If you want to use the new autofs4 ########################################################################
# alias autofs autofs4
######################################################################## # For parallel port devices, uncomment the following two lines and # change "frpw" to the protocol type you use ########################################################################
######################################################################## # Options; these are examples; uncomment and modify the lines you need ########################################################################
######################################################################## # block dev aliases ########################################################################
alias block-major-1 rd alias block-major-2 floppy install block-major-3 /bin/true alias block-major-7 loop alias block-major-8 sd_mod alias block-major-11 sr_mod alias block-major-13 xd alias block-major-15 cdu31a alias block-major-16 gscd alias block-major-17 optcd alias block-major-18 sjcd alias block-major-20 mcdx install block-major-22 /bin/true alias block-major-23 mcd alias block-major-24 sonycd535 alias block-major-25 sbpcd alias block-major-26 sbpcd alias block-major-27 sbpcd alias block-major-28 sbpcd alias block-major-29 aztcd alias block-major-32 cm206 install block-major-33 /bin/true install block-major-34 /bin/true # network block device install block-major-43 /bin/true alias block-major-45 pd alias block-major-46 pcd alias block-major-47 pf alias block-major-117 evms
######################################################################## # char dev aliases ########################################################################
alias char-major-6 lp alias char-major-9 st alias char-major-10-130 softdog install char-major-10-134 /bin/true install char-major-10-135 /bin/true alias char-major-10-175 agpgart alias char-major-10-181 toshiba alias char-major-10-250 sonypi options sonypi minor=250 install char-major-15 /bin/true alias char-major-19 cyclades alias char-major-20 cyclades alias char-major-21 sg alias char-major-27 ftape install char-major-29 /bin/true alias char-major-36 netlink_dev # alias char-major-43 hisax # alias char-major-44 hisax # alias char-major-45 hisax install char-major-43 /bin/true install char-major-44 /bin/true install char-major-45 /bin/true alias char-major-48 riscom8 alias char-major-49 riscom8 alias char-major-67 coda alias char-major-75 specialix alias char-major-76 specialix alias char-major-81 videodev install char-major-81-0 /bin/true install char-major-81-1 /bin/true install char-major-81-2 /bin/true install char-major-81-3 /bin/true
alias char-major-83 vtx options vtx quiet=1
alias char-major-89 i2c-dev alias char-major-96 pt alias char-major-97 pg alias char-major-107 3dfx alias char-major-109 lvm-mod # remove this if sound is configured install char-major-116 /bin/true
######################################################################## # ppp over ethernet # the kernel 2.2 uses pppox # the kernel 2.4 uses pppoe ########################################################################
alias char-major-108 ppp_generic alias char-major-144 pppoe alias net-pf-24 pppoe
alias char-major-161 ircomm-tty alias char-major-162 raw
######################################################################## # USB ########################################################################
install char-major-166 /bin/true
######################################################################## # Moxa Multiport Serial Boards ########################################################################
alias char-major-172 moxa alias char-major-173 moxa
# options moxa type=2,,, baseaddr=0xdc000,,, numports=8,,, alias char-major-174 mxser alias char-major-175 mxser # options mxser ioaddr=0x180
#alias char-major-180 usbcore
alias InterMezzo intermezzo alias char-major-185 intermezzo
alias char-major-188 usbserial
alias char-major-195* nvidia alias char-major-206 osst alias char-major-212 /bin/true
alias binfmt-204 binfmt_aout alias binfmt-263 binfmt_aout alias binfmt-264 binfmt_aout alias binfmt-267 binfmt_aout alias binfmt-0064 binfmt_aout alias binfmt-0008 binfmt_aout
alias iso9660 isofs alias tty-ldisc-1 slip alias tty-ldisc-2 serio alias tty-ldisc-5 mkiss
# alias tty-ldisc-7 6pack install tty-ldisc-7 /bin/true
# IrDA alias tty-ldisc-11 irtty-sir
# alias ax0 mkiss install ax0 /bin/true # alias sp0 6pack install sp0 /bin/true alias slip0 slip alias sl0 slip alias slip1 slip alias sl1 slip
######################################################################## # the kernel 2.2 uses ppp.o as ppp driver, # the kernel 2.4 uses ppp_generic.o ########################################################################
alias ppp0 ppp_generic alias ppp1 ppp_generic alias tty-ldisc-3 ppp_async
alias plip0 plip alias plip1 plip
# Tunnel interfaces alias sit0 ipv6 alias gre0 ip_gre alias ipip0 ipip
alias ppp-compress-18 ppp_mppe alias ppp-compress-21 bsd_comp alias ppp-compress-24 ppp_deflate alias ppp-compress-26 ppp_deflate
alias net-pf-1 unix alias net-pf-3 ax25 # install net-pf-3 /bin/true alias net-pf-4 ipx # install net-pf-4 /bin/true alias net-pf-5 appletalk # install net-pf-5 /bin/true alias net-pf-6 netrom # install net-pf-6 /bin/true
#***********SOME POSTS ADVISED TO CHANGE THIS BUT IT DIDN'T WORK OUT******************** alias net-pf-10 ipv6 #install net-pf-10 /bin/true #By uncommenting THIS line #****************************************************************************************************
alias net-pf-11 rose # install net-pf-11 /bin/true alias net-pf-15 af_key alias net-pf-17 af_packet alias net-pf-31 bluetooth
alias bt-proto-0 l2cap alias bt-proto-2 sco alias bt-proto-3 rfcomm alias bt-proto-4 bnep
alias md-personality-1 linear alias md-personality-2 raid0 alias md-personality-3 raid1 alias md-personality-4 raid5 alias md-personality-7 multipath
alias tap0 ethertap alias tap1 ethertap alias tap2 ethertap alias tap3 ethertap alias tap4 ethertap alias tap5 ethertap alias tap6 ethertap alias tap7 ethertap alias tap8 ethertap alias tap9 ethertap alias tap10 ethertap alias tap11 ethertap alias tap12 ethertap alias tap13 ethertap alias tap14 ethertap alias tap15 ethertap
alias xfrm-type-2-50 esp4 alias xfrm-type-2-51 ah4 alias xfrm-type-2-108 ipcomp alias xfrm-type-10-50 esp6 alias xfrm-type-10-51 ah6 alias xfrm-type-10-108 ipcomp6
# don't try to reset isa-pnp cards on startup options isa-pnp isapnp_reset=0
# Bluetooth alias bt-proto-5 cmtp alias bt-proto-6 hidp
# end of common part for modprobe.conf # begin of i386 part for modprobe.conf
alias char-major-4 serial alias char-major-5 serial
alias parport_lowlevel parport_pc # options parport_pc io=0x378 irq=none,none # If you have multiple parallel ports, specify them this way: # options parport_pc io=0x378,0x278 irq=none,none
# Linux ACP modem (Mwave) alias char-major-10-219 mwave # options mwave dspirq=10 dspio=0x130 uartirq=3 uartio=0x2f8
# IBM thinkpad tpctl # see /usr/share/doc/packages/tpctl/ alias char-major-10-170 thinkpad # options thinkpad enable_smapi=0
# Linux-ABI alias char-major-30 abi-ibcs alias binfmt-0004 binfmt_coff alias binfmt-332 abi-ibcs alias binfmt-518 abi-ibcs alias binfmt-002c abi-ibcs alias personality-1 abi-ibcs alias personality-2 abi-ibcs alias personality-3 abi-sco alias personality-4 abi-wyse alias personality-5 abi-ibcs alias personality-7 abi-ibcs alias personality-13 abi-solaris alias personality-14 abi-uw7
#***********SOME POSTS ADVISED TO PUT IN THIS BUT IT DIDN'T WORK OUT******************** alias net-pf-10 off alias ipv6 off #**************************************************************************************************
# required for DRI support on SiS chips options sisfb mode=none mem=12288
# end of i386 part for modprobe.conf # please keep this at the end and add local modifications to modules.conf.local include /etc/modprobe.d include /etc/modprobe.conf.local
I hope I didn't provide too much irrelevant information.
Regards.
Whenever I open a website, it takes a while to load, i get about 650 B/s .
In Windows I get at least 50 KB/s. And this is for every computer on the LAN....
I guess my problem is not easy to solve.
All of the documentation I came up with, nobody had any remarks on them,
so I guess they must be OK. I really have no idea what to do next,
are there any more commands I can try then I already did ?
Someone any suggestions of as to what might be wrong ?
Is my problem unsolvable through the forums, and
Should I try other linux version ?
Should I change network card ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.