Hey David,


>W95(MTU=1500)-ethernet--(MTU=1006)eth0:Linux:diald(MTU1500)-phone-internet

Just curious, why did you have a MTU of 1006 in the first place?




>####  route -n  # list the routing table w/o DNS lookups
>Kernel routing table
>Destination     Gateway         Genmask         Flags MSS    Window Use Iface
>192.168.102.2   *               255.255.255.255 UH    1500   0        0 sl0
>205.197.102.56  *               255.255.255.255 UH    1500   0        0 ppp0
>192.168.102.0   *               255.255.255.0   U     1006   0       98 eth0
>127.0.0.0       *               255.0.0.0       U     3584   0       50 lo
>default         *               *               U     1500   0       18 ppp0
>default         *               *               U     1500   0       57 sl0

Eouch!  You know.. I bet the *majority* of you out there are
running TCP window sizes of "0".  Wanna SERIOUSLY increase the
performance on your internal LAN and Cablemodem users?  


>From [Section 14] of TrinityOS:

        http://www.ecst.csuchico.edu/~dranch/LINUX/TrinityOS.wri

----------------------------------
Network Optimization:

Both Slackware and Redhat, out of the box, do NOT optimize the TCP/IP window
size.  This can make a BIG difference with performance:

Redhat5:

        Edit "/etc/sysconfig/network-scripts/ifup" 
        and around lines 119 and 134, find the lines:

                "route add -net ${NETWORK} netmask ${NETMASK} ${DEVICE}"
                                                and
                "route add default gw ${GATEWAY} ${DEVICE}"

                                and change them to:

                "route add -net ${NETWORK} netmask ${NETMASK} window 8192 ${DEVICE}"
                                                and
                "route add default gw ${GATEWAY} window 8192 ${DEVICE}"


        Slackware:

                Edit /etc/rc.d/rc.inet1" and around lines 47 
                and 49, find the following text (note:  your 
                setup might look a little different so make 
                any changes that are needed for your setup)

                "/sbin/route add -net ${NETWORK} netmask ${NETMASK} eth0"
                                                and
                "if [ ! "$GATEWAY" = "" ]; then
                   /sbin/route add default gw ${GATEWAY} netmask 0.0.0.0 metric 1
                                        fi"

                        and replace them with the following:

                "/sbin/route add -net ${NETWORK} netmask ${NETMASK} 
                        window 8192 eth0"
                                        and
                "if [ ! "$GATEWAY" = "" ]; then
                   /sbin/route add default gw ${GATEWAY} netmask 0.0.0.0 
                        window 8192 metric 1 
                fi"

----------------------------------



>####  cat /etc/diald.conf
>mode ppp
>connect "chat -f /etc/chat_script.cstone"
>device /dev/cua1
>speed 115200


David, a serial rate of 115200 is INVALID in Linux.  You have to use
the SETSERIAL command and set the specific COM port to a rate of 38400 
and then set the "SPD_VHI" switch to get 115200.  This is also in the
TrinityOS doc.

--David
.----------------------------------------------------------------------------.
|  David A. Ranch - Remote Access/Linux/PC hardware      [EMAIL PROTECTED]  |
!----                                                                    ----!
`----- For more detailed info, see http://www.ecst.csuchico.edu/~dranch -----'
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]

Reply via email to