TIP: Click on subject to list as thread! ANSI
echo: linuxhelp
to: Randall Parker
from: John Beckett
date: 2006-07-30 12:11:18
subject: Re: Window Scale handling on Windows 2000

From: John Beckett 

Randall Parker

wrote in message news::
> But George Sherwood asked how to do that you told him to do:
>    echo -n 0 > /proc/sys/net/ipv4/tcp_timestamps

I think Mike probably had a copy/paste issue - he pasted the line for
timestamps when he meant to do the window scaling setting.

My understanding is:
- The tcp_timestamps setting does not affect the problem.
- The tcp_window_scaling setting FIXES the problem.

You only need the tcp_window_scaling command from below, but I'm listing
commands for all three TCP options that Linux uses  (thanks Google).

# Change current settings (0 = turn off TCP option).
echo -n 0 > /proc/sys/net/ipv4/tcp_sack echo -n 0 >
/proc/sys/net/ipv4/tcp_timestamps echo -n 0 >
/proc/sys/net/ipv4/tcp_window_scaling

# Persistent settings (will apply after boot).
# You can use '/' or '.' as delimiter.
sysctl -w net.ipv4.tcp_sack=0
sysctl -w net.ipv4.tcp_timestamps=0 sysctl -w net.ipv4.tcp_window_scaling=0

You would probably need to do the above while logged on as root (e.g. use
su). I guess you would need both an 'echo' and a 'sysctl' if you want to
change the current settings and make them persistent.

John

--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270 5030/786
@PATH: 379/45 1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.