I am behind a SyGate gateway that is under Windows 98. The internet
access is provided by DirePC. Previously, 90% of all downloads stalled.
The problem is in the communication from the client to the server, the
server wasn't receiving the ack TCP messages from the client. See the
attached output of tcpdump.
ack 4489777
That line is repeated often. It is the acknowledgment by the client to
the server to say that he has received the TCP packets.
I suspect that the gateway is at fault (Winblows). But to make a long
story short, the solution to the problem is to put the following in
/etc/rc.local:
echo 134900 >> /proc/sys/net/core/rmem_default
echo 134900 >> /proc/sys/net/core/rmem_max
echo 0 >> /proc/sys/net/ipv4/tcp_timestamps
echo 1 >> /proc/sys/net/ipv4/tcp_sack
echo 1 >> /proc/sys/net/ipv4/tcp_window_scaling
ifconfig eth0 mtu 1460
To make this easier for users, in drakconnect, you could ask "Are you
using DirecPC?" and if they are, add those lines to rc.local.
--
"I used to be indecisive. Now I'm not so sure."
Gordon Hollenbeck | Email: [EMAIL PROTECTED]
AKA: Thrawn / Jabber: [EMAIL PROTECTED]
ICQ: 60306035 / MSN: [EMAIL PROTECTED]
---------------+----------------------------------------
Phoenix Online Open Souce, 3D, MMORPG
The Next Wave Looking for web host
http://www.murtos.com/po/