Index Index for
Section 8
Index Alphabetical
listing for S
Bottom of page Bottom of
page

slattach(8)

NAME

slattach - Attaches a serial line to a network interface

SYNOPSIS

/usr/sbin/slattach [+{c | e | i}] [-{c | e | i}] ttyname [baudrate]

OPTIONS

{+|-}c Enables (+) or disables (-) TCP header compression. {+|-}e Enables (+) or disables (-) automatic TCP header compression. If enabled and the remote system is using TCP header compression, TCP header compression is automatically enabled on the local system. If both local and remote systems have enabled this option, TCP header compression is not used. One system must force the use of TCP header compression. {+|-}i Enables (+) or disables (-) ICMP traffic suppression. If enabled, ICMP traffic (like that generated by ping(8)) is not allowed to pass over the SLIP connection. When the system is booted, all options are initially disabled. Once a option is enabled, it remains enabled until the system is rebooted or until another slattach command is issued with the option disabled.

OPERANDS

ttyname The name of any valid tty device in /dev. You can use either the full pathname such as /dev/tty01 or the name in /dev such as tty01. This operand is mandatory. baudrate Specifies the connection speed, for example: 9600. This operand is optional.

DESCRIPTION

The slattach command assigns a tty line to a network interface, allowing terminal devices to communicate across a network. The tty line is attached to the first available network interface (sl0, sl1, ...). Before issuing the slattach command, the network interface must already be configured with the local and remote addresses of each end of the SLIP connection (see ifconfig(8)). Only a person with superuser authority can attach a network interface. To detach the interface, use the ifconfig interface_id down command after terminating the slattach process. interface_id is the name that is shown by the netstat command.

NOTES

The slattach command requires the Serial Line Internet Protocol (SLIP), which the kernel must support. If making a SLIP connection to another Tru64 UNIX system, both systems must run slattach. If making a SLIP connection to a system not running the Tru64 UNIX operating system, the other system must support the SLIP protocol.

EXAMPLES

1. Use the following command to attach a tty device to a network interface: % /usr/sbin/slattach /dev/tty01 4800 This command attaches tty01 to a network interface to be used by the Serial Line Internet Protocol (SLIP). The connection speed is 4800 baud. 2. Use the following command to attach a tty device to a network interface at 19200 bits per second (bps) with TCP header,:enter: % /usr/sbin/slattach +c -i /dev/tty01 19200

FILES

/usr/sbin/slattach Specifies the command path /var/run/ttyxx.pid Contains the slattach process ID

SEE ALSO

Commands: netstat(1), ifconfig(8) Specifications: SLIP is described in RFC1055. TCP header compression is described in RFC1144.

Index Index for
Section 8
Index Alphabetical
listing for S
Top of page Top of
page