Additional remarks and comments about TFSLIP
============================================

12 October 97  M. Mller, HB9CTB

This document describes a few additional aspects of TFSLIP which are only
partly covered in the original documentation by Luis Fdo. y Jos Carlos EB7CJO.
This includes:
- getting the Service Pack 1 version of DSCRIPT
- tuning TCP/IP for optimum performance on a radio network
- adjusting the Web browser


1) Getting the Service Pack 1 version of DSCRIPT from Microsoft's web page
--------------------------------------------------------------------------

With Service Pack 1 for Windows 95, Microsoft also released a new version of
DSCRIPT, the combined SLIP / scripting software for modem connections under
Windows 95. Although TFSlip 1.2 includes script file compatible with the
older version, we recommend upgrading since some of the new features
like response timeout handling greatly add to the stability of TFSlip.

If you have of OSR2 version of Windows 95, the corresponding CD already
includes the new version. See the TFSlip documentation for details.

*** WARNING ***
    MAKE SURE YOU INSTALL THE CORRECT LANGUAGE VERSION OF DSCRIPT! Never
    try to install the English version on a non-English system! If you
    do, some files in your Accessories folder will have garbled DOS aliases...
 
To download the U.S. English version from the web:
- go to http://www.microsoft.com/windows95/info/admintools.htm
- read the instructions
- follow the link labelled "Dial-Up SLIP and scripting support". DSCRIPT will
  then be downloaded as a self extracting zip archive. Put it in a temporary
  directory, and double klick to extract.
- install as described below.

To download an international version:
- got to http://www.microsoft.com/windows/SOFTWARE/localize/localize.htm
- follow the link for your desired language
- follow the link for "Information Systems Professionals" at the very bottom of
  the page
- create a new temporary folder on your hard disk
- DSCRIPT is usually (but not necessarily) part of the last disk of the set
  (Disk 13 in most languages). Download it to the new temporary folder.
- disk13.exe is a self extracting zip archive. Extract its contents by double
  clicking it. The subdirectory "admin\componts\dscript\netsetup" will be
  created in the temporary folder which will contain all necessary install
  files.

To install DSCRIPT:
  Install it by starting the Software control panel (via Start Menu > Setting
  > Control panel > Software). Select the "Windows Setup" tab, klick the
  "Diskette" button, then "Search". Navigate into the subdirectory containing
  the install files (admin\componts\dscript\netsetup either on the Win95 CD or
  in the temporary directory in which you extracted the downloaded archive);
  then select the INF file which is there and klick OK.


2) Tuning TCP/IP for optimum performance on a radio network
-----------------------------------------------------------

To get the Windows 95 TCP/IP stack to work stable with TFSlip, some internal
parameters need to be retuned:

- MTU must be reduced to 236 so the IP packets properly fit into an AX.25
  packet with its size limited to 256 bytes.
- the Default Rreceive Window must be lowered to 1960 to account for the
  lower MTA size and to prevent buffer overflow (as we have no flow control)
- Responses are relatively slow (2 to 20 seconds typical, depending on
  configuration). Unfortunately, timeout values of the Win95 TCP/IP stack
  cannot be varied, but connect and data retry counts can be incremented.
- TTL can be lowered to 64 or less. This speeds up detection of a possible
  routing loop.

All these modifications need to be stored in the registry. To make things easier
for you the two .reg files that come along with this document do all the necessary
work: "Tfslip.reg" will set suitable values for TFSlip; "Modemip.reg" will reset
these values to their default suitable for most PPP or SLIP based modem
connections. However, before using them YOU MUST MAKE SURE THE FILES MATCH YOUR
PC'S CONFIGURATION, as follows.

First step: verify correct adapter number

WARNING: This test requires running RegEdit, which can damage the system's
integrity if not handled correctly. If you are not familiar with RegEdit,
do not use it!

WARNING: Double clicking a .REG file will immediately execute it. To edit a .REG
file under Explorer, klick on the file with the right mouse button, and select Edit
in the pop-up menue.

- Run Regedit, and navigate to the key "HKEY_LOCAL_MACHINE\System\CurrentControlSet
  \Services\Class\NetTrans". There you should see a subkey labelled "0000", "0001"
  and so on. In most configurations (with no network adapter card installed), you
  will only see the "0000" subkey.
- From this point, search for entries reading "IPAddress = "0.0.0.0"". You should
  find one occurrence, usually in the "0000" subkey.
  - If you found another subkey (e.g. "0001") containing above value, YOU NEED TO
    ADJUST THE SUPPLIED .REG FILES TO POINT TO THE CORRECT KEY.
  - If you did not find the entry at all, dial-up networking has probably not yet
    been installed.
  - If you found multiple entries containing the value, you need to figure out
    the correct subkey otherwise.

Second step: verify defaults in Modemip.reg

Modemip.reg resets the configuration values of the TCP/IP stack to ther default
values as published by Microsoft (see Microsoft KB article Q158474, for details).
While this is fine for most systems, you will run into trouble with Modemip.reg
if your current TCP/IP stack needs a modified parameter for whatever reason.

To check for non-standard settings:

- look at Modemip.reg with an editor
- run Regedit, and compare the actual registry entries with the file. Normally
  none of the entries of the file will be present in the registry, but if one
  if present and contradicts with the entry in the file, you need to adjust
  "Modemip.reg" accordingly.

Third step: use the reg files

Now you should be all set to switch between TCP/IP configuration by just double
klicking the mouse. Alternatively you can add the two reg files to the Start
menu and run them from there. However note:

- you need to REBOOT for the new values to take effect!
- Before using the reg files for the first time, backup the Registry, and make
  sure everything else (network adapter card, Internet access, remote access to
  your office's computer etc.) runs as it did before.

3) Adjusting your WWW browsers settings, and other things
---------------------------------------------------------

Depending on how your browser is configured, you need to reconfigure it as
follows:

- If you normally use a SOCKS proxy server, turn it off
- If you use a HTTP proxy, either turn it off manually or configure
  Network 44.0.0.0 without proxy.
- Turn off autoload for images. This lowers the risk of buffer overflow within
  the TNC which may occur when the browser initiates several parallel sessions
  to retrieve all the images.
- DNS will considerably bring down performance, especially if the DNS server
  is more than one hop away. Usually it is better to work with IP numbers
  instead; if you do need to work with names, use a Hosts file. Also make
  sure DNS is turned off for the TFSlip connection, since some browsers do
  reverse name lookup.

Note: The serial (COM) interface of a PC running Windows programs requires 
a full wired hardware handshake. With TNC3, you have to connect the pins 4+5
on the 25 pin connector. Also, connect the pins 6+8+20. Otherwise, the SLIP
communication between TNC3 and PC will 'hang'.
  
