Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ slatach(ADMN) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

netstat(TC)

ifconfig(ADMN)

rc2(ADM)

route(ADMN)

slip(ADMP)


 slattach(ADMN)                  19 June 1992                  slattach(ADMN)


 Name

    slattach - attach serial lines as network interfaces

 Syntax

    slattach [{+|-}{c|e|i|m mtu|v} ...] ttyname sourceaddress
    destinationaddress [baudrate]

 Description

    The slattach command is used for assigning the tty line ttyname to a
    network interface, as well as for defining the network sourceaddress and
    destinationaddress values.  The ttyname parameter is the name of the
    serial line over which Serial Line IP (SLIP) will run; if the ttyname
    parameter does not begin with /dev/, then /dev/ will be prepended to
    ttyname.  The optional baudrate parameter is used to set the speed of
    the connection. If not specified, the default value of 9600 will be used.

    Only the super-user may attach (or detach) a network interface.

 Options

    The following optional arguments can be used to "fine tune" how the
    network interface is to behave:

    {+|-}c         turns the TCP/IP header compression mode on or off (the
                   default setting is off).

    {+|-}e         turns the automatic detection and the use of TCP/IP header
                   compression on or off (the default setting is off).  If
                   the flag +c is given, then this flag (either +e or -e) has
                   no effect.  When the flag +e is given, the SLIP module
                   will not send any compressed TCP/IP headers until it has
                   received and successfully uncompressed a compressed TCP/IP
                   packet.


                   _________________________________________________________________________
                      NOTE  If both ends of the connection use the flag +e
                      and if neither end uses +c, then the TCP/IP header
                      compression mode will never get turned on because
                      neither end will take the initiative to send a
                      compressed packet.
                   _________________________________________________________________________


    {+|-}i         turns the suppression of ICMP packets on or off (the
                   default setting is off).

    {+|-}m mtu     sets the maximum transmission unit ("mtu") of the network
                   interface to mtu (the default "mtu" value is 296).


                   _________________________________________________________________________
                      NOTE  It is suggested that the mtu value for the
                      TCP/IP packet header be 40 plus some power of 2
                      (for example, 296 = 40 + 2**8).
                   _________________________________________________________________________


    {+|-}v         print or do not print various messages about the interface
                   as it is being brought up (the default setting is to not
                   print messages).

    To detach a SLIP interface, simply kill the slattach process and then use
    the following command to remove this Point-to-Point route from the Rout-
    ing Table:

       route delete destinationaddress gatewayaddress


 Examples


       slattach contty 128.211.8.4 128.211.8.186
       slattach +c /dev/contty percival zapranoth 2400


 Diagnostics

    The following error messages may occur:

    the specified interface does not exist,

    the requested address is unknown, or

    a non-privileged user tried to alter the configuration for an interface.


 See also

    netstat(TC), ifconfig(ADMN), rc2(ADM), route(ADMN), slip(ADMP),
    RFC 1055, RFC 1144


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