Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

kill(1)

route(8)



  slippy(8)                           CLIX                           slippy(8)



  NAME

    slippy - Builds STREAMS slip stack, maintains asynchronous connection with
    port

  SYNOPSIS

    slippy -?

    slippy -a loc_addr -A rem_addr -p port -s subnetmask [-b baud_rate] [-c
    comp_mask] [-m]

    slippy -n loc_name -N rem_name -p port -s subnetmask [-b baudrate] [-c
    comp_mask] [-m]

  FLAGS

    -?             Lists the command line usage for the slippy command.

    -a loc_addr    Specifies the Internet address of the local host.  Either
                   this flag or the -n flag is required.

    -A rem_addr    Specifies the Internet address of the remote host.  Either
                   this flag or the -N flag is required.

    -n loc_name    Specifies the Internet name of the local host.  Either this
                   flag or the -a flag is required.

    -N rem_name    Specifies the Internet name of the remote host.  Either
                   this flag or the -A flag is required.

    -p port        Specifies the port number, which must be a valid port
                   number in the range of 0-2.  This flag is required.

    -s subnetmask  Specified the subnet mask, expressed in Internet address
                   format.  This flag is required.

    -b baudrate    Specifies the baud rate.  The baudrate parameter must be
                   one of the following: 1200, 2400, 4800, 9600.  On some
                   systems, a baud rate of 19200 can be specified.  The
                   default baud rate used is 9600.  A baud rate of 9600 or
                   faster is recommended.  This flag is optional.

    -c comp_mask   Specifies the comp_mask, which can be 1, 2, 3, 4, 5, 6, or
                   7, as follows:

                   1 - Do compression.

                   2 - Receive compressed (default).

                   3 - Combination of 1 and 2.



  2/94 - Intergraph Corporation                                              1






  slippy(8)                           CLIX                           slippy(8)



                   4 - Drop ICMP packets.

                   5 - Combination of 1 and 4.

                   6 - Combination of 2 and 4.

                   7 - Combination of 1, 2, and 4.

                   The only part of the network packet that is compressed is
                   the TCP/IP packet headers.  The default setting (2)
                   specifies that the packets be received in compressed form.
                   This means that when a remote node using SLIP compression
                   sends packets to the local node, the local node is able to
                   receive the compressed packets.  The other mask options are
                   for the local node to perform the compression (1), and for
                   the local node to drop Internet Control Message Protocol
                   (ICMP) packets (4).  When a compression mask of 1 is
                   specified, the local node will attempt to use compression
                   for all SLIP network connections that it initiates.  When 4
                   is set, the ICMP packets are never transmitted.  Functions
                   that use the ICMP protocol (such as the ping command) will
                   not work with this compression mask.  To combine any two or
                   three of the compression mask settings, add the setting
                   numbers.

    -m             Indicates that a modem line is being used.  Auxiliary port
                   0 is the only port that can be used with a modem.  This
                   flag is required when using a modem.

  DESCRIPTION

    The slippy command is used to build the STREAMS slip stack and to maintain
    the asynchronous Serial Line Internet Protocol (SLIP) connection. The SLIP
    protocol is a standard that defines a point-to-point connection between
    two TCP/IP hosts.  SLIP provides the ability to send TCP/IP packets across
    a serial line.  It adheres to RFC 1055.  The SLIP protocol can be used to
    connect a workstation to a terminal server port that allows that
    workstation to become a host on the network.  SLIP can also be used to
    connect a workstation through a modem to a remote site.

    Each SLIP network must have its own Internet network address.  The
    workstation or server node on the SLIP network must have its own unique
    Internet network name and address for the SLIP network.  For example, a
    workstation that uses TCP/IP over Ethernet and SLIP will have an Internet
    name (such as jack) and address (such as 129.135.200.100) for its Ethernet
    network, and a different Internet name (such as jacksl) and address (such
    as 129.135.21.1) for its SLIP network.  The remote end of the SLIP point-
    to-point network will use the same Internet network address (129.135.21.2)
    as the local end.  If the remote end of the SLIP network is to be a
    terminal server or X terminal, refer to the terminal server or X terminal
    documentation for setting up SLIP on that end.



  2                                              Intergraph Corporation - 2/94






  slippy(8)                           CLIX                           slippy(8)



    If the workstation or server is connected to a local area network and a
    SLIP network, and another node on the LAN wants to use the SLIP network as
    its gateway, then the non-SLIP node will have to issue a route add command
    to add the SLIP network to its TCP/IP routing table.  An example of the
    route add command is as follows:

    route add net 129.135.21.0  129.135.200.100  2

    Another method for connecting to the SLIP network is to edit the non-
    SLIP's /etc/gateways file to include the SLIP network.  The following line
    is an example of what to add to the /etc/gateways file:

    net 129.135.21.0 gateway 129.135.200.100 metric 1 passive

    In order to stop and restart slippy with a different configuration, key in
    the following command:

    kill -2 slippy_pid

    Do not use the kill -9 command because that way does not do an orderly
    clean up and resulting SLIP operations may not work properly.

  FILES

    /etc/gateways
           List of distant gateways.

  EXAMPLES

    1.  The following example is for a 19200 baud modem SLIP LAN 20 connection
        between local node 129.135.20.1 and remote node 129.135.20.2 using
        serial port 0.  The ampersand (&) at the end runs this command is
        background mode.

        slippy -p0 -m -a 129.135.20.1 -A 129.135.20.2 -s 255.255.255.0 -b 19200 &


    2.  The following example is for a 9600 baud SLIP connection between the
        local node localas2 and the remote node remoteas1 using serial port 2.
        The ampersand at the end runs the command in background mode.

        slippy -p2 -a localas2 -A remoteas1 -s 255.255.255.0 &


  DIAGNOSTICS

    config: local name is too long
           The Internet name given on the command line is more than 30 bytes.

    Bad ret from sscanf for local inet addr: inetaddr
           The Internet address must be in the nnn.nnn.nnn.nnn format.



  2/94 - Intergraph Corporation                                              3






  slippy(8)                           CLIX                           slippy(8)



    Bad value for field of local inet addr: nnn
           Each component of the Internet address must be within the 0 to 255
           range.

    Bad value for baud rate: rate

    Good ones are: 1200,2400,4800,9600,19200
           Bad input data.

    Bad value for compress mode: mode
           The compress mode must be specified as a number from 1 to 7.

    Bad port number on command line
           The port number must be specified as 0, 1, or 2.

    Bad ret from sscanf for subnet mask: mask
           The subnet mask must be specified in the nnn.nnn.nnn.nnn format.

    Bad value for field of remote inet addr: nnn

    Bad value for field of local inet addr: nnn
           Each field of the Internet address must be in the 0 to 255 range.

    Local inet name or address missing on command line
           Required input data missing.  The -a or -n flag must be specified.

    Remote inet name or address missing on command line
           Required input data missing.  The -A or -N flags must be specified.

    net subnet mask missing on command line
           Required input data missing.

  EXIT VALUES

    The slippy commands exits with a value of 0 if successful, or a -1 if an
    error occurs.

  RELATED INFORMATION

    Commands: kill(1), route(8)














  4                                              Intergraph Corporation - 2/94




Typewritten Software • bear@typewritten.org • Edmonds, WA 98026