LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-27-2005, 09:28 PM   #1
pfunk
Member
 
Registered: Jun 2002
Distribution: Suse, Redhat, Knoppix
Posts: 104

Rep: Reputation: 15
linux slow behind linksys router


My Suse Linux machine became very slow at browsing the web once i put it behind a linksys router. it times out more than half the time and is just sluggish whether i'm using konqueror or mozilla to browse the web.

Is there some router setting or something that I'm missing to get the speed back up to normal? thanks
 
Old 02-27-2005, 09:30 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
You might have a problem with your MTU size. What is it set to under linux?
 
Old 02-27-2005, 09:34 PM   #3
pfunk
Member
 
Registered: Jun 2002
Distribution: Suse, Redhat, Knoppix
Posts: 104

Original Poster
Rep: Reputation: 15
I typed ifconfig and under eth0 it said MTU 1500 and under lo: it said MTU 16346

How do I change that?
 
Old 02-27-2005, 10:34 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Try ifconfig eth0 mtu 1492

I think that's the proper syntax.
 
Old 02-27-2005, 10:37 PM   #5
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
DNS will probably be the issue. What do you have your DNS server set to?

The MTU issue is only set to 1492 if you are connecting to a DSL connection. Cable modems do not need to be set that way.

MrKnisely
 
Old 02-28-2005, 12:41 AM   #6
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
linksys uses 192.168.x.x. range. So, if you haven't changed that, just change your SUSE internet settings to reflect 192.168.1.1 (the router's address) as your DNS server as well as gateway, and you should be cooking with gas again. Is it a cable connection? Or, do you have to deal with PPPoE?
 
Old 02-28-2005, 10:48 AM   #7
pfunk
Member
 
Registered: Jun 2002
Distribution: Suse, Redhat, Knoppix
Posts: 104

Original Poster
Rep: Reputation: 15
Thanks vectordrake - using YAST i set up the gateway to be 192.168.1.1 and then I edited /etc/resolv.conf so that nameserver is also 192.168.1.1 since I couldn't find a way to do that with YAST.
After I did that I restarted eth0 interface.

That was definitely an improvement - before, about half the time I clicked on a link it would just "time out". Now that doesn't seem to be happening at all but it's still only about half as fast or less then when the computer is plugged directly into the DSL box.

Thanks for the help so far.
 
Old 02-28-2005, 05:31 PM   #8
pfunk
Member
 
Registered: Jun 2002
Distribution: Suse, Redhat, Knoppix
Posts: 104

Original Poster
Rep: Reputation: 15
mtu settings

I also tried messing with the MTU size - to be clear i am using DSL and the linksys router plugs into the wall phone jack. i have two computers hooked up to the router - a windows xp box and a suse linux box. when i set the mtu to 1492 it didn't seem to change anything. bummer.

when i plug my suse linux computer directly to the dsl box then it's blazing fast. so the connection is ok. and the windows box seems fine when it's plugged into the router.

any other ideas?
 
Old 02-28-2005, 06:43 PM   #9
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
My idea is to take that crapola Linksys box and throw it as far as you can! I'll throw mine with it! Most consumer grade Linksys routers have a small cache and can't handle a lot of traffic. I know that when I bittorrent with mine, I cannot do more than one torrent at a time, or the router will cause my cable modem to lose sync with the server.

But seriously, no one really mentioned why you'd want to change the MTU. Its because of the header in the packet required if you're using PPPoE to connect. If your DSL is a static IP, you shouldn't have to worry about that so much. Butm if that's how you connect, you might want to make the packet size a bit smaller, like 1484. OR, perhaps you might want to try connecting to your router with a static IP.

...and one more thing to try. I had this problem with Windows XP and my Linksys 10/100 ethernet card. The driver for the Adamtec chipset got stuck in full duplex mode and the router couldn't handle the traffic, so the connection was unbearably slow (I have a super fast connection and this was slower than 28k dialup). When I set the card to function in 1/2 duplex, I got all my speed back.

A few good networking sites for the average Joe:

http://www.homenethelp.com/
http://www.practicallynetworked.com/
http://www.howstuffworks.com/home-network.htm


Good luck.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Networking in Linux with Linksys Router dsai Linux - Networking 1 06-15-2005 09:49 AM
linksys router in linux reefa Linux - Networking 7 03-14-2005 02:19 AM
LINKSYS vs LINUX Router? bryan1138 Linux - Security 1 01-19-2004 03:53 PM
linux network with linksys router iaredam Linux - Networking 3 08-22-2003 07:58 PM
Linux Windows Linksys Router? Tuzinor Linux - Networking 0 12-02-2001 09:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration