*INCREDIBLY* slow internet access. Urgent help required.
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
*INCREDIBLY* slow internet access. Help greatly appreciated.
OK I need help. My linux (dial-up) internet connection has reached nauseatingly slow speeds and I can't work out why. It has some quick spurts here and there but for the most part it's really slow (we're talking <1.0 kb/s!). Usually it starts of reasonably (after a reboot) and then gets steadily slower regardless if I log off and log back on.
A little background info... I run Debian stable/testing with kernel 2.4.21 (custom). My pppd version is 2.4.1. I've recently reinstalled my entire Linux system. I WAS running kernel 2.4.20 just fine with very fast (for a dial-up) and stable speeds. After reinstall, I first tried the "vanilla" flavour (kernel 2.2.20) and all seemed to work fine. I compiled a custom kernel (2.4.21) and the internet speed went to the scheizehaus. Admittedly I didn't try through minicom. I kept getting VJ decompression errors. Obviously, I thought I did something wrong in the kernel config. So after unsuccessfully trying a few more times I ditched everything and reinstalled debian with the "bf24" flavour (kernel 2.4.18)... Same problem. Recompiled my 2.4.21 kernel... Same problem. I'm at wit's end here (Win XP works fine, btw).
After trawling the man pages and the internet (very slowly), I'm no closer to solving the problem. I've tried specifying novj and novjccomp in my setup to no avail. I've tried bsdcomp 15 15, deflate 15 15, nobsdcomp (didn't really want to try nodeflate). What annoys me is that I've never had to do any of these before. Also it seems that the 2.2.20 kernel can handle itself OK. I might have to sacrifice my ext3 file system and go back because these speeds are just plain STUPID. I can't post my kernel .config file (or anything else for that matter) but I'll be happy to email any files to any interested parties at a moments notice. If you wish me to do so my address is *********.
I'm really in need of help here.
Edit: all instances of the word "urgent" (<-- except this one) have been removed.
well first make sure that your serial cable is OK.
Bad cable may give you silly error and downspeed.
And decrease your MTU size to 1492 (ifconfig ppp0 mtu 1492) it may help, cuz your provider maybe add something to your packet so routers then need to fragment it (it greatly lower speed). To permanently decrease this option take a look in /etc/ppp. I can't tell you exactly where is the value for this option in it, because it changes depending distro.
But I tought about your problem, you said it appeared when you recompiled your kernel for the first time. There's several options in the kernel about PPP, maybe you enabled (or disabled?) something that were not required and this cause problem? There's several options about encryption and packet compression that can only be used if your provider use it. Maybe you should take a look at it and try different options set? It think it is in "Networking Option" Submenu.
NB : Using a different "flavor" of kernel is not the best idea since you don't even know what the kernel contain... What's about a real kernel recompilation, from source with options YOU choose?
Firstly my cable is OK because all is well in windows and kernel 2.2.20.
Secondly, I'll give the mtu idea a try. Sounds workable (but don't understand why changing kernels would affect this).
Thirdly, I've tried recompiling my kernel with all sorts of networking (and otherwise) options but couldn't get it to work. If you like email me and I'll send you a copy of my kernel .config file.
NB: I only installed the "flavours" from the installation cd (during debian installation). In debian you get to choose between a few different ones when you boot from the cd. This is no different to any other distro except that most distros don't give you any such options your stuck with whatever they give you. And yes I have done a real compilation from source. That's what caused all the trouble seemingly. I say seemingly because I've compiled the 2.4.20 kernel before with no problems. Now any 2.4.x kernel seems to cause errors with internet.
Wow, what a nice box you seem to have!!!
All SCSI eh?
I think you are missing some option in networking.
Enable Packet Socket : nmaper IO. (not sure what it does but it talks about network speed, what's your problem now.
Enable Socket Filtering
I think you should include the following option, instead of using them as modules (maybe your PPP forget to load a certain module?):
Include PPP Filtering
Include PPP Support for async serial line
Include PPP Support for syn TTY port
Include PPP Support Deflate Compression
and at my opinion, you should remove the following because these options have to be supported by your provider too:
Remove PPP Support BSD-Compress Compression
Remove Six bit SLIP Encapsulation
Well.... Tentatively, (let me stress the word tentatively) the problem seems to be solved. My ppp connections are now fast again and I've got a 2.4.21 kernel loaded (770k). Not quite as trim as I had it once but close enough. Mind you I did load soundcore into the kernel this time and not as a module.
What was the problem I hear you ask...? Short answer: dunno. Long answer: I downloaded the 2.2.20 kernel source and did "make oldconfig" to rip off the old settings (which seemed to work). I then used that as a basis to make by 2.4.21 kernel. Somehow it worked. I'll review the differences more closely later but I thought I'd let you all know that all is well again (seemingly). I have a theory that it may not be the kernel, in fact, that was the problem but one of the modules that I had loaded. As yet I don't know which one. Thanks all (elf and cees) for all your help/support.