I swear Ubuntu networking is broken somehow, and for the life of me, I can't figure it out.
Back on my old laptop I have Ubuntu 7.10 and a Dlink wireless card that uses the Atheros madwifi drivers. No matter what I try, large downloads in firefox/wget/fetch, etc just hang. The bitrate starts our grap, then nose dives into nothing. Same goes for uploads to Flickr. If I implement rate limiting on the upload, or on the downloads using the --limit-rate in wget, if works, and stays working.
This happened when I connect to either of my two wireless routers. Never a problem on XP.
Now that I have the new Macbook pro, I'm running Parallels and an instance of Ubuntu 7.10, which now sees network as a Realtek wired connection. Yet again, large downloads bitrate nosedives, then hangs. Of course, downloads in OSX, and XP and even FreeBSD on the same book speed along just dandy without these sorts of problems.
In a nutshell, what in the hell is going on here? I have no idea, and any posts to the Ubuntu forums go unanswered.
What an oddball issue.
Those symptoms sound like path MTU discovery going bad, and you send a full-sized packet that gets fragmented, and somewhere a router has the DF bit set. Or something like that, it's been a while.
The problem is that when you fling small packets around you never reach the upper limit that causes bad things to happen. So pings and this and that go fine. It's only when you start sending big packets that things go bad.
In short, try dropping the MTU on the interface down by 50 byte increments and see if throughput improves. If you wind up having halved the MTU, then it's something else, so you may as well go back to where you started from and try something different.
Re:MTU problems?
jk2addict on 2007-10-26T20:50:31
Good call. I'll give that a shot. I guess my next question is: why Ubuntu and not XP/OSX? Maybe their wireless drivers auto adjust better than madwifi.Re:MTU problems?
jk2addict on 2007-10-27T00:36:48
Nope. Didn't make a crap of different. I did check OSX. The mtu is 1500 over wireless.